Monorepo for Tangled tangled.org

Add PWA support for tangled.org #624

merged opened by vielle.dev targeting master from vielle.dev/core: pwa

could use some screenshots for "rich" install but is more than fine rn and gets the job done

Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:4zht3z4caxwrw3dlsybodywc/sh.tangled.repo.pull/3m23lvkz6mp22
+4 -4
Interdiff #0 โ†’ #1
+1 -1
appview/pages/templates/layouts/base.html
··· 15 15 <link rel="preconnect" href="https://camo.tangled.sh" /> 16 16 17 17 <!-- pwa manifest --> 18 - <link rel="manifest" href="/static/pwa-manifest.json" /> 18 + <link rel="manifest" href="/pwa-manifest.json" /> 19 19 20 20 <!-- preload main font --> 21 21 <link rel="preload" href="/static/fonts/InterVariable.woff2" as="font" type="font/woff2" crossorigin />
+1 -1
appview/pages/templates/user/completeSignup.html
··· 20 20 content="complete your signup for tangled" 21 21 /> 22 22 <script src="/static/htmx.min.js"></script> 23 - <link rel="manifest" href="/static/pwa-manifest.json" /> 23 + <link rel="manifest" href="/pwa-manifest.json" /> 24 24 <link 25 25 rel="stylesheet" 26 26 href="/static/tw.css?{{ cssContentHash }}"
+1 -1
appview/pages/templates/user/login.html
··· 8 8 <meta property="og:url" content="https://tangled.org/login" /> 9 9 <meta property="og:description" content="login to for tangled" /> 10 10 <script src="/static/htmx.min.js"></script> 11 - <link rel="manifest" href="/static/pwa-manifest.json" /> 11 + <link rel="manifest" href="/pwa-manifest.json" /> 12 12 <link rel="stylesheet" href="/static/tw.css?{{ cssContentHash }}" type="text/css" /> 13 13 <title>login &middot; tangled</title> 14 14 </head>
+1 -1
appview/pages/templates/user/signup.html
··· 8 8 <meta property="og:url" content="https://tangled.org/signup" /> 9 9 <meta property="og:description" content="sign up for tangled" /> 10 10 <script src="/static/htmx.min.js"></script> 11 - <link rel="manifest" href="/static/pwa-manifest.json" /> 11 + <link rel="manifest" href="/pwa-manifest.json" /> 12 12 <link rel="stylesheet" href="/static/tw.css?{{ cssContentHash }}" type="text/css" /> 13 13 <title>sign up &middot; tangled</title> 14 14
appview/state/router.go

This file has not been changed.

appview/state/state.go

This file has not been changed.

History

3 rounds 3 comments
sign up or login to add to the discussion
1 commit
expand
appview/state,appview/pages/templates: add installable pwa support for tangled
expand 2 comments

lgtm! thanks so much for working on this and the speedy response on discord!

works like a charm on chrome on android, firefox does not seem to detect the favicon however (and only allows a shortcut, not "installation"), but lets merge this in anyhow!

pull request successfully merged
2 commits
expand
Add PWA installable support for tangled
Fix the manifest url
expand 0 comments
1 commit
expand
Add PWA installable support for tangled
expand 1 comment