mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Remove the composerLiveActivity preview flag so the live-activity hover
preview ships for everyone, and land the pill strip overflow behavior
for narrow containers.
Flag removal (ships by default):
- preview-features.json: drop the composerLiveActivity entry — absence
from the manifest means stable/always-on; E2E preview seeding and the
Settings > Experiments card both derive from the manifest, so they
pick this up automatically
- BotActivityBar.tsx: remove the useFeatureEnabled gate and the legacy
flag-off "View activity" popover item; the pill hover popover now
always renders ComposerLiveActivityFeed
- Remove the now-dead openAgentSessionPubkey plumbing through
BotActivityAgentPill / BotActivityComposerAction /
ChannelComposerActivityRow / ChannelPane — it only backed the legacy
item's active-session highlight
- Update stale flag references in ComposerLiveActivityFeed's doc
comment, the agents debug harness README, and a channels.spec.ts
comment
Pill strip overflow (BotActivityBar.tsx, ChannelComposerActivityRow.tsx):
- With several pills in a narrow container (thread panel toolbars
especially), pills keep their natural label-truncated width and the
strip scrolls horizontally — scrollbar hidden, edge gradient fades
signalling clipped pills — instead of compressing every pill into an
unreadable sliver
- New useStripOverflowFades hook tracks scroll position plus
scroller/content resizes (ResizeObserver) so fades appear and
disappear without a re-render triggering event
- A lone pill shrinks to fit (min-w-0) instead of scrolling — an edge
fade over a single pill reads as a cut-off bug, not an affordance
- layoutScroll on the scroller keeps motion's slot layout animations
measured relative to the scroll offset
- e2e: add "narrow strip scrolls horizontally with edge fades instead
of compressing pills" and "lone pill shrinks to fit a narrow
container without scroll fades"
Verified: tsc, biome check, desktop unit tests (3651 pass), and the
pill/strip/live-activity e2e subset. Two pre-existing channels.spec.ts
failures ("composer does not shift when the activity row mounts and
clears", "hovering the bar itself freezes pill order without opening a
card") reproduce identically on the parent commit with a clean tree —
unrelated to this change.
Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
36 lines
943 B
JSON
36 lines
943 B
JSON
{
|
|
"version": 1,
|
|
"features": [
|
|
{
|
|
"id": "workflows",
|
|
"name": "Workflows",
|
|
"description": "YAML-defined automations with approval gates",
|
|
"platforms": ["desktop"]
|
|
},
|
|
{
|
|
"id": "projects",
|
|
"name": "Projects",
|
|
"description": "Git repository browser and collaboration",
|
|
"platforms": ["desktop"]
|
|
},
|
|
{
|
|
"id": "pulse",
|
|
"name": "Pulse",
|
|
"description": "Activity feed with notes, social posts, and agent activity",
|
|
"platforms": ["desktop"]
|
|
},
|
|
{
|
|
"id": "forum",
|
|
"name": "Forum Channels",
|
|
"description": "Forum-style threaded channels for long-form discussions",
|
|
"platforms": ["desktop"]
|
|
},
|
|
{
|
|
"id": "agentManagedProfiles",
|
|
"name": "Agent-managed profiles",
|
|
"description": "Let agents manage their own relay name and avatar instead of restoring the desktop copy",
|
|
"platforms": ["desktop"]
|
|
}
|
|
]
|
|
}
|