Skip to content

Added active indicator to nav-items #907

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

Closed
wants to merge 2 commits into from

Conversation

andrewsinnovations
Copy link
Contributor

Allows the user to have SQL that indicates that a navigation bar should be shown as "active" in the shell.

select
  'shell' as component
  , '{"title": "Example Menu Item 1", "active": true}' as menu_item
  , '{"title": "Example Menu Item 2"}' as menu_item

shell

Also works in the sidebar:

select
  'shell' as component
  , true as sidebar
  , '{"title": "Example Menu Item 1", "active": true}' as menu_item
  , '{"title": "Example Menu Item 2"}' as menu_item

sidebar

Allows the user to have SQL that indicates that a navigation bar should be shown as "active" in the shell.
@andrewsinnovations
Copy link
Contributor Author

I accidentally added a commit here I did not intend, so I will close this pull request and re-submit. Apologies.

@lovasoa
Copy link
Collaborator

lovasoa commented May 3, 2025

You don't need to close this pull request ! Just make your changes in your branch, and they will be reflected in the pull request automatically

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