Skip to content

Refactor/design - #53

Merged
MohamedRamadanSaudi merged 6 commits into
MohamedRamadanSaudi:mainfrom
Amr3011:refactor/design
Mar 5, 2026
Merged

Refactor/design#53
MohamedRamadanSaudi merged 6 commits into
MohamedRamadanSaudi:mainfrom
Amr3011:refactor/design

Conversation

@Amr3011

@Amr3011 Amr3011 commented Mar 5, 2026

Copy link
Copy Markdown
Collaborator

This pull request refactors the styling approach for several meeting-related React components, moving from CSS class-based stylesheets to inline Tailwind-like utility classes and inline style objects. The main goal is to modernize the UI, improve maintainability, and ensure better theme consistency across components. Additionally, some modal and error message components have been visually enhanced for clarity and user experience.

Refactoring and Styling Modernization

  • Removed all references to AdminControls.styles.css and replaced CSS class-based styling with inline utility classes and style objects throughout the AdminControls component group, including EndMeetingButton, ParticipantItem, and ParticipantsList, resulting in a more maintainable and theme-consistent codebase. [1] [2] [3] [4] [5]
  • Updated the layout and visual hierarchy of the admin controls, participants list, and participant items to use modern UI patterns, such as rounded corners, consistent spacing, and color tokens from the theme. [1] [2] [3] [4] [5]

Device Error Modal Redesign

  • Redesigned the DeviceErrorMessage component to use a modern dark modal style, with a gradient header, improved icon/title layout, clearer instructions section, and more visually distinct action buttons, enhancing user experience for device access errors. [1] [2] [3]

Deprecation of Legacy CSS

  • Removed the entire ChatSidebar.css file, eliminating legacy CSS for the chat component in favor of future inline or utility-based styling, reducing CSS bloat and potential conflicts.

Minor UI Consistency Updates

  • Updated camera control button styling in CustomControlBar/CameraControl.tsx to use utility classes for consistency with the new styling approach. [1] [2]

Amr3011 added 6 commits March 5, 2026 19:29
- Deleted ScreenShareLayout.css and Sidebar.css as they were no longer needed.
- Updated SidebarPanel.tsx to use Tailwind CSS for styling, improving responsiveness and maintainability.
- Refactored index.css to unify CSS variable syntax and enhance animation keyframes.
- Adjusted tailwind.config.js for cleaner configuration and added new utility classes for better design consistency.
- Introduced SpeakerControl component for selecting audio output devices.
- Updated DeviceMenuItem to support speaker devices.
- Enhanced device management to include listener mode, allowing users to join without microphone/camera access.
- Modified PermissionPrompt to reflect listener mode context.
- Updated JoinButton and LobbyContent to handle listener mode state.
- Refactored error handling and display for better user experience.
- Added MeetingPreferencesContext for managing meeting preferences across components.
@vercel

vercel Bot commented Mar 5, 2026

Copy link
Copy Markdown

@Amr3011 is attempting to deploy a commit to the Mohamed Ramadan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@MohamedRamadanSaudi

MohamedRamadanSaudi commented Mar 5, 2026

Copy link
Copy Markdown
Owner

Thank you for your contribution, LGTM!

@MohamedRamadanSaudi
MohamedRamadanSaudi merged commit ad30733 into MohamedRamadanSaudi:main Mar 5, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants