Skip to content

feat(dashboard): Tell apart Spaces whose names share a prefix - #4365

Merged
dcramer merged 1 commit into
mainfrom
feat/space-tile-initials
Nov 25, 2026
Merged

dcramer merged 1 commit into
mainfrom
feat/space-tile-initials

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

The Space tile showed the first letter of the name, so "Junior Spaces", "Junior Evals", and "Junior Infra" all showed J. Only the color, hashed from the Space ID over 8 hues, could tell them apart.

  • Glyph: initials of the first and last words: JS, JE, JI, and JN for "Junior Evals Nightly". A one-word name keeps one letter. Names split on spaces and - _ / . :, and words with no letter or digit are skipped.
  • Color: FNV-1a over the Space ID across 12 hues. Light mode text moves from the 700 to the 800 shade, because 700 on the tint was below 4.5:1 contrast for most hues. Existing Spaces change color once.
  • Type step: two letters need 9px to fit the 16px pane tile. This adds text-3xs for that glyph only. check-dashboard-styles rejects it outside SpaceTile.tsx, and the ban on arbitrary text-[N] sizes stays. policies/frontend-components.md says the same.

Space tiles in dark and light mode: Space header, desktop pane, phone pane

via @dcramer.

--

View Session [Sentry]

The Space tile showed the first letter of the name, so Spaces such as
"Junior Evals" and "Junior Infra" got the same glyph. Show the initials
of the first and last words instead, and hash the Space ID with FNV-1a
over 12 hues. Light mode text moves to the 800 shade so every hue keeps
4.5:1 contrast.

Two letters need a 9px step to fit the 16px pane tile. Add text-3xs for
that glyph only, and make check-dashboard-styles reject it elsewhere.

Co-Authored-By: David Cramer <[email protected]>
@vercel

vercel Bot commented Nov 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 25, 2026 8:59pm UTC

Request Review

@github-actions github-actions Bot added the risk: high PR risk score: high label Nov 25, 2026
@dcramer
dcramer enabled auto-merge (squash) November 25, 2026 21:03
@github-actions

Copy link
Copy Markdown
Contributor

295 screenshot changes — 295 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Attention · Desktop
Automation Attention · Desktop
Changed
Automation Details Failing · Desktop
Automation Details Failing · Desktop
Changed
Automation Details Failing Light · Desktop
Automation Details Failing Light · Desktop
Changed
Automation Details Healthy · Desktop
Automation Details Healthy · Desktop
Changed
Automation Details Long Instruction · Desktop
Automation Details Long Instruction · Desktop
Changed
Automation Editor · Desktop
Automation Editor · Desktop
Changed
Show 12 more changed screenshots
Automation Editor Conflict · Desktop
Automation Editor Conflict · Desktop
Changed
Automation Editor Public · Desktop
Automation Editor Public · Desktop
Changed
Automation Event Editor · Desktop
Automation Event Editor · Desktop
Changed
Automation Event Editor Any Resource · Desktop
Automation Event Editor Any Resource · Desktop
Changed
Automation Overview Run Details · Desktop
Automation Overview Run Details · Desktop
Changed
Automation Page · Desktop
Automation Page · Desktop
Changed
Automation Page Light · Desktop
Automation Page Light · Desktop
Changed
Automation Paused · Desktop
Automation Paused · Desktop
Changed
Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automation Run Details Light · Desktop
Automation Run Details Light · Desktop
Changed
Automation Runs · Desktop
Automation Runs · Desktop
Changed
Automation Skill Drawer · Desktop
Automation Skill Drawer · Desktop
Changed

277 more changed screenshots in Frameshift.

@dcramer
dcramer merged commit aac01e7 into main Nov 25, 2026
58 checks passed
@dcramer
dcramer deleted the feat/space-tile-initials branch November 25, 2026 21:10
dcramer added a commit that referenced this pull request Nov 25, 2026
…4372)

Members can now rename a Space and change its description from the
dashboard. The API already supported this (`PATCH /api/spaces/:spaceId`,
member-only), but no UI used it.

- The create dialog is now `SpaceFormDialog`. With a `space` it edits
that Space, prefilled, and Save stays disabled until something changes.
- "Edit Space" is in the Space menu in the header. Each Space in the
pane now has a context menu (right-click or long press) with the same
rows: Edit, Archive/Restore, and Leave. Both menus share
`useSpaceActions`.
- After a save, the dashboard reads Conversation feeds and the details
of Conversations in that Space again, so "Space: …" labels and the Lead
show the new name.

The edit form has no visibility field. `design/spaces.md` says a Space's
visibility is set when it is created and never changes, and the API
refuses a visibility change. Making a public Space private would also
change which Conversations people can read (#4335). That
needs a design change first.

The Space tile shows the name's initial, so a rename changes the tile.
After #4365 merges, it shows first and last initials.

<!-- junior-request-attribution:start -->
via @dcramer.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:local%3Aweb%3Afc258573947c28ac60459295 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/local%3Aweb%3Afc258573947c28ac60459295)
[[Sentry]](https://sentry.sentry.io/explore/conversations/local%3Aweb%3Afc258573947c28ac60459295/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: David Cramer <[email protected]>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 78916897 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant