mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 20:59:05 +00:00
feat: improve calendar integration and meeting UI
- Refactor ICS sync tasks to use @asynctask decorator for cleaner async handling - Extract meeting creation logic into reusable function - Improve meeting selection UI with distinct current/upcoming sections - Add early join functionality for upcoming meetings within 5-minute window - Simplify non-ICS room workflow with direct Whereby embed - Fix import paths and component organization 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -7,12 +7,14 @@ import { toaster } from "../components/ui/toaster";
|
||||
interface WherebyEmbedProps {
|
||||
roomUrl: string;
|
||||
onLeave?: () => void;
|
||||
isWebinar?: boolean;
|
||||
}
|
||||
|
||||
// currently used for webinars only
|
||||
// used for both webinars and meetings
|
||||
export default function WherebyWebinarEmbed({
|
||||
roomUrl,
|
||||
onLeave,
|
||||
isWebinar = false,
|
||||
}: WherebyEmbedProps) {
|
||||
const wherebyRef = useRef<HTMLElement>(null);
|
||||
|
||||
@@ -26,7 +28,8 @@ export default function WherebyWebinarEmbed({
|
||||
<Box p={4} bg="white" borderRadius="md" boxShadow="md">
|
||||
<HStack justifyContent="space-between" alignItems="center">
|
||||
<Text>
|
||||
This webinar is being recorded. By continuing, you agree to our{" "}
|
||||
This {isWebinar ? "webinar" : "meeting"} is being recorded. By
|
||||
continuing, you agree to our{" "}
|
||||
<Link
|
||||
href="https://monadical.com/privacy"
|
||||
color="blue.600"
|
||||
|
||||
Reference in New Issue
Block a user