Skip to content

DESIGN.md native UI contract (upstream 9daaa947) #439

Description

@evilchinesefood

Part of #417 (upstream main after v0.11.0). Upstream commit 9daaa947 docs(design): define the native UI contract (DESIGN.md, 660 lines, plus a line in AGENTS.md); later upstream commits (e31cf649, f587f7fc, 2bd69011, 6003ae11, 40489933, fbfefd25, db6c40d2) each amend it. Land after #438 is decided: the document's dock and Review metrics assume upstream's shape.

What upstream did

DESIGN.md is a normative MUST / SHOULD / MAY contract for the native GPUI app with a status vocabulary (Canonical / Contextual / Migration / Proposed) and an authority order (product intent > Canonical rule > shared primitives > local render code); any visual change must update the document in the same PR. Thesis: a "cockpit" where the pane grid is the content and the chrome recedes:

  • Quiet: hue-free neutrals, accent only on links, focus and one primary action, translucent washes. Continuous: squircle corners, no separators between chips or tabs, interpolated hover. Native: client-side decorations with platform caption glyphs, AppKit sidebar material on macOS (Mica on Windows 11, KDE blur on Linux).
  • Fixed tokens: semantic UiColors roles with a hex per variant, an alpha-tint table, radius / spacing / size tables, typography (Geist; 12 body / 11 label / 9–10 micro / 14 title / 26 heading, sentence case), icon sizes 10–20 painted with text_color, motion gated on reduce_motion.
  • Component contracts for the title bar, sidebar, pane card, diff dock and Review, Settings, menus, Launch Pad and Composer, toasts. Bans: drop shadows on chrome, tab separators, identity pills, hue in neutrals, new radii or text sizes, per-component light/dark branching.
  • Section 9 is a seven-point delivery gate (three themes in both variants, material on and off, reduce_motion, 800 × 500, truncation, control states, a PR screenshot). Outline: 1 Contract · 2 Thesis · 3 Anatomy · 4 Foundations · 5 Component Contracts · 6 Interaction · 7 Platform Materials · 8 What Not To Do · 9 Delivery Gate · 10 Known Gaps.

What the fork has

Port

git show upstream/main:DESIGN.md
git log --oneline v0.11.0..upstream/main -- DESIGN.md

Done when

  • DESIGN.md at the repo root, every metric in it true of the fork's tree on the day it lands (spot-check five: sidebar width, dock floor, tab height, icon sizes, body text size); CLAUDE.md points at it; no Windows or Linux material rules remain.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked-human-reviewNeeds a human to reviewdocumentationImprovements or additions to documentationupstream-post-v0.11.0Port of upstream arthjean/paneflow main after v0.11.0 (unreleased, surveyed 2026-09-05 at fbfefd25)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions