From d4a75fcf1a25e83a708bad92cd98d31c57289733 Mon Sep 17 00:00:00 2001 From: J S <49557684+svilupp@users.noreply.github.com> Date: Fri, 28 Jun 2024 17:15:59 +0100 Subject: [PATCH] up --- CHANGELOG.md | 1 + src/view.jl | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fba7750..b493f66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/src/view.jl b/src/view.jl index 6a7ecdd..c9e0794 100644 --- a/src/view.jl +++ b/src/view.jl @@ -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")),