Skip to content

@hanzo/build 0.2.130: on a phone the views take a row of their own, so Code is in reach - #34

Merged
Darkhorse7stars merged 1 commit into
mainfrom
fix/305-phone-views
Nov 20, 2026
Merged

Darkhorse7stars merged 1 commit into
mainfrom
fix/305-phone-views

Conversation

@Darkhorse7stars

Copy link
Copy Markdown
Member

Part of hanzo-inc/app#305

What was wrong

On hanzo.app/dev, a template taken into a project now opens with working Preview, Files and Code at desktop width (checked live on a fresh copy of Instrument: Files lists the tree, index.html opens in Code). At phone width it doesn't work. At 375 px, beside a project named "Instrument", the workspace bar's start cluster (mark, project chip, History) took 246 px and left the middle, where the view tabs live, 49 px. The tabs scrolled inside that strip: part of Chat was visible, and Preview, Files and Code were past the edge with no hint they were there.

Change

  • project.tsx: below md the views (with the phone's Chat entry) leave the bar and get a row of their own under it, in whichever pane is showing. md and up are unchanged.
  • Version 0.2.130.

Testing

  • pnpm typecheck, pnpm test (868 passed), pnpm build.
  • New cov-forge-project.spec.ts test at 360, 375 and 390 with a long project name: all five view tabs are whole on screen and not covered, Publish shows, the page doesn't scroll sideways, and Files → index.html opens in Code. Against main it fails with "Chat ends on screen: 388 > 375".
  • Passing: the existing phone test, the narrow-window test, the ≥ 800 bar tests, and screens.spec.ts project states at phone, tablet, laptop and desktop (25 passed).
  • "Files reads the open run's branch…" fails the same way on main and here, waiting for a "Hide suggestions" button that feat(dev): redesigned Dev screens, Hanzo controls kept, one ring, one clipboard #31 removed. It isn't touched by this change.

…o Code is in reach

At 375 wide beside a project named "Instrument" the workspace bar left its
middle 49px: the view tabs scrolled inside it, part of Chat in sight and
Preview, Files and Code past the edge. Below md the views (with Chat) now
sit in a row under the bar, in whichever pane shows; md and up are unchanged.

Part of hanzo-inc/app#305

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Darkhorse7stars
Darkhorse7stars merged commit aed129c into main Nov 20, 2026
6 checks passed
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