Repository navigation
feat(sidebar): make illiniSpots logo return to home view - #93
Conversation
Wrap the header brand in a button that clears the search term and any selected facility, so users stuck in search results can get back to the full list in one click.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Warning Review limit reachedNext included review available in 43 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: QUIET Plan: Advanced Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
All reported issues were addressed across 1 file
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Give the home button the accessible name illiniSpots home so assistive tech still announces the brand, and size it to h-9 to match the header controls on touch devices.
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds a bounded sidebar navigation improvement: clicking the illiniSpots logo clears the search and selected facility to restore the home list. The focused UI change is clearly beneficial and low risk.
Re-trigger cubic
This PR improves the sidebar header so that clicking illiniSpots brings you back to the home list view, which helps when you are deep in search results with no obvious reset.
Before
The illiniSpots brand was a static h1, so clearing a search meant finding the small X in the search input.
After
The brand is a button that clears the search term and any selected facility, restoring the full facilities list in one click.
Change type
improvementTest plan
Ran
bun run lint,bun run typecheck, andNODE_ENV=test bun test(175 pass).Release notes
Code changes