2
0
Fork 0

feat: simplify navigation around the session list #26

Merged
aleksei merged 5 commits from feat/simplify-navigation into main 2026-11-03 22:52:29 +00:00
Owner

Summary

Navigation is now built around a persistent bottom toolbar and a home session
list.

  • Removed OverviewPage; the / route is a SessionsPage listing every
    session and its windows.
  • Removed the Open sessions button from PageHeader; headers carry only the
    title and the safe-area inset.
  • Added a global bottom toolbar on every authenticated page and every
    breakpoint: Settings, New session, Open/Close sessions. It is in flow below the
    drawer, so the controls stay reachable while the drawer is open.
  • The drawer no longer has its own header, settings/add/logout/close buttons, or
    Sessions title. The global toolbar owns those actions.
  • Moved logout to the Settings page (text + icon button).
  • Drawer bottom is offset by the toolbar height; its rows and accordions are
    unchanged.

Verification

  • npm run build
  • npm run typecheck
  • dprint check
  • git diff --check

The portal was not rebuilt or restarted.

## Summary Navigation is now built around a persistent bottom toolbar and a home session list. - Removed `OverviewPage`; the `/` route is a `SessionsPage` listing every session and its windows. - Removed the `Open sessions` button from `PageHeader`; headers carry only the title and the safe-area inset. - Added a global bottom toolbar on every authenticated page and every breakpoint: Settings, New session, Open/Close sessions. It is in flow below the drawer, so the controls stay reachable while the drawer is open. - The drawer no longer has its own header, settings/add/logout/close buttons, or `Sessions` title. The global toolbar owns those actions. - Moved logout to the Settings page (text + icon button). - Drawer bottom is offset by the toolbar height; its rows and accordions are unchanged. ## Verification - `npm run build` - `npm run typecheck` - `dprint check` - `git diff --check` The portal was not rebuilt or restarted.
Author
Owner

8fa8ad9 removes the global bottom toolbar.

  • Settings, New session and Open/Close sessions are now drawn by SessionActions directly under the session list.
  • Home (SessionsPage) has the list plus those actions underneath.
  • The drawer has the same list plus the actions at its bottom, including Close.
  • No toolbar is rendered by App; the window page keeps only the existing shortcut bar (Ctrl, Alt, arrows, compose, sessions, etc.).
  • The drawer returns to the full app height; its bottom padding includes the safe area.
`8fa8ad9` removes the global bottom toolbar. - Settings, New session and Open/Close sessions are now drawn by `SessionActions` directly under the session list. - Home (`SessionsPage`) has the list plus those actions underneath. - The drawer has the same list plus the actions at its bottom, including Close. - No toolbar is rendered by `App`; the window page keeps only the existing shortcut bar (`Ctrl`, `Alt`, arrows, compose, sessions, etc.). - The drawer returns to the full app height; its bottom padding includes the safe area.
aleksei changed title from feat: simplify navigation around a bottom toolbar to feat: simplify navigation around the session list 2026-11-03 22:32:17 +00:00
Author
Owner

fa436c5 completes the home-as-session-menu change.

  • The home page is now the full session tree (sessions + windows with the existing inline action accordions). It is the only session menu.
  • Removed the Sessions heading.
  • Removed the session-menu button from the home actions. Under the list only Settings and New session remain.
  • Removed the drawer and all its state/code from App.tsx; the shared tree lives in SessionTree.tsx.
  • The terminal shortcut bar's sessions button now navigates to / and passes the current window path as location state.
  • When home was reached from a terminal, its header shows a close button that returns to that window; direct visits to / show no close button.
  • Logout remains on Settings; page headers have no menu button.
`fa436c5` completes the home-as-session-menu change. - The home page is now the full session tree (sessions + windows with the existing inline action accordions). It is the only session menu. - Removed the `Sessions` heading. - Removed the session-menu button from the home actions. Under the list only Settings and New session remain. - Removed the drawer and all its state/code from `App.tsx`; the shared tree lives in `SessionTree.tsx`. - The terminal shortcut bar's sessions button now navigates to `/` and passes the current window path as location state. - When home was reached from a terminal, its header shows a close button that returns to that window; direct visits to `/` show no close button. - Logout remains on Settings; page headers have no menu button.
Author
Owner

38baa36 moves the back-to-terminal control out of the header.

  • The Sessions page header and its close button are gone; only the safe-area strip remains.
  • SessionActions now has three buttons under the list, in this order: Settings, New session, close.
  • The close button is always rendered; it is disabled when / was opened without a recorded terminal window.
  • With location state from the terminal, it returns to that window.
`38baa36` moves the back-to-terminal control out of the header. - The `Sessions` page header and its close button are gone; only the safe-area strip remains. - `SessionActions` now has three buttons under the list, in this order: Settings, New session, close. - The close button is always rendered; it is disabled when `/` was opened without a recorded terminal window. - With location state from the terminal, it returns to that window.
Author
Owner

18a5088 pins the home actions to a sticky bottom toolbar.

  • Settings, New session and the back-to-terminal close button are outside the scroll container, at the bottom of the page.
  • The list is the only scroll area.
  • A ResizeObserver on the scroll container and its content measures whether scrollHeight > clientHeight.
  • borderTopWidth is 1px only while that is true; short lists have no separator line.
  • The toolbar keeps the bottom safe-area padding.
`18a5088` pins the home actions to a sticky bottom toolbar. - Settings, New session and the back-to-terminal close button are outside the scroll container, at the bottom of the page. - The list is the only scroll area. - A `ResizeObserver` on the scroll container and its content measures whether `scrollHeight > clientHeight`. - `borderTopWidth` is `1px` only while that is true; short lists have no separator line. - The toolbar keeps the bottom safe-area padding.
aleksei deleted branch feat/simplify-navigation 2026-11-03 22:52:29 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zoo/mux-portal!26
No description provided.