diff --git a/README.md b/README.md index 38afca5fb..b5776752b 100644 --- a/README.md +++ b/README.md @@ -1,89 +1,52 @@ -# StreamETH Platform +# StreamETH Platform ๐ŸŽฅ๐ŸŒ -Welcome to the StreamETH platform repository! StreamETH produces world class Virtual Events and Marketing Content. This README provides you with all the necessary information to understand our platform, contribute to it, and get it up and running on your local machine. +Welcome to the StreamETH platform repository! StreamETH produces world-class Virtual Events and Marketing Content. This README provides you with essential information about our platform. ๐Ÿš€ -## Website Additions +If you are planning on hosting an event, you can contact us by filling this [Typeform](https://xg2nwufp1ju.typeform.com/to/UHZwa5M3?typeform-source=info.streameth.org) -For a better understanding of what StreamETH offers and how it functions, please visit our websites: - -- **Public Website**: [streameth.org](https://streameth.org) - Discover what StreamETH is all about and the unique features we offer. -- **Application Site**: [app.streameth.org](https://app.streameth.org) - Interact with the StreamETH application. - -## Documentation Resources - -You can find detailed documentation on StreamETH's features and architecture here: - -- **[Documentation Link](#)**: Dive deep into the technical details and operational aspects of StreamETH. - -## StreamETH-Platform Summary +## StreamETH-Platform Summary ๐Ÿ“‹ StreamETH is designed to provide a seamless and flexible platform for hosting and attending events virtually or in a hybrid setting. It features: -- **Interactive Sessions**: Engage with speakers and attendees through live. -- **Scalability**: Cater to events of any size, from small gatherings to large conferences. -- **Customisation**: Tailor the event experience to meet the specific needs of your audience. +- **Interactive Sessions**: Engage with speakers and attendees through live. ๐Ÿ’ฌ +- **Scalability**: Cater to events of any size, from small gatherings to large conferences. ๐Ÿ“ˆ +- **Customisation**: Tailor the event experience to meet the specific needs of your audience. ๐ŸŽจ -## Goals of StreamETH - -Our mission with StreamETH is to: +## Website Links ๐ŸŒ -- Offer a sustainable and inclusive event-hosting platform. -- Continuously enhance user experience with innovative features. -- Foster a community-driven approach to virtual event management. - -## Setup Quickstart - -Setting up the StreamETH platform for development is straightforward. Hereโ€™s a quick rundown: - -### Prerequisites - -- Node.js (v18 or above) -- Yarn -- Git - -### Environment Variables +For a better understanding of what StreamETH offers and how it functions, please visit our websites: -Create a `.env` file at the root of the project and include the following variables: +- **Public Website**: [streameth.org](https://streameth.org) - Discover what StreamETH is all about and the unique features we offer. ๐Ÿ  +- **Application Site**: [streameth.org/studio](https://streameth.org/studio) - Interact with the StreamETH application. ๐ŸŽฌ +- **Create an event with us**: [Create Event](https://xg2nwufp1ju.typeform.com/to/UHZwa5M3?typeform-source=info.streameth.org) -```bash -# Session secret key -SESSION_SECRET=Generate key: "openssl rand -base64 64" +## Goals of StreamETH ๐ŸŽฏ -# WalletConnect Project ID -NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_walletconnect_project_id_here +Our mission with StreamETH is to: -# Infura Project ID -NEXT_PUBLIC_INFURA_ID=your_infura_project_id_here +- Offer a sustainable and inclusive event-hosting platform. ๐ŸŒฑ +- Continuously enhance user experience with innovative features. ๐Ÿ’ก +- Foster a community-driven approach to virtual event management. ๐Ÿค +- Be the go-to event management platform for pre-production, production, and post-production ๐ŸŽฏ -# Sanity Studio API Key -NEXT_PUBLIC_STUDIO_API_KEY=your_Livepeer_studio_api_key_here +## Submitting Issues ๐Ÿ› -# Service Account Private Key for server-to-server interactions -SERVICE_ACCOUNT_PRIVATE_KEY=your_service_account_private_key_here +If you encounter any bugs, have feature requests, or want to suggest improvements, please open an issue on our GitHub repository by clicking [here](https://github.com/streamethorg/streameth-platform/issues). Your feedback helps us improve StreamETH for everyone. ๐Ÿ“ -# Service Account Email -SERVICE_ACCOUNT_EMAIL=your_service_account_email_here +## โš ๏ธ Important Notice for Developers ๐Ÿ› ๏ธ -# Google API Key for services like Google Maps, etc. -GOOGLE_API_KEY=your_google_api_key_here -``` +**Please Note**: At this time, StreamETH is not open for external code contributions. We are a small team focused on delivering a high-quality product, and we are not currently set up to manage external developer code contributions effectively. We appreciate your interest, but we kindly ask that you refrain from submitting pull requests or expecting to contribute code at this stage. ๐Ÿ™ -Make sure to replace your_..._here with your actual environment variable values. +However, we do welcome and appreciate [issue submissions!](https://github.com/streamethorg/streameth-platform/issues) If you encounter bugs ๐Ÿ›, have feature requests, or want to provide suggestions, please feel free to open an issue. Your feedback is valuable to us. ๐Ÿ›๐Ÿ’ก -### Running Locally +We plan to support full developer contributions in the future once we feel ready to manage them properly. We will update this README when that time comes. Thank you for your understanding. ๐ŸŒŸ -```bash -git clone git@github.com:streamethorg/streameth-platform.git -cd streameth-platform -yarn install -yarn dev # or yarn dev -``` +## Future Updates ๐Ÿ”ฎ -## Contribution Guidelines +We value the community's interest in our project. We will update this README when we are ready to welcome full external contributions. Thank you for your patience and support as we continue to develop and improve StreamETH. ๐Ÿ™Œ -We welcome contributions from everyone. To contribute: +Stay tuned for exciting updates and features! ๐ŸŽ‰ -- **Issues**: Feel free to submit issues for bug reports, feature requests, or suggestions through our [Issues tab](#). -- **Pull Requests**: If you wish to contribute code, please make a pull request (PR) with a clear list of what you've done. +## Support -Read our [CONTRIBUTING.md](CONTRIBUTING.md) for detailed information on how to contribute, commit messages, and the code review process. +We're here to help! If you have questions about our platform, please don't hesitate to reach out to support@streameth.org. diff --git a/packages/app/app/studio/[organization]/clips/page.tsx b/packages/app/app/studio/[organization]/clips/page.tsx index 218fdd993..a2c82b86d 100644 --- a/packages/app/app/studio/[organization]/clips/page.tsx +++ b/packages/app/app/studio/[organization]/clips/page.tsx @@ -176,10 +176,6 @@ const EventClips = async ({ params, searchParams }: ClipsPageParams) => { return undefined; })(); - if (!previewAsset) { - return notFound(); - } - return ( {previewAsset && ( diff --git a/packages/app/app/studio/[organization]/destinations/page.tsx b/packages/app/app/studio/[organization]/destinations/page.tsx index 1afe6111a..16d0185b5 100644 --- a/packages/app/app/studio/[organization]/destinations/page.tsx +++ b/packages/app/app/studio/[organization]/destinations/page.tsx @@ -39,7 +39,7 @@ const Destinations = async ({ case 'youtube': return ; case 'twitter': - return ; + return null; default: return ; } @@ -71,13 +71,19 @@ const Destinations = async ({
- {type} + {type === 'twitter' ? ( +
+ +
+ ) : ( + {type} + )} {renderSocialTypeIcon(type)}
diff --git a/packages/app/components/misc/Support/SupportForm.tsx b/packages/app/components/misc/Support/SupportForm.tsx index 4a96c9ac4..630c991fe 100644 --- a/packages/app/components/misc/Support/SupportForm.tsx +++ b/packages/app/components/misc/Support/SupportForm.tsx @@ -96,8 +96,8 @@ const SupportForm = ({ { const [isLoading, setIsLoading] = useState(false); const [messageSent, setMessageSent] = useState(false); const { authenticated } = usePrivy(); + const { address } = useAccount(); const [open, setOpen] = useState(false); const form = useForm>({ resolver: zodResolver(supportSchema), @@ -40,6 +41,7 @@ const Support = () => { toast.error('No wallet address found'); return; } + createSupportTicketAction({ ...values, }) @@ -60,9 +62,11 @@ const Support = () => { setMessageSent(false); setOpen(false); }; + const isAuthenticated = authenticated || address; + return ( - + Contact Support
{messageSent &&

Message sent ๐ŸŽ‰!!

} @@ -88,10 +92,10 @@ const Support = () => {

- {!authenticated ? ( + {!isAuthenticated ? (

Sign in to send us a message

- +
) : messageSent ? (
diff --git a/packages/app/components/misc/VideoCard/VideoCardWithMenu.tsx b/packages/app/components/misc/VideoCard/VideoCardWithMenu.tsx index c2d6d7b9d..cf768f56e 100644 --- a/packages/app/components/misc/VideoCard/VideoCardWithMenu.tsx +++ b/packages/app/components/misc/VideoCard/VideoCardWithMenu.tsx @@ -27,9 +27,8 @@ const VideoCardWithMenu = ({ link: string; }) => { const [thumbnail, setThumbnail] = useState(undefined); - + const memoizedSession = useMemo(() => session, []); - useEffect(() => { const getThumbnail = async (session: IExtendedSession) => { try { @@ -40,8 +39,8 @@ const VideoCardWithMenu = ({ } }; - if (session) { - getThumbnail(session); + if (memoizedSession && !memoizedSession.coverImage) { + getThumbnail(memoizedSession); } // eslint-disable-next-line react-hooks/exhaustive-deps }, [memoizedSession]); diff --git a/packages/app/components/misc/form/imageUpload.tsx b/packages/app/components/misc/form/imageUpload.tsx index e279705d7..d0226f3a7 100644 --- a/packages/app/components/misc/form/imageUpload.tsx +++ b/packages/app/components/misc/form/imageUpload.tsx @@ -12,6 +12,7 @@ import { Dialog, DialogContent, DialogFooter, + DialogTitle, DialogTrigger, } from '@/components/ui/dialog'; import { Button } from '@/components/ui/button'; @@ -44,8 +45,10 @@ const ConfirmImageDeletion: React.FC = ({ className="absolute right-2 top-2 z-10 cursor-pointer rounded-full border border-muted-foreground bg-white text-muted-foreground" /> - -

Are you sure you want to remove this image?

+ + + Delete Image +

Are you sure you want to delete this image?