Phones can't turn on notifications: *Notify this device* is desktop-only #95

Closed
opened 2026-10-03 06:38:01 +00:00 by jhgaylor · 0 comments
Owner

The README says: "On the phone, add it to the home screen, then Notify this device in the session menu." On a phone there's no such item, so push notifications (a headline feature on the page) never get turned on.

Why: notificationItems() (web/src/ui/app.tsx) is only spread into the desktop TopBar session menu. Below 700px usePhone() swaps in PhoneHeader (web/src/ui/phone.tsx), whose sheet has no notification row; nothing else calls enablePush. web/e2e/structure.spec.ts only checks the desktop menu.

Close it by

  • A Notify this device row in the phone sheet, the same state machine as notificationItems (on/off/blocked/unsupported), plus Notify me about its agents.
  • A phone-viewport e2e that finds it and turns it on.

Done when following the README's phone step on a phone gets a test notification.

The README says: "On the phone, add it to the home screen, then *Notify this device* in the session menu." On a phone there's no such item, so push notifications (a headline feature on the page) never get turned on. **Why:** `notificationItems()` (`web/src/ui/app.tsx`) is only spread into the desktop `TopBar` session menu. Below 700px `usePhone()` swaps in `PhoneHeader` (`web/src/ui/phone.tsx`), whose sheet has no notification row; nothing else calls `enablePush`. `web/e2e/structure.spec.ts` only checks the desktop menu. **Close it by** - A *Notify this device* row in the phone sheet, the same state machine as `notificationItems` (on/off/blocked/unsupported), plus *Notify me about its agents*. - A phone-viewport e2e that finds it and turns it on. **Done when** following the README's phone step on a phone gets a test notification.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jhgaylor/illogical#95
No description provided.