Commit graph

1444 commits

Author SHA1 Message Date
Jaggar
9440e63dc9
Merge branch 'cinnyapp:dev' into add-push-notifs 2025-06-30 04:38:38 +00:00
Gigiaj
3d9f7f4e26 adjust name of showNotifications to useInAppNotifications and add usePushNotifications 2025-06-29 23:36:18 -05:00
Gigiaj
6359b8547d Update names to reflect real behavior 2025-06-29 23:35:53 -05:00
Gigiaj
5831325c6d Update imports 2025-06-29 23:35:20 -05:00
Gigiaj
72bb04f190 Swap to using the atom values instead of raw setting them in the component. Passing the values forward as needed. 2025-06-29 23:35:07 -05:00
Gigiaj
f31087e685 update name 2025-06-29 23:34:18 -05:00
Gigiaj
c909629150 adjust name to reflect new values 2025-06-29 23:34:05 -05:00
Gigiaj
35e5d90dcc use deregister pushers component 2025-06-29 23:33:52 -05:00
Gigiaj
e3a450a679 Add deregister pushers component 2025-06-29 23:33:39 -05:00
Gigiaj
d3e3ecb64b update imports 2025-06-29 23:29:10 -05:00
Gigiaj
296a2463da useAppVisibility change hook instead of baking into client root for cleanliness 2025-06-29 23:29:03 -05:00
Gigiaj
4123299af5 remove unused method for push notif visibility changes 2025-06-29 23:28:30 -05:00
Gigiaj
cfea393f2d Revise to use atom values and simplify; modify to check for valid subscription via self-heal; modify togglePusher to defer to the users push notif setting before visibility changes 2025-06-29 23:27:55 -05:00
Gigiaj
b689089599 Place our storage handling into a state module instead and reference it 2025-06-29 23:27:48 -05:00
Gigiaj
b972f308f4 Add visibility hook to remove from the ClientRoot 2025-06-29 23:23:04 -05:00
RGBCube
ebe5beba1d
Add support for more code highlight (#2355) 2025-06-29 16:13:47 +05:30
Gimle Larpes
77ab37f637
Fix focus behaviour when opening single-purpose features (#2349)
* Improve focus behaviour on search boxes and chats

* Implemented MR #2317

* Fix crash if canMessage is false

* Prepare for PR #2335

* disable autofocus on message field
2025-06-28 20:15:21 +05:30
Gimle Larpes
461e730c34
Make "View Source" a developer tool (#2368) 2025-06-28 16:05:59 +05:30
Priyansh
05e83eabef
Fix auto focus in "Join with Address" text input (#2317) 2025-06-27 21:50:28 +05:30
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