Skip to content

fix(ui): round Activity cards and inline replies, presence cut-outs, hugging Activity filter - #3205

Merged
stamp-build[bot] merged 3 commits into
mainfrom
agent/sindresorhus/visual-radius
Oct 20, 2026
Merged

stamp-build[bot] merged 3 commits into
mainfrom
agent/sindresorhus/visual-radius

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

View in Stamp

sindresorhus from raft opened this pull request through Stamp


Three visual fixes artin found on the 1.15.0 (all-CMP) build, per raft-design radius/stroke tokens.

  1. Activity cards: square → container radius (10dp) on the card, its border and the selected sticker shadow.
  2. Avatar presence light: adds the canvas-coloured cut-out ring the web has (raft-ui 0.8.0 AvatarBadge: outline-2 outline-layer-canvas; on xs/2xs avatars the light is 7px with a 1px ink edge and 1px cut-out). Applied in RaftAvatarWithStatus, so every avatar-with-status gets it; sidebar channel/DM light 8dp → 7dp (2xs).
  3. Inline "N replies" block under messages: raft-ui MessageReplies rounded-container (10dp).
  4. Activity filter (All / Unread / Mentions): the SegmentedControl hugs its items instead of stretching an empty grey tray across the row (raft-ui 0.8.0).

Stacked on #3203 (Slock → Raft rename); will rebase onto main once it merges.

Before/after: Visual Testing runs with case_filter = components.home.activity.results, components.thread.message-row.inline-replies, components.home.sidebar.row-states (main vs this branch); screenshots posted in the PR thread.

🤖 Generated with Claude Code

@stamp-build stamp-build Bot changed the title fix(ui): round Activity cards and inline replies, cut out avatar presence lights fix(ui): round Activity cards and inline replies, presence cut-outs, hugging Activity filter Oct 20, 2026
@stamp-build
stamp-build Bot force-pushed the agent/lagoon/rename branch from 57ec03b to 967c654 Compare October 20, 2026 04:56
@stamp-build stamp-build Bot added the full-ci label Oct 20, 2026
@stamp-build
stamp-build Bot force-pushed the agent/sindresorhus/visual-radius branch from df42794 to f6179f0 Compare October 20, 2026 05:39
@stamp-build
stamp-build Bot changed the base branch from agent/lagoon/rename to main October 20, 2026 05:40
@stamp-build
stamp-build Bot force-pushed the agent/sindresorhus/visual-radius branch from f6179f0 to 263220a Compare October 20, 2026 08:07
…ence lights

- Activity rows: container radius (10dp) on the card, its border and the
  selected sticker shadow.
- Inline "N replies" surface: raft-ui MessageReplies rounded-container.
- RaftAvatarWithStatus: canvas-coloured cut-out around the presence light
  (2dp; 1dp with a 1dp ink edge for the 7dp light on xs/2xs avatars), as
  raft-ui 0.8.0 AvatarBadge. Sidebar channel/DM avatar light 8dp -> 7dp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stamp-build
stamp-build Bot force-pushed the agent/sindresorhus/visual-radius branch from 352157b to e07e0b6 Compare October 20, 2026 12:06
stamp-build Bot and others added 2 commits October 20, 2026 12:32
… per avatar step

Re-applies #3207 (352157b), dropped when this branch was rebased onto main.

- RaftAppAvatar draws through RaftAppAvatarFrame: 4dp sticker, 1.5dp
  sticker-ink edge, dark-mode sticker-edge ring, face inset with 2dp corners.
- Pixel faces: one Canvas renderer with whole-pixel cell edges; the
  isRaftNativePixelAvatarViewSupported expect/actuals are gone.
- No photo: 1-2 initials sized per RaftAvatarStep (icon when there is no
  usable name) on fallbackFill (agents on inactive, people lavender).
- RaftAvatarWithStatus sizes the presence light, ink edge, cut-out and
  overhang from the nearest avatar step; replaces the simpler cut-out
  (cutoutWidth / avatarBorderWidth / AvatarSize) and callers drop statusSize.
- Models derive avatarLabel via toRaftAvatarLabel(); initials helpers move
  to designsystem RaftAvatarInitials.kt.

Ported onto main's structure: raft-ui is the only path (no brutal branches);
DirectMessageAvatar and MembersStickerAvatar keep main's layout and pass the
full name and fallback fill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	compose/shared/src/commonMain/kotlin/build/raft/app/MembersPage.kt
@stamp-build
stamp-build Bot merged commit 260d68f into main Oct 20, 2026
7 checks passed
stamp-build Bot added a commit that referenced this pull request Oct 20, 2026
- MembersAgentDmRow: #3210 replaced the row body and lost the avatar cache
  identity that 0cd1357 added; recompute it from the peer profile.
- RaftAppPresence.homeRowColor: a stray @composable left by the #3205 avatar
  port on a property without a backing field.

Co-authored-by: sindresorhus <raft+sindresorhus@agents.stamp.build>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants