Skip to content

Big UI polish: ← / → arrow controls, company logos, role emojis, X-Ray legend lines - #32

Merged
rushilrawat merged 1 commit into
mainfrom
feat/ui-polish
Nov 24, 2026
Merged

rushilrawat merged 1 commit into
mainfrom
feat/ui-polish

Conversation

@rushilrawat

Copy link
Copy Markdown
Owner

Requested by Rush · project thread

Summary

The big UI polish pass: ← / → controls for moving between buttons, company logos in Apps, emojis for every role, and a sweep of layout and legend fixes.

← / → arrows for moving between buttons

  • Arrow keys move focus through the mode toolbar, the apps grid, category chips, role list, role checklists, the guided-paths library (cards and filters), the X-Ray example gallery, "Used by" chips, hero buttons and guided-path dots. Home and End jump to the first and last button. Inside these groups the arrow keys no longer move the atlas (data-arrow-nav, src/util/arrowNav.ts).
  • Step buttons (← Stripe · 7 / 40 · GitHub →) in an app, a role and an example X-Ray scan, with the neighbour's name and logo or emoji on each button. [ and ] do the same from anywhere on the page, and also step through a guided path. Guided path Previous and Next now have arrows.
  • Scroll arrows: rows that don't fit show ← / → buttons (ScrollRow). On phones the mode toolbar used to run off-screen, hiding the learning-map, help, fullscreen and theme buttons. It now scrolls behind a → button.
  • The shortcuts help (?) lists the new keys.

Company logos in Apps

  • 35 of the 40 apps get their real logo on a brand-coloured tile, in the grid, the app header and "Used by" chips on a technology. Logos come from Simple Icons (CC0). They're trademarks of each company and are shown only to identify it. Slack, LinkedIn, ChatGPT, Canva and Pokémon GO aren't in Simple Icons (some brands asked to be removed), so they get a monogram tile.
  • The marks load as their own chunk (13.5 KB gzip), only when a logo is first drawn. npm run size now has a logos budget (18 KB). Regenerate after adding an app: node scripts/build-app-logos.mjs (simple-icons is a devDependency, pinned to 16.38.1).
  • The app header also shows the category and the company's site. Category filter chips are ordered biggest first, and cards show the technology count as a badge, so the meta line no longer wraps.

Emojis for roles

  • Each of the 32 roles has its own emoji (src/graph/roleEmoji.ts; a test fails if a role has none or two roles share one). It shows in the list, the role header (which now names the role instead of the generic "Role path"), the jump menu and the step buttons.

Other fixes

  • X-Ray legend now explains the lines. A white line is an atlas relationship between two detections, not code co-occurrence. Hovering or pressing ? also shows the faint line to related, undetected nodes. The expanded legend wraps instead of running under the X-Ray panel.
  • Side panels (Apps, Roles, Stack) stop covering the Connections legend in the bottom-left corner on desktop.
  • Long stack names in an app ("Google Cloud Platform") wrap instead of being cut off.
  • ?role= opens the roles list, like ?app= does for apps.
  • "All apps" and "All roles" are marked as back buttons, and the new buttons have focus rings.

Screenshots

Before After
before apps apps list
before phone toolbar phone toolbar

App detail with step arrows: app detail
Keyboard: arrow keys moved focus to Stripe: keyboard
Roles with emojis: roles
Role detail: role detail
Role on a phone: mobile role
X-Ray legend explains the lines, with example-scan arrows: xray
"Used by" with logos: used by
Guided path ← Previous / Next →: path
Light theme: light
Shortcuts help: shortcuts

Testing

  • tsc -b, eslint ., vitest run: 170 tests passed, including new uiPolish.test.tsx (arrow traversal, steppers and [ ] keys, logo coverage, monograms, role emojis) and the ?role= round trip.
  • npm run size: everything is within budget. Entry JS is 148.6 KB, CSS 12.4 KB and logos 13.5 KB.
  • Playwright, run locally against Chromium:
    • Smoke: 14 of 14 passed, including 3 new tests (logos, arrow keys and app stepping; role emojis, ?role= and ]; the phone toolbar scrolls with no page overflow).
    • X-Ray: 4 of 4 passed.
    • Stack View: 18 of 18 passed.
    • Overview: 21 of 22 passed. "guided path follows real nodes" fails the same way on main (it expects DNS after one Next). "connection legend…selected curve" failed once and passed on the next three runs; it's a known flaky test.

Generated by Claude Code

…ines

- ← / → 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
@rushilrawat rushilrawat self-assigned this Nov 23, 2026
@rushilrawat
rushilrawat merged commit 37940e0 into main 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>
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