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

Show/Hide Menu Item From Navgation #17

Merged
merged 3 commits into from
Dec 22, 2024
Merged

Show/Hide Menu Item From Navgation #17

merged 3 commits into from
Dec 22, 2024

Conversation

maukoese
Copy link
Contributor

For edge cases where the developer might want the chat icon on a different part of the screen (e.g topbar or user menu) instead of the sidebar.

This PR allows the user to configure whether to show the menu item in the sidebar or not (default is true).

User can then optionally set to false and register the link elsewhere by themselves.

Add `show_in_menu` config to control whether chat should be shown in menu or not.
Add method to register navigation depending on config value.
@199ocero
Copy link
Owner

Hello @maukoese can you change the config description? seems like its not updated

@maukoese
Copy link
Contributor Author

maukoese commented Dec 21, 2024

@199ocero Done!

@199ocero 199ocero merged commit c35e8ff into 199ocero:main Dec 22, 2024
5 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