Commit Graph

1430 Commits

Author SHA1 Message Date
Michael Telatynski 6793ef33ba Use the resize observer polyfill consistently (#7796) 2022-02-14 23:59:03 +00:00
Michael Telatynski cfa6e266cd Wire up new fields on the ViewRoom posthog event and more interactions (#7787) 2022-02-14 19:31:13 +00:00
Kerry b5e7d12f76 Add config option to autorageshake when key backup is not enabled (#7741)
* report on not enabled

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add setting

Signed-off-by: Kerry Archibald <kerrya@element.io>

* check key backup status after crypto init

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove log

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test encryption setup in DeviceListener

Signed-off-by: Kerry Archibald <kerrya@element.io>

* i18n

Signed-off-by: Kerry Archibald <kerrya@element.io>

* sendLogs for key backup auto-report event

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove reloadOnChagneController

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-11 14:00:37 +01:00
Michael Telatynski 0d6ef76605 Add analytics for the ViewRoom action (#7666) 2022-02-10 14:29:55 +00:00
Michael Telatynski 20e9d0c159 Wire up more posthog properties and interactions (#7763) 2022-02-10 13:53:07 +00:00
Michael Telatynski f6565bfbc8 Send how many favorited rooms a user has to Posthog (#7772) 2022-02-10 10:02:34 +00:00
Charlie Calendre 871032e1bc Fix space member list opening with back button (#7773) 2022-02-10 09:20:48 +00:00
Michael Telatynski 91ccbe4395 Add way to track posthog user properties and send numSpaces (#7716) 2022-02-09 09:21:56 +00:00
Michael Telatynski ed185240a5 Move new search experience to a Beta (#7718) 2022-02-08 14:02:36 +00:00
Michael Telatynski ec92102fe3 Properly handle persistent widgets when room is left (#7724) 2022-02-07 14:40:22 +00:00
Faye Duxovni 7e5de9294c Refine UISI autorageshake conditions to cut down on false alarms (#7650)
The AutoRageshakeStore now only starts submitting rageshakes after the initial sync has completed, and provides a short grace period for decryption failures to resolve.
2022-01-31 10:49:27 -05:00
Faye Duxovni 31e6b942f2 Redirect UISI autorageshakes to separate repo and add more labels for filtering (#7598)
This adds a new key `uisi_autorageshake_app` to config.json, holding an optional custom app name for UISI autorageshakes so that the rageshake server can file them separately from user-submitted rageshakes.
2022-01-26 14:30:45 -05:00
Michael Telatynski e18bbb030d Fix RightPanelStore assuming isViewingRoom is false on load (#7642) 2022-01-26 13:44:30 +00:00
Michael Telatynski 8e4ced6454 Correctly handle Room.timeline events which have a nullable Room (#7635) 2022-01-26 13:24:14 +00:00
J. Ryan Stinnett 20e6d36df7 Add labs flag for default open right panel (#7618) 2022-01-24 17:53:42 +00:00
J. Ryan Stinnett 31835275b9 Fix space member list right panel state (#7617) 2022-01-24 16:47:51 +00:00
Timo 9d9b77d5e1 Make widgets not reload (persistent) between center and top container (#7575) 2022-01-24 15:24:30 +00:00
Michael Telatynski e28d2a2299 Always emit a space filter update when the space is actually changed (#7611) 2022-01-24 14:45:52 +00:00
Andy Balaam c4fc20018d Enable the polls feature (#7581) 2022-01-20 09:40:47 +00:00
Travis Ralston 65987e6b72 Move all polls processing to events-sdk & prep for stable polls (#7517)
* Move all polls processing to events-sdk

This makes polls support the full range of extensible events (both parsing and generation).

* Appease the linter

* Fix & update tests

* Update events-sdk for polls bugfix

* Update events-sdk for typechecking

* Add missing type cast

* Update per review
2022-01-17 10:06:30 -07:00
Germain c612014936 Fix ThreadsRoomNotificationState listeners removal on destroy (#7558) 2022-01-17 14:54:19 +00:00
Kerry 42adedc468 Wait for initial profile load before displaying widget (#7556)
* wait for initial profile load before displaying jitsi

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update comment

Signed-off-by: Kerry Archibald <kerrya@element.io>

* amke fn return boolean

Signed-off-by: Kerry Archibald <kerrya@element.io>

* listen for profile update once

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove unneccessary check

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-17 13:47:07 +00:00
Timo 7ccbf814df Always show right panel after setting a card (#7544) 2022-01-14 15:24:46 +01:00
Faye Duxovni 3eb5130cda Add labs flag to automatically rageshake on decryption errors (#7307)
Also sends a to-device message to the sender, prompting them to auto-rageshake too if they have this lab enabled as well.

Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-13 10:55:25 -05:00
Michael Telatynski ec6c1b8272 Fix RoomViewStore forgetting some details of a view room call (#7512) 2022-01-12 13:12:28 -07:00
Michael Telatynski ec02f82416 Update default Jitsi URLs to meet.element.io (#7514) 2022-01-11 16:15:20 +00:00
Michael Telatynski 8c20bcfe56 Prevent mutations of js-sdk owned objects as it breaks accountData (#7504) 2022-01-10 17:09:35 +00:00
Michael Telatynski 33b34d4169 Fix space ordering to match newer spec (#7481) 2022-01-10 08:58:11 +00:00
Timo cb76358230 Fix right panel soft crashes chat rooms (#7479) 2022-01-07 16:55:21 +01:00
Michael Telatynski 42d6ff4195 Fix room joining spinner being incorrect if you change room mid-join (#7473) 2022-01-07 09:23:54 +00:00
Dominik Henneke b3202de814 Only return the approved widget capabilities instead of accepting all requested capabilities (#7454)
* Only return the approved widget capabilities instead of accepting all requested capabilities

* Restore the original logic that only keeps accepted permissions if they were requested

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2022-01-06 12:31:30 -07:00
Timo 4ab3470184 History based navigation with new right panel store (#7398)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 17:25:41 +01:00
Timo 325e2ba99b Right panel store refactor (#7313)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-05 16:14:44 +01:00
Michael Telatynski f94bad7f0a Fix being wrongly sent to Home space when creating/joining/leaving rooms (#7418) 2021-12-23 12:01:14 +00:00
Michael Telatynski 6761ef9540 Space Panel use SettingsStore instead of SpaceStore as source of truth (#7404) 2021-12-17 16:41:39 +00:00
Michael Telatynski fb494a5098 Fix notification badge for All Rooms space (#7401) 2021-12-17 11:02:06 +00:00
Michael Telatynski 39c4b78371 Space preferences for whether or not you see DMs in a Space (#7250) 2021-12-17 09:26:32 +00:00
Andy Balaam 43839adec0 Use constants from js-sdk in polls code (#7381) 2021-12-15 14:26:26 +00:00
Germain 69c4a0cebc Fix main timeline pending events bleeding in thread's timeline (#7373) 2021-12-15 12:40:56 +00:00
Michael Telatynski 7033f8696a Improve typing (#7349) 2021-12-14 15:34:54 +00:00
Germain ce570ab827 Hook threads notification state to UI (#7298) 2021-12-13 14:05:42 +00:00
Michael Telatynski fcc4939075 Fix naming of set-theory utils to match convention (#7343) 2021-12-13 10:57:51 +00:00
Dominik Henneke 908e938996 Keep all previously approved widget capabilities when requesting new capabilities (#7340) 2021-12-13 10:34:04 +00:00
Andy Balaam 3b3776222b Only show poll previews when the polls feature is enabled (#7331) 2021-12-10 15:40:16 +00:00
Andy Balaam fc96af5014 Show poll question in message preview (#7320) 2021-12-10 12:17:26 +00:00
Aaron Raimist 2e8a93834b Auto fix
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Aaron Raimist 7b94e13a84 Merge branch 'develop' into sort-imports
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 08:34:20 +00:00
Germain 38e5e94ee4 Threads notifications after app startup (#7253) 2021-12-07 12:51:34 +00:00
Michael Telatynski 3b9e39ffca When accepting DM from People metaspace don't switch to Home (#7272) 2021-12-03 11:17:51 +00:00
Michael Telatynski 4a6d46b76a Replace breadcrumbs with recently viewed menu (#7073) 2021-12-01 10:50:06 +00:00