Skip to content

Conversation

@ahundt
Copy link

@ahundt ahundt commented Nov 17, 2025

SidebarView.tsx: add + button to header in large screen mode

Previous behavior:

  • Narrow mode: + button in header top right
  • Large screen mode: + button missing from header row

Now the plus button stays where it is if you are on ipad or desktop!

Screenshot 2025-12-07 at 2 34 44 AM

Previous Behavior: plus button is missing, should be to right of "Happy"

Screenshot 2025-12-07 at 10 21 11 AM

What changed:

  • Added Ionicons add-outline import (line 17)
  • Added + button Pressable after settings button (line 241)
  • Button positioned in rightContainer with inbox and settings
  • Routes to /new on press (creates new session)

Why:
Large screen users need header access to create new sessions, matching narrow mode UX pattern.

Files affected:

  • sources/components/SidebarView.tsx: Added import and button in header

Technical details:

  • Uses Ionicons add-outline size 28 (identical to narrow mode HomeHeader.tsx:128)
  • Reuses existing handleNewSession callback
  • 7 lines added (1 import, 6 button JSX)

Previous behavior:
- Narrow mode: + button in header top right
- Large screen mode: + button missing from header row

What changed:
- Added Ionicons add-outline import (line 17)
- Added + button Pressable after settings button (line 241)
- Button positioned in rightContainer with inbox and settings
- Routes to /new on press (creates new session)

Why:
Large screen users need header access to create new sessions, matching narrow mode UX pattern.

Files affected:
- sources/components/SidebarView.tsx: Added import and button in header

Technical details:
- Uses Ionicons add-outline size 28 (identical to narrow mode HomeHeader.tsx:128)
- Reuses existing handleNewSession callback
- 7 lines added (1 import, 6 button JSX)
@ahundt ahundt changed the title Feature - sidebar add plus button on large screens Feature - sidebar keep plus button on large screens for new sessions Dec 7, 2025
@ahundt ahundt changed the title Feature - sidebar keep plus button on large screens for new sessions Feature - sidebar keeps plus button on large screens for new sessions Dec 7, 2025
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.

1 participant