Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oxidecomputer/console
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 46f3fd84
Choose a base ref
...
head repository: oxidecomputer/console
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c1e623ca
Choose a head ref
  • 2 commits
  • 34 files changed
  • 1 contributor

Commits on Sep 1, 2026

  1. Fix some missing limit: ALL_ISH (#3360)

    Closes #3359 
    
    First commit fixes the narrow issue reported with the list of projects
    on image demote. Second commit fixes other spots found by the 🤖.
    david-crespo authored Sep 1, 2026
    Configuration menu
    Copy the full SHA
    8b8e83d View commit details
    Browse the repository at this point in the history
  2. Mobile layout (#3358)

    #3178 was meant to redo part of #2087 as a stepping stone to a proper
    mobile layout, but then we didn't follow up, which means the mobile
    layout actually got worse — it's really bad! This is an attempt at some
    quick fixes to make it tolerable without breaking anything for desktop
    users. As long as nothing on desktop sizes is affected, even if there
    are flaws it's hard for it to be worse than the status quo. I think it
    feels really good, and a thorough review by Fable 5.1 didn't turn up any
    regressions at desktop sizes.
    
    ## 🤖 Summary
    
    Makes the console usable below 1000px, which is the existing `1000:`
    breakpoint from the design system. Above that width the layout is
    unchanged apart from the items called out at the end.
    
    ### Navigation
    
    - **Sidebar becomes an overlay on small screens.** A hamburger toggle in
    the top bar opens it over the content with a scrim. It closes on scrim
    click and on any navigation, including navigations from breadcrumbs or
    quick actions. Open state lives in a small zustand store
    (`app/stores/mobile-nav.ts`) so the top bar and sidebar can share it.
    `PageSkeleton` renders the sidebar closed so there is no flash of an
    open drawer during load.
    - **Top bar collapses to a single cell.** The home button cell only
    exists at desktop width. The shared class strings in
    `app/layouts/helpers.tsx` are used by both `TopBar` and `PageSkeleton`
    so the two can't drift.
    - **Breadcrumbs collapse instead of overflowing.** When the path doesn't
    fit, leading crumbs are folded into a "…" menu listing the full path,
    keeping the silo picker and user menu in view. Widths are measured from
    an invisible copy of the crumbs so the longest complete suffix that fits
    can be chosen; the current crumb is the last to give way and truncates
    with an ellipsis as a final fallback. This applies at all widths, so
    long paths on desktop also collapse rather than pushing the right-side
    controls off screen.
    - **User menu shows the username inside the menu** on small screens,
    where it is hidden from the trigger to save space.
    
    ### Components
    
    - `Modal`, `SideModal`, `Toast`, and `ErrorPage` are capped to the
    viewport width with a gutter so they no longer run edge to edge or
    overflow.
    - Tab lists scroll horizontally below the breakpoint instead of
    overflowing the page.
    - `CardBlock.Header` actions, `DisksTableField` buttons, `Radio` cards,
    and `DateTimeRangePicker` stack or stretch to full width on small
    screens.
    - Serial console terminal uses the full width and hides the scroll
    buttons on small screens; the footer height becomes content-driven.
    - Side modal gutter shrinks to 1.5rem below the breakpoint.
    
    ### Changes that also affect desktop
    
    - `--content-gutter` shrinks below 1000px rather than 768px, so windows
    between 768 and 999px get the narrower gutter. This aligns the gutter
    with the layout breakpoint used everywhere else.
    - `overscroll-behavior-y: none` on `body` prevents pull-to-refresh and
    scroll chaining behind the sidebar overlay. On macOS this also removes
    the vertical rubber-band bounce.
    - `DropdownMenu.Content` defaults `collisionPadding` to 12px (Base UI
    default is 5px) so menus keep a consistent margin from the viewport
    edge.
    
    ### Tests
    
    - New `test/e2e/mobile-layout.e2e.ts` covers the sidebar overlay
    open/close/navigate flow, the breakpoint transition at 999/1000px, the
    username in the user menu, and modal/toast bounds at 320px.
    - `test/e2e/breadcrumbs.e2e.ts` adds cases for collapsed breadcrumbs at
    404, 650, 750, and 1024px, including the full-path menu.
    - The serial console visual regression test is scoped to a role locator
    because `getByText` now also matches the hidden breadcrumb measurement
    copy.
    david-crespo authored Sep 1, 2026
    Configuration menu
    Copy the full SHA
    c1e623c View commit details
    Browse the repository at this point in the history
Loading