Make the app an installable PWA with phone layout and Web Push

Add a generated manifest, icon set, offline page and service worker that never caches authenticated HTML, plus install and update UI. Turn the rail into a drawer below md with container-query internals, dvh and safe-area handling, and reconnect the socket after visibility/network changes. Add Web Push subscriptions, presence-aware delivery, notification settings and tests.
This commit is contained in:
2026-10-19 17:12:16 +01:00
parent 61098a114c
commit dbfe48796b
100 changed files with 3573 additions and 117 deletions
+14
View File
@@ -42,6 +42,20 @@ export type KnownEnv = {
* process environment.
*/
export const EnvDict: readonly KnownEnv[] = [
{
key: "VAPID_PUBLIC_KEY",
description:
"Web Push public key, shared with browsers that subscribe. Generated on first start when missing.",
required: false,
secret: false,
},
{
key: "VAPID_PRIVATE_KEY",
description:
"Web Push private key, used to sign notifications. Generated on first start when missing; never share it.",
required: false,
secret: true,
},
{
key: "MAIN_COMPUTER_URL",
description: `The main computer's address, for a server running outside docker (e.g. http://localhost:8170). Empty uses the docker network.`,