Skip to content

Fix mobile message action story presentation - #5109

Merged
ymichael merged 2 commits into
mainfrom
bb/align-mobile-inline-message-actions-thr_kdru9kv6qc
Oct 7, 2026
Merged

ymichael merged 2 commits into
mainfrom
bb/align-mobile-inline-message-actions-thr_kdru9kv6qc

Conversation

@ymichael

@ymichael ymichael commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

The mobile actions story forced Copy visible on desktop while leaving the
adjacent overflow control transparent, creating an apparent empty slot under
the latest user bubble. Its agent message also claimed Fork was inline.

Selective PR CI also exposed a missing prerequisite in the SDK npm guard:
it built runtime files without generating declarations, then reported the
absent declaration files as published-package drift.

What changed

Remove the stale story CSS and describe Copy inline with Fork in the overflow
menu. The story follows the production component's responsive behavior. The
real app was correct at a 390px touch viewport, so production UI is unchanged.

Request both build and build:types through Turbo before the npm guard packs
the SDK. No SDK version or public API changes.

How you verified

  • Inspected real threads read-only on the primary server at 390px with touch.
  • Reviewed before/after Ladle screenshots at 390px touch and 1280px desktop.
  • Opened the agent overflow menu and confirmed Fork; hovered the latest user
    row on desktop and confirmed Copy and the overflow control appear.
  • App typecheck and lint passed, including after rebasing onto current main.
  • Reproduced the SDK guard failure with declarations absent, then verified
    it passes after generating declarations. The guard now requests that task.
  • SDK typecheck and lint passed.
  • git diff --check passed. iOS Safari was not tested.

AGENT GENERATED

## What was wrong

The mobile actions story forced Copy visible on desktop while leaving the
adjacent overflow control transparent, creating an apparent empty slot under
the latest user bubble. Its agent message also claimed Fork was inline.

## What changed

Remove the stale story CSS and describe Copy inline with Fork in the overflow
menu. The story now follows the production component's responsive behavior.
The real app was correct at a 390px touch viewport, so this change is confined
to the story.

## How you verified

- Inspected real threads read-only on the primary server at 390px with touch:
  user actions and the trailing overflow control were visible.
- Reviewed before/after Ladle screenshots at 390px touch and 1280px desktop.
- Opened the agent overflow menu and confirmed Fork; hovered the latest user
  row on desktop and confirmed both Copy and the overflow control appear.
- pnpm exec turbo run typecheck lint --filter=@bb/app passed; lint reported
  existing warnings and no errors.
- git diff --check passed. iOS Safari was not tested.

> AGENT GENERATED
@ymichael
ymichael force-pushed the bb/align-mobile-inline-message-actions-thr_kdru9kv6qc branch from 6236efc to 412e52a Compare October 7, 2026 17:57
Selective CI builds can omit bundled declarations. Request build:types alongside the runtime build before packing the SDK for its npm guard. Verified the guard passes and SDK typecheck/lint pass.

> AGENT GENERATED
@ymichael
ymichael merged commit b931984 into main Oct 7, 2026
48 checks passed
@ymichael
ymichael deleted the bb/align-mobile-inline-message-actions-thr_kdru9kv6qc branch October 7, 2026 18:11
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