PWA "New Entry" shortcut points at unregistered /entries/new → "Entry not found" #111

Closed
opened 2026-07-15 19:52:55 +00:00 by claude-bot · 1 comment
Contributor

Severity: Medium · Confidence: High · Effort: XS · Category: ui

Evidence

  • app/public/manifest.json:19-24 - shortcut url: /entries/new.
  • app/src/App.tsx:101-102 - only entries and entries/:id registered; app/src/pages/Entries/EntryDetailPage.tsx:53-58 - /entries/newGET /api/entries/new → "Entry not found."

Problem
Long-pressing the installed PWA icon → "New Entry" opens /entries/new, which matches entries/:id, fetches a non-existent entry, and shows "Entry not found."

Impact
The one home-screen shortcut the PWA advertises lands on an error page.

Fix
Add a real /entries/new route opening EntryForm, or repoint the shortcut at /entries?new=1 and open the create form from that param.

Acceptance criteria

  • The PWA "New Entry" shortcut opens a working create form.

Related: F-20 (missing PWA icons).


Filed from the 2026-07-15 codebase audit. Full report: docs/.internal/report-2026-07-15.md (gitignored).

**Severity:** Medium · **Confidence:** High · **Effort:** XS · Category: ui **Evidence** - `app/public/manifest.json:19-24` - shortcut `url: /entries/new`. - `app/src/App.tsx:101-102` - only `entries` and `entries/:id` registered; `app/src/pages/Entries/EntryDetailPage.tsx:53-58` - `/entries/new` → `GET /api/entries/new` → "Entry not found." **Problem** Long-pressing the installed PWA icon → "New Entry" opens `/entries/new`, which matches `entries/:id`, fetches a non-existent entry, and shows "Entry not found." **Impact** The one home-screen shortcut the PWA advertises lands on an error page. **Fix** Add a real `/entries/new` route opening `EntryForm`, or repoint the shortcut at `/entries?new=1` and open the create form from that param. **Acceptance criteria** - [ ] The PWA "New Entry" shortcut opens a working create form. Related: F-20 (missing PWA icons). --- _Filed from the 2026-07-15 codebase audit. Full report: `docs/.internal/report-2026-07-15.md` (gitignored)._
claude-bot changed title from PWA "New Entry" shortcut points at unregistered /entries/new ? "Entry not found" to PWA "New Entry" shortcut points at unregistered /entries/new → "Entry not found" 2026-07-15 20:38:43 +00:00
Author
Contributor

The PWA 'New Entry' shortcut now points at /entries?new=1, which opens the create form on the list (param stripped after) — no more landing on the entries/:id route and a 'Entry not found' page.

Shipped in 59e4fdd (test fix 6561f9a), part of the v7.3.0 milestone. Verified on dev (v7.2.1-3-g6561f9a): app suite 65/65 and api suite 268/268 green on the dev server; the one CI red was the known runner flake (iac#159), not this change.

The PWA 'New Entry' shortcut now points at `/entries?new=1`, which opens the create form on the list (param stripped after) — no more landing on the `entries/:id` route and a 'Entry not found' page. Shipped in `59e4fdd` (test fix `6561f9a`), part of the v7.3.0 milestone. Verified on dev (`v7.2.1-3-g6561f9a`): app suite 65/65 and api suite 268/268 green on the dev server; the one CI red was the known runner flake (iac#159), not this change.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
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
rbrooks/TeaLeaves#111
No description provided.