generated from eblume/project-template
heph-pwa: mobile app (PWA mirror of heph-tui) + hub static serving #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/heph-pwa-mobile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
A phone-first, installable PWA that mirrors
heph-tui: browse the built-inviews + projects, triage tasks, and — the primary use case — capture tasks fast
with the same quick-add syntax as the desktop Cmd-' popover. Context/KB is
read-only. Online-only thin client of a server-mode
hephd.Chosen as a PWA (not native Swift) because a native iOS app can't be signed or
built without an Apple Developer account; the PWA delivers the primary use case
today and is installable to the home screen.
Backend (
hephd)OPTIONSpreflight on the hub HTTP routes.--web-rootstatic serving (index.html SPA fallback) so the hubcan host the app same-origin. No new crate deps; covered by
tests/web_serve.rs.so a store-owning hub can both host the app and drive the desktop popover.
App (
heph-pwa/)quickadd.js/datespec.jsare faithful ports of theRust parsers, verified by
test/parsers.test.mjs(parity with the Rust unitcases).
attention flags / project bullets / date chips; tap-to-expand triage
(done/drop/skip/attention/reschedule/move/delete + undo); search; read-only
context+log preview.
(iOS keyboard dictation / Web Speech API). Defaults its hub URL to the serving
origin (zero-config); re-fetches the current view on window focus.
Docs
docs/how-to/heph-pwa.md— the app (features, quick-add, voice, triage).docs/how-to/host-heph-pwa.md— production runbook: host from the indri hubwith OIDC in the hub/spoke setup.
Testing
cargo test -p hephd(incl. newweb_serve.rs) — greennode --test heph-pwa/test/parsers.test.mjs— 13/13RankedTasks from the live hub); CORS/preflight/static/SPA-fallback via curl
Known follow-ups