Rosa Gutierrez
ffb2a0b82a
Revert "Fix notification click URL by using correct data property"
...
This reverts commit 4f2308d380 .
This was from another branch, shoudln't have been included here.
2026-01-23 19:25:23 +01:00
Rosa Gutierrez
4f2308d380
Fix notification click URL by using correct data property
...
The web push payload sends the URL in data.url but the service
worker was looking for data.path, resulting in undefined URLs.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-23 16:38:45 +01:00
Kevin McConnell
d7c9c4f3b0
Remove unnecessary await in push handler
...
We were `await`ing a synchronous method here, which will have the effect
of deferring its execution, and thus also the `event.waitUntil` call. We
want the latter to happen before control returns from the event.
Removing the unnecessary `await` solves this.
This seems unlikely to be a problem in practice, but all the same, it's
not right :)
2026-01-23 12:12:22 +00:00
Jason Zimdars
789c00b87f
Dark theme color isn't black
...
I *think* we don't need the theme color in the manifest since it doesn't
have dark mode support anyway
2025-11-24 16:37:50 -06:00
Mike Dalessio
5a85466732
Remove the account slug from the PWA manifest
...
- linked in the `head` on all requests (previously just tenanted requests)
- `start_url` and `scope` are "/" (previously account slug)
2025-11-19 08:27:41 -05:00
Mike Dalessio
5f15966ecc
Fix PWA manifest
2025-11-17 09:11:56 -05:00
Mike Dalessio
d41d50d52b
Account.sole → Current.account
...
and some other de-tenant changes, including removing the controller
tenanting concerns
2025-11-17 09:11:40 -05:00
Jason Zimdars
6cb4c74fe3
json compatible escaping for special characters
2025-11-10 15:35:37 -06:00
Jason Zimdars
7d154b682e
Rename 'BOXCAR' to 'Fizzy'
...
Missed files
2025-11-03 16:30:44 -06:00
Jason Zimdars
f5384baf63
Boxcar -> BOXCAR
2025-10-23 15:05:36 -07:00
Jason Zimdars
49e87310d7
Rename Fizzy, Boxcar
2025-10-22 13:42:41 -07:00
Jason Zimdars
c3454847a0
Add a simple method to refresh content when launching or switching tabs
...
Prevents stale content on load as reported in:
https://fizzy.37signals.com/5986089/collections/2/cards/1449
2025-09-02 17:24:21 -05:00
Jason Zimdars
50d5955be3
App icons should have backgrounds
...
Also: create a proper, padded maskable version for Android
2025-07-24 09:27:23 -05:00
Jason Zimdars
8f47db3ced
Add service worker and subscriptions controllers
2025-07-15 15:22:32 -05:00
Mike Dalessio
e3c1e2c00a
Improve multi-account behavior of the PWA
...
- PWA manifest:
- declares slugged scope
- includes the account name (and non-prod environment name) in the title
So we can have one PWA installed for each account (in each
environment) and links should get routed properly.
ref: https://3.basecamp.com/2914079/buckets/37331921/todos/8827769164
2025-07-05 13:05:08 -04:00
Mike Dalessio
b667c1f9cd
PWS manifest uses paths and not URLs
2025-07-03 10:10:03 -04:00
Mike Dalessio
59548ac7eb
Fix the PWA manifest to use slugged URLs
...
ref: https://fizzy.37signals.com/5986089/collections/2/cards/991
2025-07-02 23:51:00 -04:00
Jason Zimdars
dfd70b04d7
Correct path
2025-06-10 13:43:52 -05:00
Jorge Manrubia
723e6d94f5
Rename bubbles => cards
2025-04-09 14:50:58 +02:00
Jason Zimdars
9f2e1df9bf
Add favicon, app icons, and simple PWA manifest
2025-02-10 12:57:49 -06:00