Skip to content

Update yoga to v0.49.0 and adopt its new features - #192

Merged
mirzakhany merged 2 commits into
mainfrom
mohsen/yoga-0.49
Nov 21, 2026
Merged

mirzakhany merged 2 commits into
mainfrom
mohsen/yoga-0.49

Conversation

@mirzakhany

Copy link
Copy Markdown
Collaborator

Updates yoga from v0.46.0 to v0.49.0 and puts its new features to use.

Changes

  • Typography fix: scaleTypography rebuilt the theme's type ramp with only the five old roles, so the new Display, Headline, BodySmall, Overline and Label roles were zero at runtime. Every role now scales with the UI font size (test added).
  • Attached document tabs for the workspace tab strip; a request tab's tooltip shows its target (method + URL, or gRPC server + method).
  • OS window title follows the tab in front (SetWindowTitle).
  • Drag-and-drop import: dropping Postman collections, OpenAPI specs or .proto files on the Requests page imports them (Mouse.Dropped).
  • Editor minimap: new Settings › Editor › Show minimap; prose editors (notes, descriptions, curl import) opt out.
  • Selected token for selected rows (test step results, merge choices, proxy filter chips) instead of the pressed-row ListActive.
  • New text roles: Overline sidebar headers, Headline startup error, Label for the gRPC "Methods from" label.
  • Status bar Split is now a menu (side by side / stacked) using MenuButton's NoChevron and Placement(PlacementTop).
  • README: Git, editor features, drop import, updates; fixes the code-generation language list.

Everything else in yoga 0.47–0.49 (focus rings outside controls, Overlay surface, state layers, alert icons, Inter Medium, text-field word keys, motion tokens) applies without code changes.

Testing

  • go test ./..., make lint: pass
  • Launched the app and checked the Requests page and footer

🤖 Generated with Claude Code

mirzakhany and others added 2 commits November 21, 2026 23:01
- Scale every type role with the UI font size. scaleTypography rebuilt
  the theme's Typography with only the five old roles, so Display,
  Headline, BodySmall, Overline and Label were zero at runtime.
- Workspace tabs are attached document tabs, and a request tab's tooltip
  shows where it goes (method and URL, or gRPC server and method).
- The OS window is named after the document in front, so the Dock and
  window switchers tell Chapar windows apart.
- Dropping a Postman collection, OpenAPI spec or .proto file on the
  Requests page imports it, as Import from file does.
- Editor settings gain Show minimap; prose editors (notes,
  descriptions, the curl import box) never show one.
- Selected rows (test step results, merge choices, proxy filter chips)
  use the Selected accent tint instead of the pressed-row color.
- Sidebar headers use Overline, the startup error uses Headline, and the
  gRPC "Methods from" label uses Label.
- The status bar's Split button is a menu (side by side or stacked) that
  opens above it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mirzakhany
mirzakhany merged commit 1db25ba into main Nov 21, 2026
7 checks passed
@mirzakhany
mirzakhany deleted the mohsen/yoga-0.49 branch November 21, 2026 22:10
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