Skip to content

Feat: highlight active District in sidebar #100

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 1 commit into from
Apr 29, 2025
Merged

Conversation

lalver1
Copy link
Member

@lalver1 lalver1 commented Apr 28, 2025

This PR implements highlighting the active District in the navigation sidebar and moves the sidebar to a separate template for modularity.

moved the sidebar nav to a separate template for modularity. Also
note that when the sidebar is rendered from the IndexView, the
template engine will silently treat current_district as None since
it is not passed in the context. This is fine since the sidebar
highlight will not be rendered in this case.
@lalver1 lalver1 self-assigned this Apr 28, 2025
Copy link

Coverage report

This PR does not seem to contain any modification to coverable code.

@lalver1 lalver1 marked this pull request as ready for review April 28, 2025 21:26
@lalver1 lalver1 requested a review from a team as a code owner April 28, 2025 21:26
Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

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

🔆 👍

@lalver1 lalver1 merged commit 6e5bc91 into main Apr 29, 2025
5 checks passed
@lalver1 lalver1 deleted the feat/sidebar-active branch April 29, 2025 12:00
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