Skip to content

Offer notifications from a dismissible sidebar card - #5395

Draft
brsbl wants to merge 6 commits into
bb/setup-tracking-thr_gt5eeahuymfrom
bb/sidebar-notification-card-thr_gt5eeahuym
Draft

brsbl wants to merge 6 commits into
bb/setup-tracking-thr_gt5eeahuymfrom
bb/sidebar-notification-card-thr_gt5eeahuym

Conversation

@brsbl

@brsbl brsbl commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Notification permission needs a contextual invitation once a thread starts, with a durable way to decline it.

What changed

Show the shared sidebar card when a thread starts and browser permission is undecided. Request permission only after Notify me, remember dismissal, and record anonymous prompt outcomes through the setup telemetry route.

Extracted from #5222 without rewriting its history.

How you verified

Remote CI passed at f87ca66bd323ec553c474641e8e3cf30dd47c3b0. Cumulative static review found no P0/P1 issues in this layer.

QA PASS on that head in Chrome for Testing 154.0.8037.92: starting an offline Echo thread reveals the card and emits one strict notification_prompt_shown event; the card survives thread completion and hard reload. Dismissal survives reload. Notification permission stays default until “Notify me” is clicked; a real browser denial records notification_prompt_denied and hides the card. No observed page errors. QA used BB_TELEMETRY=false.

Verified desktop light/dark and the open phone-width sidebar. The added privacy wording also renders correctly in Chrome and real Safari 26.5.2. Full-window captures use 2× density: desktop 1440 × 900 and phone-width 390 × 844. Compare parent e21ae9dbd6 with this head using the same persisted-card fixture.

Surface Before After
Sidebar, light Before: sidebar After: notification card
Sidebar, dark Before: dark sidebar After: dark notification card
Phone-width sidebar Before: phone sidebar After: phone notification card
Privacy policy Before: setup disclosure After: notification disclosure

User screenshot sign-off remains pending. No merge requested.

BB-Thread-ID: thr_gt5eeahuym

BB-Thread: Onboarding

AGENT GENERATED

@brsbl
brsbl added this pull request to stack #5397 October 12, 2026 21:20
@brsbl
brsbl removed this pull request from stack #5397 October 12, 2026 22:22
@brsbl
brsbl added this pull request to stack #5407 October 12, 2026 22:22
@brsbl
brsbl removed this pull request from stack #5407 October 12, 2026 22:23
@brsbl
brsbl changed the base branch from bb/setup-tracking-thr_gt5eeahuym to main October 12, 2026 22:23
@brsbl
brsbl changed the base branch from main to bb/setup-tracking-thr_gt5eeahuym October 12, 2026 22:23
@brsbl
brsbl added this pull request to stack #5408 October 12, 2026 22:23
# Conflicts:
#	apps/web/src/routes/privacy.tsx
#	docs/configuration.md
@brsbl
brsbl removed this pull request from stack #5408 October 12, 2026 22:53
@brsbl
brsbl changed the base branch from bb/setup-tracking-thr_gt5eeahuym to main October 12, 2026 22:54
@brsbl
brsbl changed the base branch from main to bb/setup-tracking-thr_gt5eeahuym October 12, 2026 22:54
@brsbl
brsbl added this pull request to stack #5409 October 12, 2026 22:54
@brsbl
brsbl removed this pull request from stack #5409 October 12, 2026 22:57
@brsbl
brsbl changed the base branch from bb/setup-tracking-thr_gt5eeahuym to main October 12, 2026 22:57
@brsbl
brsbl changed the base branch from main to bb/setup-tracking-thr_gt5eeahuym October 12, 2026 22:57
@brsbl
brsbl added this pull request to stack #5410 October 12, 2026 22:57

This branch has not been deployed

No deployments
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