Commit graph

1425 commits

Author SHA1 Message Date
Gigiaj
ff7c40ec85 Swap our visibility handler and notification implementation to use the global app events 2025-06-21 05:11:31 -05:00
Gigiaj
2861ccdc46 Add global app events 2025-06-21 05:11:04 -05:00
Jaggar
891ad03736
Merge branch 'cinnyapp:dev' into add-push-notifs 2025-06-20 17:11:01 -05:00
Gigiaj
77bbb94bfa swap fetch to use retry logic (shouldn't occur very often, but when it does we don't want to immediately fail) 2025-06-20 17:03:51 -05:00
Gigiaj
60af716dbc move nav badge handling to favicon and sum total there for it 2025-06-20 17:03:51 -05:00
Gigiaj
8cbc9ce601 Remove incorrect nav badge handling placement 2025-06-20 17:03:51 -05:00
Gigiaj
72aa386238 Remove incorrect nav badge handling placement 2025-06-20 17:03:51 -05:00
dependabot[bot]
42e552f6f8 Bump docker/build-push-action from 6.15.0 to 6.18.0 (#2351)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.15.0 to 6.18.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.15.0...v6.18.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 6.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-20 17:03:51 -05:00
dependabot[bot]
8e7c6ff033 Bump actions/setup-node from 4.3.0 to 4.4.0 (#2307)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-20 17:03:51 -05:00
Gigiaj
488bb724c5 add docs for Sygnal set-up 2025-06-20 17:03:51 -05:00
Gigiaj
f24c6cce76 Prevent firefox from crashing because of no badging API 2025-06-20 17:03:51 -05:00
Gigiaj
815a0ac7f4 set app badge 2025-06-20 17:03:51 -05:00
Gigiaj
350f3ac2f7 forgot to remove removed const ref 2025-06-20 17:03:51 -05:00
Ajay Bura
c416785f76 Release v4.8.1 (#2360) 2025-06-20 17:03:51 -05:00
Ajay Bura
fb0a0f83aa Add allow from currently selected space if no m.space.parent found (#2359) 2025-06-20 17:03:51 -05:00
Ajay Bura
b8eb1b999e Fix space navigation & view space timeline dev-option (#2358)
* fix inaccessible space on alias change

* fix new room in space open in home

* allow opening space timeline

* hide event timeline feature behind dev tool

* add navToActivePath to clear cache function
2025-06-20 17:03:51 -05:00
Gigiaj
654f32bd31 Add store to push notif setting to local storage (so we can manage the pusher state cleanly) 2025-06-20 17:03:51 -05:00
Gigiaj
b148cc3d1b Remove subscription / service worker check requirement 2025-06-20 17:03:51 -05:00
Gigiaj
c57509ac7b Remove large comment block, no longer needed 2025-06-20 17:03:51 -05:00
Gigiaj
13d38e8525 Fix imports 2025-06-20 17:03:51 -05:00
Gigiaj
a02a10eda1 adjust to reflect using the service worker to actually toggle 2025-06-20 17:03:51 -05:00
Gigiaj
129599572d add client config to parameters 2025-06-20 17:03:51 -05:00
Gigiaj
0c67cb40d7 Swap to sending to service worker for completion 2025-06-20 17:03:51 -05:00
Gigiaj
07e15e2421 Revise our fetch to be more in line with W3C spec 2025-06-20 17:03:51 -05:00
Gigiaj
f100279e65 Move message listener and add a togglePush listener (should ensure registers/deregisters always go off this way) 2025-06-20 17:03:51 -05:00
Gigiaj
91d6a5d2e9 Pass client config for togglePusher 2025-06-20 17:03:51 -05:00
Gigiaj
39fa3c49b1 Undo these 2025-06-20 17:03:51 -05:00
Gigiaj
99891765b7 update package-lock 2025-06-20 17:03:51 -05:00
Gigiaj
7587403023 Update gitignore 2025-06-20 17:03:51 -05:00
Gigiaj
af705f6785 add push notif details to client config 2025-06-20 17:03:51 -05:00
Gigiaj
e38eeb30bd Add push notif implementation 2025-06-20 17:03:51 -05:00
Gigiaj
b801f076a7 update imports 2025-06-20 17:03:51 -05:00
Gigiaj
a271a5647e Add render changes 2025-06-20 17:03:51 -05:00
Gigiaj
e2fbf9e738 Add WebPush separate toggle 2025-06-20 17:03:51 -05:00
Gigiaj
ac5925f293 Add a check for our custom tweak in the in-app notif handling to determine which should be used 2025-06-20 17:03:51 -05:00
Gigiaj
a883963314 Adds the client state listener for toggling whether to use push notifs or app notifs 2025-06-20 17:03:51 -05:00
Gigiaj
8a3eee367d remove disable import 2025-06-20 17:03:51 -05:00
Gigiaj
4af54629f7 clean up imports 2025-06-20 17:03:51 -05:00
Gigiaj
36227ef257 Move MapSet position 2025-06-20 17:03:51 -05:00
Gigiaj
1db4685189 Embed a very simple message handler between the SW and client for now (for token auth atm) 2025-06-20 17:03:51 -05:00
Gigiaj
f6acd72ab5 Add isProduction to determine the behavior to use for the SW 2025-06-20 17:03:51 -05:00
Gigiaj
ca026bf947 Add SW update prompt (useful for rolling out new changes and informing the user of them) 2025-06-20 17:03:51 -05:00
Gigiaj
c77ba1b534 Add push notif handling (clicks and push events) 2025-06-20 17:03:51 -05:00
Gigiaj
1d4864592f Clean up fetch code 2025-06-20 17:03:51 -05:00
Gigiaj
3b62beabf1 add param type 2025-06-20 17:03:51 -05:00
Gigiaj
4968e23dff actually set the path (should fix android blank icon issue) 2025-06-20 17:03:51 -05:00
Gigiaj
5029ea0a8a add precaching from workbox import 2025-06-20 17:03:51 -05:00
Gigiaj
14085c7ccf Convert to a more generic implementation for communicating with the client 2025-06-20 17:03:51 -05:00
Gigiaj
4cc1179a4f Add claim and install events 2025-06-20 17:03:51 -05:00
Gigiaj
5f52e932ae add workbox precaching (for SW caching) 2025-06-20 17:03:51 -05:00