Commit Graph

1425 Commits

Author SHA1 Message Date
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
Michael Telatynski
757d473971 Fix automatic space switching wrongly going via Home for room aliases (#7247) 2021-12-01 10:38:32 +00:00
Šimon Brandner
cbb34d8ac7 Make CallHandler more EventEmittery (#6704)
* sharedInstance() -> instance

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use CallState event instead of dispatching

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Simplifie some code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use a method to start a call instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use a method instead of place_conference_call

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make terminateCallApp() and hangupCallApp() public

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use hangupAllCalls() instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make dialNumber(), startTransferToMatrixID() and startTransferToPhoneNumber() public instead of using the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use answerCall() instead of using the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use hangupOrReject() instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update docs

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Dispatch call_state, see https://github.com/vector-im/element-web/pull/18823#issuecomment-917377277

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Add missing import

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-11-30 18:09:13 +00:00
Michael Telatynski
8fe582b094 Tweaks to informational architecture 1.1 (#7052)
* Move user avatar to Space panel

* Add room list header for 'Home' or 'Space Name' to room list
Add existing Space context menus to room list header

* Re-add pending room join spinner

* Iterate RoomListHeader plus context menu

* Iterate space context menu

* Iterate room list + interactions

* Move DND to new iA model

* Replace composer custom status management with usermenu one

* Cull Quick Actions

* Iterate minimized room list state

* delint

* Merge the RoomListNumResults into the RoomListHeader

* Make the search shortcut prompt semi-bold

* Iterate RoomListHeader based on design review

* Iterate UserMenu based on feedback

* Add name to expanded spacepanel usermenu button

* i18n

* Make room sub list aux button components more generic

* Change left panel explore button to only refer to room directory

* Iterate RoomListHeader

* Fix custom user status input field width in Chrome

* Bring back Notification settings button

* delint

* i18n

* post-merge fix

* iterate pr

* Remove unused state

* update copy

* Apply suggestions from PR review

* delint

* Update invite iconography

* Iterate Space context menu to match Figma

* Fix chevron alignment

* Fix edge case for RoomListHeader on metaspaces

* Wire up general rageshake-driven feedback mechanism

* Add IA1.1 info toast

* add missing alt attribute

* delint

* delint

* tweak ia toast priority

* e2e test account for new toast

* autofocus feedback field and remove old subheading

* tweak copy

* Iterate space panel colours to match Figma

* Iterate PR

* delint

* Fix feedback submission with object setting values

* iterate based on review

* Tweak colours and update splash image

* Tweaks based on review

* Remove room list prompt, made redundant by the big fat `+`

* Fix edge cases around User Menu positioning and dnd

* Add missing import, bad merge?

* Update aria label in e2e test

* Fix room list space rooms context menu explore button behaviour

* Tweak copy

* Revert order of options in the UserMenu

* Tweak copy

* i18n
2021-11-30 18:08:46 +00:00
Michael Telatynski
768e270f3f Improve room list message previews (#7224) 2021-11-29 17:18:04 +00:00
Timo
4cbed99de3 Add right panel chat timeline (#7112)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-11-29 17:06:15 +01:00