Skip to content

Add Popup Menu to Save Space in Sidebar #260

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

Merged
merged 13 commits into from
May 14, 2023

Conversation

techwithanirudh
Copy link
Contributor

@techwithanirudh techwithanirudh commented May 13, 2023

Description:

In the sidebar, there were several items such as logout, theme selector, and other elements that were consuming a significant amount of space. This PR addresses the issue by implementing a popup menu triggered by an account icon button. When the user clicks on the button, a menu pops up with various options or actions that can be performed. This approach reduces the space occupied by the sidebar items, improving the overall user experience.

Changes Made:

  • Created an account icon button in the sidebar.
  • Implemented a popup menu triggered by the account icon button.
  • Added options and actions to the popup menu, including logout and theme selection.
  • Ensured proper styling and functionality of the popup menu.

Benefits:

  • Optimizes space in the sidebar by replacing multiple items with a compact popup menu.
  • Enhances the visual appearance of the sidebar by reducing clutter.
  • Improves the user experience by offering easy access to essential features without overwhelming the interface.

Testing:

Thoroughly tested the following aspects:

  • The account icon button correctly triggers the popup menu.
  • All options and actions in the popup menu function as intended.
  • The popup menu appears and disappears smoothly.
  • The responsiveness and usability of the sidebar remain unaffected.

Please review the changes and provide your valuable feedback. Once approved, this pull request can be merged into the main code repository.

@techwithanirudh techwithanirudh changed the title Added Popup Menu To Save Space Add Popup Menu to Save Space in Sidebar May 13, 2023
This reverts commit ce3e6cd.
@danny-avila
Copy link
Owner

Thank you for this, I will test it out as soon as I get the chance. There shouldn't be any merge conflicts as far as I can tell.

@danny-avila danny-avila merged commit 93dd1eb into danny-avila:main May 14, 2023
@techwithanirudh techwithanirudh deleted the mimicui branch May 15, 2023 14:11
cnkang pushed a commit to cnkang/LibreChat that referenced this pull request Feb 6, 2024
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