Skip to content

Fix shared resource metadata clipping on phones - #5101

Merged
ymichael merged 1 commit into
mainfrom
bb/fix-clipped-schedule-text-in-automations-list-on-thr_7vsixzway6
Oct 7, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/fix-clipped-schedule-text-in-automations-list-on-thr_7vsixzway6

Conversation

@ymichael

@ymichael ymichael commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

ResourceMeta attached separators to items that wrapped onto new lines on
phones. Nested inline content could overflow its truncation wrapper,
hard-clipping long automation schedules instead of displaying an ellipsis.

What changed

Stack shared resource metadata and hide separators below the small-screen
breakpoint. Bound items and nested content to the available width so text
truncates with an ellipsis. Retain inline metadata and separators on desktop.
Regenerate the plugin registry resource-atoms item; resource-list already
references that item. Keep Automations using ResourceMeta and add a responsive
Ladle story covering long schedules and lifecycle states.

How you verified

  • Reproduced through read-only inspection of the primary server; no automations
    were changed.
  • Retook and reviewed before/after source Ladle screenshots at 390px and 1280px.
  • Verified 320px, 390px, 640px, and 1280px in Chromium: no horizontal overflow,
    no phone separators, desktop separators retained, and a schedule ellipsis
    at 320px. Inspected active, paused, completed, running, and failed rows.
  • pnpm exec turbo run typecheck lint --filter=@bb/shared-ui
    --filter=@bb/plugin-registry --filter=bb-plugin-automations --filter=@bb/app
    passed. App lint reported 250 warnings and plugin lint five, with no errors.
  • shared-ui has no lint script; direct oxlint on the touched source passed.
  • pnpm exec turbo run test --filter=@bb/plugin-registry passed (one test),
    including generated registry consistency checks.
  • Formatting and git diff --check passed. iOS Safari was not tested.

AGENT GENERATED

## What was wrong

ResourceMeta attached separators to items that wrapped onto new lines on
phones. Nested inline content could overflow its truncation wrapper,
hard-clipping long automation schedules instead of displaying an ellipsis.

## What changed

Stack shared resource metadata and hide separators below the small-screen
breakpoint. Bound items and nested content to the available width so text
truncates with an ellipsis. Retain inline metadata and separators on desktop.
Regenerate the plugin registry resource-atoms item; resource-list already
references that item. Keep Automations using ResourceMeta and add a responsive
Ladle story covering long schedules and lifecycle states.

## How you verified

- Reproduced through read-only inspection of the primary server; no automations
  were changed.
- Retook and reviewed before/after source Ladle screenshots at 390px and 1280px.
- Verified 320px, 390px, 640px, and 1280px in Chromium: no horizontal overflow,
  no phone separators, desktop separators retained, and a schedule ellipsis
  at 320px. Inspected active, paused, completed, running, and failed rows.
- pnpm exec turbo run typecheck lint --filter=@bb/shared-ui
  --filter=@bb/plugin-registry --filter=bb-plugin-automations --filter=@bb/app
  passed. App lint reported 250 warnings and plugin lint five, with no errors.
- shared-ui has no lint script; direct oxlint on the touched source passed.
- pnpm exec turbo run test --filter=@bb/plugin-registry passed (one test),
  including generated registry consistency checks.
- Formatting and git diff --check passed. iOS Safari was not tested.

> AGENT GENERATED
@ymichael
ymichael merged commit fe3d743 into main Oct 7, 2026
47 checks passed
@ymichael
ymichael deleted the bb/fix-clipped-schedule-text-in-automations-list-on-thr_7vsixzway6 branch October 7, 2026 17:56
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