Skip to content

Commit

Permalink
Fix Active Tab Highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
svilupp committed Jun 28, 2024
2 parents 7e186cb + d4a75fc commit f92b34f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- Fixed the Genie app loading to point to the package root
- Fixed active page highlighting in the drawer

## [0.1.0]

Expand Down
4 changes: 4 additions & 0 deletions src/view.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,16 @@ function ui()
list(bordered = true, separator = true,
[
item(clickable = "", vripple = "",
active! = "selected_page == 'conversations'",
active__class = "bg-grey-4",
@click("selected_page = 'conversations'"),
[
itemsection(avatar = true, icon("folder_open")),
itemsection("Conversations")
]),
item(clickable = "", vripple = "",
active! = "selected_page == 'rag'",
active__class = "bg-grey-4",
@click("selected_page = 'rag'"),
[
itemsection(avatar = true, icon("school")),
Expand Down

2 comments on commit f92b34f

@svilupp
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Fixed

  • Fixed the Genie app loading to point to the package root
  • Fixed active page highlighting in the drawer

Commits

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/110082

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.1 -m "<description of version>" f92b34fe7e2dd779c57c3677a64aaaaea1b95353
git push origin v0.1.1

Please sign in to comment.