Commit Graph

2026 Commits (d850c95099662c33249a1ad547a3e41270698fe3)

Author SHA1 Message Date
Michael Telatynski 1c9ea423c9
Conform more code to `strictNullChecks` ()
* Apply `strictNullChecks` to `src/components/views/room_settings/*`

* Restore tsconfig.json

* Conform more code to `strictNullChecks`

* Iterate

* Update matrix-widget-api

* Conform more code to `strictNullChecks`
2023-03-16 11:07:29 +00:00
Michael Weimann aae9dfbb7d
Strictify voice-broadcast () 2023-03-16 10:55:06 +01:00
Michael Weimann 6d15b05b86
Fix wrong E2E icon in room header for unencrypted local room () 2023-03-16 10:54:54 +01:00
Kerry 2344eaab1c
Poll history - remove active development labs flag ()
* add poll history tab to room settings

* test poll history in room settings

* remove posthog tracking for poll his

* remove labs flag for poll history

* i18n
2023-03-15 20:54:12 +00:00
Dominik Henneke 0cfd97b180
Add API params to mute audio and/or video in Jitsi calls by default ()
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-03-15 13:51:00 +01:00
Michael Telatynski 87fb493783
Fix pinned messages card saying nothing pinned while loading () 2023-03-15 12:47:21 +00:00
Michael Telatynski 0c38bd7beb
Fix import e2e key dialog staying disabled after paste () 2023-03-15 09:20:20 +00:00
Michael Telatynski e3930fb8b0
Show all labs even if incompatible, with appropriate tooltip explaining requirements ()
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-03-15 08:37:41 +00:00
Michael Telatynski 8cb8cd4eb1
Conform more code to `strictNullChecks` (
* Conform more code to `strictNullChecks`

* Iterate
2023-03-14 11:09:35 +00:00
Michael Weimann 05e3fb09d6
Roll back pillify everything () 2023-03-14 11:56:14 +01:00
Kerry 4c2b5df1f2
Poll history - access poll history from room settings ()
* add poll history tab to room settings

* test poll history in room settings

* remove posthog tracking for poll his

* use consistent label for polls history
2023-03-13 22:08:59 +00:00
Kerry 9f66082486
Notifications: inline error message on notifications saving error ()
* basic sync setup

* formatting

* get loudest value for synced rules

* more types

* test synced rules in notifications settings

* type fixes

* noimplicitany fixes

* remove debug

* tidying

* extract updatePushRuleActions fn to utils

* extract update synced rules

* just synchronise in one place?

* monitor account data changes AND trigger changes sync in notifications form

* lint

* setup LoggedInView test with enough mocks

* test rule syncing in LoggedInView

* strict fixes

* more comments

* one more comment

* add error variant for caption component

* tests for new error message

* tweak styles

* noImplicitAny

* revert out of date prettier changes to unrelated files

* limit inline message to radios only, tests

* strict fix
2023-03-13 21:59:04 +00:00
Kerry 72404d7216
Apply `strictNullChecks` to `src/utils/beacon/*` ()
* strictnullchecks fixes in utils/beacon

* user filterBoolean
2023-03-13 21:55:50 +00:00
Michael Telatynski 503df62191
Conform more of the codebase to `strictNullChecks` (
* Conform more of the codebase to `strictNullChecks`

* Fix types

* Iterate

* Iterate
2023-03-13 15:07:20 +00:00
Michael Weimann 41d88ad6ae
Fix user pill click () 2023-03-13 15:43:13 +01:00
Kerry 1e46efe89c
Poll history - make poll history independent from dialogs ()
* move pollhistory from dialogs to polls directory

* rename PollHistoryDialog -> PollHistory

* rename references to PollHistoryDialog

* move title to PollHistory

* add option to collapse empty dialog header
2023-03-12 20:22:30 +00:00
Michael Telatynski 127a3b667c
Conform more of the codebase to `strictNullChecks` (
* Conform more of the codebase to `strictNullChecks`

* Iterate

* Generics ftw

* Iterate
2023-03-10 14:55:06 +00:00
Michael Weimann d53e91802d
Fix start DM with pending third party invite ()
* Fix start DM with pending third party invite

* Make the fix more clearly visible

---------

Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de>
2023-03-10 14:39:53 +00:00
Andy Balaam 102c4e5ae9
Improve performance of rendering a room with many hidden events ()
* Test MessagePanel rendering with hidden events

* Cache the results of shouldShowEvent in MessagePanel

* Combine an event and its shouldShow info into a single object
2023-03-10 14:35:40 +00:00
Andy Balaam f8e645396e
Support dynamic room predecessor in SpaceProvider () 2023-03-10 11:01:45 +00:00
Andy Balaam 6141cca652
Support dynamic room predecessors for RoomProvider () 2023-03-10 10:40:38 +00:00
Andy Balaam 2e064e57a0
Support dynamic room predecessors in ForwardDialog () 2023-03-10 09:41:30 +00:00
Andy Balaam 42abfb1fac
Support dynamic room predecessors in SpaceHierarchy () 2023-03-10 09:41:14 +00:00
Andy Balaam b646250c90
Support dynamic room predecessors in OwnBeaconStore ()
* Support dynamic room predecessors in OwnBeaconStore

* Fix type of dynamicWatcherRef

* Mock a function missing from client
2023-03-10 09:15:54 +00:00
Andy Balaam 37d2b7b17b
Support dynamic room predecessors in AddExistingToSpaceDialog () 2023-03-09 17:17:28 +00:00
Andy Balaam 421c1b9281
Support dynamic room predecessors in leave-behaviour () 2023-03-09 14:49:59 +00:00
Andy Balaam f90bc40cfc
Support dynamic room predecessors in StopGapWidgetDriver () 2023-03-09 13:02:29 +00:00
Patrick Cloke aca077cf2b
Add tests for createEditContent which mirror tests for createMessageContent. () 2023-03-09 12:15:48 +00:00
Michael Weimann 85e8d27697
Extract avatars from permalink hook () 2023-03-09 12:48:36 +01:00
Andy Balaam edd8865670
Support dynamic room predecessors in WidgetLayoutStore ()
* Support dynamic room predecessors in WidgetLayoutStore

* Improve TS correctness in WidgetLayoutStore

* Test to cover onNotReady to quieten SonarCloud

---------

Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de>
2023-03-09 10:18:23 +00:00
Andy Balaam acb7dd84ac
Support dynamic room predecessors in SpaceStore () 2023-03-09 09:31:02 +00:00
Kerry cef821c21b
Polls: sync push rules on changes to account_data ()
* basic sync setup

* formatting

* get loudest value for synced rules

* more types

* test synced rules in notifications settings

* type fixes

* noimplicitany fixes

* remove debug

* tidying

* extract updatePushRuleActions fn to utils

* extract update synced rules

* just synchronise in one place?

* monitor account data changes AND trigger changes sync in notifications form

* lint

* setup LoggedInView test with enough mocks

* test rule syncing in LoggedInView

* strict fixes

* more comments

* one more comment
2023-03-09 00:20:06 +00:00
Michael Weimann 28abae60a6
Fix breadcrumb store test () 2023-03-08 16:10:23 +00:00
Andy Balaam 4ee57a36e0
Support dynamic room predecessors in BreadcrumbsStore ()
* Tests for BreadcrumbsStore.meetsRoomRequirements

* Tests for appending rooms to BreadcrumbsStore

* Support dynamic room predecessors in BreadcrumbsStore
2023-03-08 15:13:32 +00:00
Michael Telatynski bee4759208
Remove flux dependency () 2023-03-08 14:19:05 +00:00
Andy Balaam b8d502be2e
Support dynamic room predecessors in RoomNotificationStateStore ()
* Tests for RoomNotificationStateStore emitting events

* Support dynamic room predecessors in RoomNotificationStateStore

* Remove unused arguments from emit call.

UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons

but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.

* Fix broken test (wrong expected args to emit)

UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons

but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.

* Update the RoomNotificationStore whenever the predecessor labs flag changes

* Fix type errors

* Fix other tests that trigger our new watcher
2023-03-08 14:18:03 +00:00
Michael Telatynski 80fc0997a4
Explicitly specify all `children` props () 2023-03-08 13:28:07 +00:00
Michael Weimann ad26925bb6
Refactor pill and add tests () 2023-03-08 13:06:50 +01:00
Michael Telatynski c0e40217f3
Apply `strictNullChecks` to src/stores/widgets/* ()
* Apply `strictNullChecks` to src/stores/widgets/*

* Iterate

* Iterate
2023-03-08 11:48:58 +00:00
Sebbones 0c1c3f1cde
Improved a11y for Field feedback and Secure Phrase input ()
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-03-08 11:32:50 +00:00
Michael Weimann 6fa00a20b0
Use compound icons () 2023-03-08 11:11:01 +01:00
Michael Telatynski 0db0d4b09d
Remove unused code () 2023-03-08 10:04:07 +00:00
Michael Telatynski f74867e57b
Allow parsing png files to fail if thumbnailing is successful () 2023-03-07 15:48:23 +00:00
maheichyk 3e340d5906
Fixes user authentication when registering via the module API ()
* Fixes authentication when user is registered via module API
* Remove "on_logging_in" action

---------

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-03-07 16:24:44 +01:00
Michael Telatynski af1ec76149
Fix jest/no-conditional-expect lint and enable it () 2023-03-07 13:58:10 +00:00
Michael Telatynski 4b8bada24b
Apply `strictNullChecks` around the codebase (
* Apply `strictNullChecks` around the codebase

* Iterate PR
2023-03-07 13:19:18 +00:00
Michael Telatynski bda54a8b20
Kill off enzyme in preference of react testing library () 2023-03-06 15:17:46 +00:00
Michael Weimann 394bffbae4
Await start DM in right panel () 2023-03-06 16:09:56 +01:00
Michael Telatynski 667ec166d7
Remove Enzyme tests in favour of React testing-library () 2023-03-06 12:13:17 +00:00
Michael Weimann 303b878b17
Pillify http and non-prefixed matrix.to links () 2023-03-06 12:45:37 +01:00