Skip to content

Fix every UI/UX audit finding (F1–F25, B1–B4) - #33

Merged
rushilrawat merged 6 commits into
feat/ui-polishfrom
feat/ui-audit-fixes
Nov 24, 2026
Merged

rushilrawat merged 6 commits into
feat/ui-polishfrom
feat/ui-audit-fixes

Conversation

@rushilrawat

Copy link
Copy Markdown
Owner

Requested by Rush · project thread

Fixes every finding in the 2026-11-23 UI/UX audit (F1–F25, the smaller items, and bigger bets B1–B4).

Base: stacked on feat/ui-polish (#32). After #32 merges, retarget this PR to main before merging (squash merges don't carry the stack).

Before / after

Screenshots are in docs/screenshots/ui-audit-fixes/ (1440×900 unless noted; same steps before and after).

What Before After
Role selected: nodes framed beside the panel, no label pile-up (F1, F2)
X-Ray results: one headline, one primary action, field names on the map (F6–F9)
X-Ray in the light theme (F5)
X-Ray bottom: no pinned warning, no raw ids (F7, F8)
Node relationships: whole row opens, no "Open ↗" buttons (F14)
Field selected: no hairball, grouped member list (F4)
Paths: a side panel, no duplicate cards (F11)
Following a path: whole route, numbered stops, framed (Paths)
Apps: breadcrumb, full names, labelled counts (F12)
Stack: full reasons, "N alternatives", no "Suggested" badge
One Fields panel instead of Domains + Filters
Compare: toolbar labels stay put (F13)
Learning map empty state has next steps
Shortcuts grouped by where they work
iPad Mini: map fills the screen, labelled tools + More (F18, F19)
iPad Mini: React framed beside its panel (F1)
iPhone 13 X-Ray: key collapsed, no label pile-up (F20)
iPhone 13 Roles: bottom sheet, map visible above (B1)

What changed

Map

  • F1: highlighted sets (role, app, stack, path, node) are framed inside the area the open panel leaves (frameNodes / usableRect in graph-canvas/framing.ts).
  • F2: node labels never overlap and never run off the canvas (graph-canvas/drawNodeLabel.ts tries six spots and skips a label with no room). Field headings never cover a drawn node name. While a role, app, stack or path is highlighted, only the fields it touches are named, so its own node names have room (this matters most on phones).
  • F3: sub-fields are named from the first zoom step in, and on hover at the overview.
  • F4: selecting a field colours its members with no spokes. Its panel lists members grouped into sub-fields, technologies and concepts, sorted by size, with the top 12 shown and a filter box. The header count, hover card and list all say "members" with the same number.
  • F18: portrait tablets and phones fill the canvas instead of letterboxing.
  • Paths: a followed path shows its whole route, numbers its stops ("1. DNS") and frames all of them.

Repo X-Ray

  • F5: light theme fixed (key, badges, primary button, warning, section titles).
  • F6: field names stay on the map for fields with detections.
  • F7: the partial-scan note is a one-line collapsible, not pinned.
  • F8: one set of numbers (headline, report card, by-field), raw ids fall back to readable names, and the Tailwind example ids are fixed.
  • F9: "Open report card" is the one primary action. Re-centre, GitHub, Copy, Download and More examples sit under a More menu. Statistics are collapsible.
  • Status words are the same in the list, the key and the node panel: Found in code, Listed as a dependency, Guessed from related files, Related to the stack.

Panels and naming

  • F10/F13: one name, "atlas", everywhere. Toolbar labels never change (pressed state instead of "Exit compare" / "← Back to Explore"). All counts have thousands separators. The search placeholder is shorter.
  • F11: Guided paths is a left side panel like Stack, Roles and Apps. "Start here" cards aren't repeated below. "Copy link" is a real button.
  • F12: Roles and Apps keep the stepper and add an "← All roles / apps" breadcrumb at the top. The duplicate <select> is gone. App names wrap instead of truncating, counts read "20 tech", and category chips wrap.
  • Stack: the full reason is on its own line, "+4 ▾" became "4 alternatives", and only reader-chosen picks get a badge.
  • F14/F15: relationship rows are whole-row buttons with a → chevron. The learning toggle has a label, a ✓ selected state and a saved message. Group headings are in sentence case.
  • Domains rail and Filters are merged into one Fields panel: checkbox, colour, name, count, sub-fields indented, and type filters on top.
  • Panels are opaque. The learning-map empty state offers "Pick a role" and "Start a path". The shortcuts list is grouped (Anywhere / On the map / In lists and toolbars). The outline reads "3,082 technologies and concepts in 40 fields".

Tablet, phone, accessibility

  • F19: at 701–1100 px, the five main tools keep labels and the utilities go under More.
  • F20: the phone X-Ray key collapses to "Key ?".
  • F21: field names have a 24 px hit area on phones (an invisible ::before, so the layout doesn't change).
  • F23: the hero comes first in tab order. Field names are one tab stop with arrow keys, in reading order.
  • F24: there's a visually hidden <h1> once the hero is gone, and panel titles are <h2>.
  • F25: opening a tool panel moves focus to its heading. Closing it returns focus to the button (util/usePanelFocus.ts).

Bigger bets

  • B1: on phones, Stack, Roles, Apps, Paths and Learning are bottom sheets, and the camera frames above them.
  • B2: opening a node is a history entry, so browser Back/Forward walks through what you looked at.
  • B3: docs/ui-conventions.md gives one page of rules (names, panel sides, toolbar, buttons, headings, keyboard, labels, themes).
  • B4: e2e/visual-themes.spec.ts covers 6 states (atlas, node, role, app, X-Ray, paths) in both themes. It attaches screenshots and checks that every open panel is light in light / dark in dark, with text contrast ≥ 3:1. It runs with the smoke config.

Tests

  • Unit: 175 passed (npm test). New tests cover the Fields panel and label placement. Existing tests were updated for the new wording (X-Ray headline and actions, Paths region, outline counts).
  • E2E, all passing locally against the static and scanner builds:
    • smoke + visual-themes: 26
    • overview proof: 22
    • X-Ray: 4
    • Stack View: 18
    • One overview test ("connection legend and a selected curve…") failed once out of four runs on SwiftShader and then passed twice in a row. It looks timing-related, not a regression.
  • Selectors were updated for the new names (Fields, More actions, On the atlas / Grouped by field), and the node-count regex now allows thousands separators. The overview proof now reads the label boxes the drawer actually used (test-hooks build only) instead of assuming every label sits to the right of its node.
  • npm run size: every budget passes (js 152.1 / 168 KB, css 13.6 / 15 KB).
  • Lint and type check are clean.

Generated by Claude Code

…y, node panel, naming

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o
…Apps/Stack wording, shortcuts groups

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o
…nd headings, bottom sheets, selection history

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o
…e tests for new wording

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o
…s real label boxes, X-Ray menu closes on choice

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o
…nvas; before/after screenshots

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o
@rushilrawat rushilrawat self-assigned this Nov 24, 2026
@rushilrawat
rushilrawat merged commit ae5ade6 into feat/ui-polish Nov 24, 2026
4 checks passed
rushilrawat added a commit that referenced this pull request Nov 24, 2026
PR #33 was merged into feat/ui-polish after #32 had already been
squash-merged to main, so its changes never reached main. This brings
the same tree onto main.


Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o

Co-authored-by: Claude <noreply@anthropic.com>
rushilrawat added a commit that referenced this pull request Nov 24, 2026
* Big UI polish: arrow controls, app logos, role emojis, X-Ray legend lines

- ← / → everywhere: arrow keys move through toolbars, app/role/path grids,
  chips and step dots (Home/End too); "← prev · n / N · next →" steppers
  for apps, roles and example scans; [ / ] step from anywhere; guided path
  Previous/Next get arrows. Arrow keys inside these groups no longer move
  the atlas.
- Company logos on the Apps panel, app header and "Used by" chips, from
  Simple Icons (CC0) in a 13.5 KB lazy chunk; monogram tiles for the five
  brands Simple Icons doesn't carry. Category filter chips.
- An emoji for each of the 32 roles; role header shows the role's name.
- X-Ray legend explains the white relationship lines and faint context lines.
- Phones: the mode toolbar scrolls behind a → button instead of running
  off-screen. Side panels stop covering the Connections legend; the X-Ray
  legend no longer runs under the X-Ray panel; long stack names wrap.
- ?role= opens the roles list (like ?app=). Shortcuts help lists the new keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEKMjZxFrWhHMr4hVKb

* Fix every UI/UX audit finding (F1–F25, B1–B4) (#33)

* Fix audit findings F1-F3, F5-F10, F13-F15, F18: framing, labels, X-Ray, node panel, naming

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o

* Fix audit: Paths side panel, Fields panel, field members list, Roles/Apps/Stack wording, shortcuts groups

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o

* Fix audit F19-F25, B1, B2: tablet More menu, phone X-Ray key, focus and headings, bottom sheets, selection history

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o

* Fix audit: numbered path stops, conventions doc, two-theme e2e; update tests for new wording

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o

* Fix audit: sub-field names from the first zoom step, label proof reads real label boxes, X-Ray menu closes on choice

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o

* Fix audit: highlighted sets name only their fields, labels stay on canvas; before/after screenshots

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EMFEEMA2B9XM5tagtdT39o

---------

Co-authored-by: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
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.

2 participants