Skip to content

Conversation

@thebeyondr
Copy link

@thebeyondr thebeyondr commented Oct 6, 2025

Major UX Changes

Collapsible Sidebar Navigation [screenshots below]

  • Sidebar now collapses to icon-only view (80px width) with hover-to-expand functionality
  • Auto-collapse with 800ms grace period when mouse leaves sidebar
  • Pin/unpin sidebar state with keyboard shortcut (Cmd/Ctrl + B)
  • Escape key collapses temporarily expanded sidebar
  • Smooth transitions and hover states throughout

Redesigned Navigation Structure

  • Grouped navigation items with collapsible sections
  • Pinned metrics organized by category with visual hierarchy
  • Resources section moved to footer with grouped organization
  • New logo variants for light/dark themes and collapsed states
  • Improved visual weight and spacing for better readability

Enhanced Metrics Component

  • Redesigned metrics header with breadcrumb display
  • New "Browse & Pin" action button with improved CTAs
  • Better visual hierarchy and information density
  • Improved mobile responsiveness

Mobile Navigation Updates

  • Consistent structure with desktop navigation
  • Grouped organization for better mobile UX
  • Improved spacing and visual hierarchy

Technical Improvements

Navigation Architecture

  • New navStructure.ts with typed navigation definitions
  • NavGroup and NavLink components with consistent behavior
  • NavCollapseContext for managing disclosure states
  • SidebarContext for global sidebar state management

Performance Optimizations

  • Memoized navigation components to prevent unnecessary re-renders
  • Optimized pinned metrics grouping with O(k) complexity
  • Efficient localStorage key management with constants

Code Organization

  • Extracted navigation logic into reusable components
  • Improved TypeScript types for navigation structure
  • Better separation of concerns between desktop/mobile navigation
  • Consistent icon usage and theming

Asset Management

  • Added new logo variants for different states and themes
  • Updated icon system with Discord icon support
  • Improved SVG optimization and loading

Screens

image image image

- Create new sidebar context with collapse/pin functionality
- Add hover-to-expand and keyboard shortcuts (Cmd/Ctrl+B)
- Implement smooth transitions and backdrop overlay
- Replace flat navigation with hierarchical NavGroup/NavLink components
- Add collapsible groups with disclosure states
- Implement tooltips for collapsed sidebar items
- Redesign desktop nav with dynamic width (80px collapsed, 244px expanded)
- Add logo variants for different states
- Implement pinned pages with grouped display
- Add resources section with proper visual hierarchy
- Refactor mobile menu to use new navigation components
- Add consistent grouping and visual hierarchy
- Improve mobile navigation layout and spacing
- Redesign metrics header with better visual hierarchy
- Add breadcrumb display and improved action button
- Update pinned metrics handling with consistent key usage
- Add dark/light theme logo variants
- Create compact icon version for collapsed sidebar
- Add Discord icon to icon set
- Reorganize pages.json with new Resources section
- Add icons to navigation items
- Improve tooltip component with better styling options
- Remove unused Bookmark import
- Clean up navigation component structure
- Create new sidebar context with collapse/pin functionality
- Add hover-to-expand and keyboard shortcuts (Cmd/Ctrl+B)
- Implement smooth transitions and backdrop overlay
@kanerep
Copy link
Contributor

kanerep commented Oct 7, 2025

nav looks super clean - great job!

- Adjust opacity of legal footer text for improved visibility
@thebeyondr
Copy link
Author

nav looks super clean - great job!

oh hey, thanks! let's see if it gets merged 🫡

thebeyondr and others added 17 commits October 9, 2025 11:48
- Remove toggle button and its associated functionality from the DesktopNav component
- Maintain ThemeSwitch for improved layout consistency
- Update responsive class names for better consistency
- Simplify label display based on expansion state
- Add screen reader support for collapsed state
- Add new links to primary navigation
- Improve Careers link formatting in resources section
- Remove console log for cleaner code
- Consolidate navigation links into a single NavItems component with attention handling
- Adjust padding and layout for improved visual consistency in various sections
- Create new sidebar context with collapse/pin functionality
- Add hover-to-expand and keyboard shortcuts (Cmd/Ctrl+B)
- Implement smooth transitions and backdrop overlay
* do not show suggestions on readonly

* allow chart to be stackable

* inline suggestions

* update styles

* update styles

* update styles

---------

Co-authored-by: mintdart <[email protected]>
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.

7 participants