Skip to content

fix(frontend): polish actors list ui#5120

Draft
NicholasKissel wants to merge 1 commit into
mainfrom
NicholasKissel/actors-list-polish
Draft

fix(frontend): polish actors list ui#5120
NicholasKissel wants to merge 1 commit into
mainfrom
NicholasKissel/actors-list-polish

Conversation

@NicholasKissel
Copy link
Copy Markdown
Member

@NicholasKissel NicholasKissel commented May 31, 2026

What?

Small visual polish to the Actors instance list.

  • Display + search buttons now use the ghost variant so they match the muted + (create) button instead of rendering as dark bordered outline buttons.
  • Created timestamp drops from text-sm to text-xs so it matches the rest of the row text (SmallText was forcing the larger size).
  • STATUS column header label removed (empty cell kept so the status-dot column stays aligned). The colored dot is self-explanatory.
  • Copy click target on the ID and Key cells is now scoped to the text + copy icon via justify-self-start, instead of stretching across the whole grid cell. Long values still truncate within the column.

Why?

These are follow-up UI tweaks on the actors list flagged during review: the Display/search controls looked inconsistent with the create button, the timestamp was visually oversized, the STATUS header was redundant, and the full-width copy hit area made it easy to copy a key by accident when clicking anywhere in the row.

@railway-app
Copy link
Copy Markdown

railway-app Bot commented May 31, 2026

🚅 Deployed to the rivet-pr-5120 environment in rivet-frontend

Service Status Web Updated (UTC)
frontend-cloud 😴 Sleeping (View Logs) Web May 31, 2026 at 9:30 pm
website 😴 Sleeping (View Logs) Web May 31, 2026 at 9:30 pm
ladle ✅ Success (View Logs) Web May 31, 2026 at 9:25 pm
frontend-inspector ❌ Build Failed (View Logs) Web May 31, 2026 at 9:24 pm
mcp-hub ✅ Success (View Logs) Web May 31, 2026 at 9:22 pm
kitchen-sink ❌ Build Failed (View Logs) Web May 31, 2026 at 9:19 pm

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@NicholasKissel NicholasKissel changed the title fix(frontend): polish actors list ui (header, button colors, copy targets, timestamp size) fix(frontend): polish actors list ui May 31, 2026
@claude
Copy link
Copy Markdown
Contributor

claude Bot commented May 31, 2026

Code Review: fix(frontend): polish actors list ui

Overview

A focused UI polish PR (6 additions / 6 deletions across 3 files) that improves visual consistency of the Actors instance list. All changes are purely cosmetic with no logic impact.


What's changed

Area Change Assessment
Display + Search buttons outlineghost variant Correct — matches the create button's ghost style
Timestamp Adds explicit text-xs override Works, but see note below
Status column header <div>Status</div><div /> Clean; the colored dot is self-explanatory
ID / Key copy area Adds justify-self-start Correct grid property to shrink the hit area

Suggestions / observations

1. text-xs override on SmallText is a smell

// actors-list-row.tsx:183
<SmallText className="text-right text-xs text-muted-foreground justify-end inline-flex tabular-nums">

The explicit text-xs is needed to override whatever size SmallText bakes in. If every caller in this context wants text-xs, the component itself should be updated (or a narrower variant introduced) rather than having each call-site fight it. Not a blocker, but worth a follow-up to avoid the pattern spreading.

2. <div /> self-closing form

// actors-list-row.tsx:208
<div />

This is valid JSX, but some codebases prefer <div></div> for block elements to make it visually clear it's a block container. Check neighboring code — if the convention is <div></div>, keep it consistent.

3. justify-self-start on an inline-flex element

<span className="... inline-flex ... justify-self-start ...">

justify-self is a grid item property (not a flex property), so it only takes effect because the parent is a grid container. This is fine and correct for the current structure, but it's worth noting that removing the parent's grid or reparenting these spans could silently break the alignment. No action required unless the layout changes.


No concerns on

  • Security: purely presentational, no data flows changed.
  • Performance: no new re-renders or expensive operations introduced.
  • Test coverage: visual polish changes are generally not unit-tested; the PR description clearly documents before/after intent.

Summary

The changes are correct, minimal, and well-motivated. The only real note worth acting on is the text-xs override on SmallText — if that component always renders too large in tabular contexts, updating the component itself would be cleaner than per-call-site overrides. Everything else looks good to merge.

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