Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] - feat(frontend): #709 sidebar to show open bbb room #1015

Closed
wants to merge 19 commits into from

Conversation

ogerly
Copy link
Contributor

@ogerly ogerly commented Jun 5, 2024

🍰 Pullrequest

The GitHub pull request introduces two new elements, ListElement and ListWithNavigationDrawer, which are now available in Storybook for use. Additionally, it extends the TopMenu component. Here’s a summary of the main changes:

New Storybook Elements:

ListElement: A customizable list component with story examples for different item configurations.
ListWithNavigationDrawer: Combines a list with a navigation drawer, providing additional UI capabilities.
Extended TopMenu:

Enhancements to the TopMenu component, making it more versatile and user-friendly.
For more details, you can view the full changes on the GitHub PR page.

Next Steps:
a. Review and run the new Storybook elements to understand their functionality.
b. Integrate the new components into your application and test their interaction with existing elements.

Issues

Todo

  • Write tests for the new ListElement and ListWithNavigationDrawer components.
  • Implement styling according to the designer's requirements in Figma.

@ogerly ogerly added feature New feature or request service:frontend labels Jun 5, 2024
@ogerly ogerly requested a review from ulfgebhardt June 5, 2024 20:21
@ogerly ogerly self-assigned this Jun 5, 2024
@ogerly ogerly requested review from mahula and Elweyn June 6, 2024 08:24
ogerly added 10 commits June 6, 2024 10:43
…tionDrawer components

style: implement Figma design requirements for new components
…hensive Storybook examples and tests

- Updated ListElement.vue to handle right content, icons, and images.
- Added detailed Storybook stories for ListElement with text, icons, and images.
- Fixed type issues in test files for ListElement, NavigationDrawer, and ListWithNavigationDrawer components.
- Ensured all tests correctly type the wrapper variable as ReturnType<typeof mount>.

fix: Ensure proper handling of right content and type safety in test files
@ogerly
Copy link
Contributor Author

ogerly commented Jun 7, 2024

2024-06-0716-17-18-ezgif.com-crop-video.mp4

@ogerly
Copy link
Contributor Author

ogerly commented Jun 11, 2024

Code Duplication in Templates: The component is repeated across multiple files. Consider abstracting it into a shared layout component to avoid redundancy.

Hardcoded Strings in Templates: Some strings, such as label="Sign Out", are hardcoded. These should be replaced with localization-friendly alternatives using $t for better internationalization support.

Magic Numbers and Inline Styles: Avoid using magic numbers directly in styles like blur(20 px), border-radius: 30 px 30 px 0 0;. Define these in variables or theme settings for better maintainability and consistency.

Snapshot Updates: Ensure all updated snapshot files reflect the intended changes and are not simply reflecting unintended side effects.

Storybook Configuration: The addition of the viewport addon is a good step, but ensure that all necessary viewports are defined and tested in stories to cover various device scenarios.

TypeScript Configurations: Ensure all TypeScript files, especially those with complex setups or imports, are thoroughly type-checked and error-free.

@ogerly ogerly closed this Jun 14, 2024
@ogerly
Copy link
Contributor Author

ogerly commented Jun 14, 2024

new PR #1080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request service:frontend
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

🚀 [Feature] Frontend: Sidebar to show open BBB rooms
1 participant