Michael Telatyński
629e5cb01f
Properly type Modal props to ensure useful typescript checking ( #10238
...
* Properly type Modal props to ensure useful typescript checking
* delint
* Iterate
* Iterate
* Fix modal.close loop
* Iterate
* Fix tests
* Add comment
* Fix test
2023-02-28 10:31:48 +00:00
Aaron Raimist
d9d0ab3d98
Provide a more detailed error message than "No known servers" ( #6048 )
...
* Provide a more detailed error message than "No known servers"
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Fix PR since file was refactored
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Fix formatting
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* lint
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Update src/stores/RoomViewStore.tsx
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
* Add example identifiers and a more detailed explanation
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Lint
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Lint
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Revert back to original wording (except s/alias/address)
Alias was a better name imo but Element calls them addresses now so changed to be consistent.
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Prettier
Signed-off-by: Aaron Raimist <aaron@raim.ist >
* Fix ts error
* Add snapshot test
* Check the Modal props
* Add test case to reach quality gate
---------
Signed-off-by: Aaron Raimist <aaron@raim.ist >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: Florian Duros <florianduros@element.io >
2023-02-24 15:59:30 +00:00
Michael Telatynski
76b82b4b2b
Make more code conform to strict null checks ( #10219
...
* Make more code conform to strict null checks
* Fix types
* Fix tests
* Fix remaining test assertions
* Iterate PR
2023-02-24 15:28:40 +00:00
maheichyk
7b77f76486
Widget permissions customizations using module api ( #10121 )
...
* Using module api to customize widget permissions
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
* Revert type export and use ComponentProps instead.
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
---------
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
2023-02-23 14:53:44 +00:00
Michael Weimann
eb6278df1d
Do not prompt for a password when doing a „reset all“ after login ( #10208 )
2023-02-23 08:46:49 +01:00
Germain
8c22584f64
Remove threads labs flag and the ability to disable threads ( #9878 )
2023-02-20 14:46:07 +00:00
Michael Telatynski
4574c665ea
Conform more code to strict null checking ( #10167 )
...
* Conform more code to strict null checking
* Delint
* Iterate PR based on feedback
2023-02-16 17:21:44 +00:00
Janne Mareike Koschinski
f7bea2cae5
Remove unnecessary, accidentally inverted condition for room ordering ( #10178 )
2023-02-16 15:54:32 +01:00
Michael Telatynski
e8b92b308b
Conform more code to strict null checking ( #10169 )
...
* Conform more code to strict null checking
* delint
* Iterate
* delint
* Fix bad test
2023-02-16 09:38:44 +00:00
Michael Telatynski
145a5a8a8d
Conform more code to strict null checking ( #10153 )
...
* Conform more code to strict null checking
* Conform more code to strict null checking
* Iterate
* Iterate
2023-02-15 13:36:22 +00:00
Michael Telatynski
da7aa4055e
Conform more of the code base to strict null checking ( #10147 )
...
* Conform more of the code base to strict null checking
* More strict fixes
* More strict work
* Fix missing optional type
* Iterate
2023-02-13 17:01:43 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Andy Balaam
a068b1e940
Improve types of sticky rooms ( #10078 )
2023-02-09 10:45:11 +00:00
Michael Telatynski
35d222bac6
Add @typescript-eslint/no-base-to-string ( #10091 )
2023-02-07 10:08:10 +00:00
Michael Telatynski
9743852380
Improve typescript null checking in places ( #10073 ( #10073
...
* Improve typescript null checking in places
* Iterate
* Fix Timer.ts
2023-02-03 15:27:47 +00:00
Andy Balaam
add23e4d5d
Pass the dynamic predecessor feature flag when listing rooms ( #10068 )
2023-02-03 14:09:31 +00:00
Germain
6dd578e5a7
Devtools for stuck notifications ( #10042 )
2023-02-03 11:07:24 +01:00
Andy Balaam
b7cd28bd29
Support MSC3946 in RoomListStore ( #10054 )
2023-02-03 09:14:44 +00:00
Andy Balaam
b416e15cbd
Tests for RoomListStore's predecessor handling ( #10046 )
2023-02-02 13:22:30 +00:00
Germain
703587b8e9
Cleanup pre MSC3773 thread unread notif logic ( #10023 )
2023-01-31 16:59:24 +00:00
Clark Fischer
431afaafc6
Unify unread notification state determination ( #9941 )
...
* Add tests for unread notification facilities
Add some tests to guarantee some consistency in `useUnreadNotifications` and
`RoomNotificationState`.
Signed-off-by: Clark Fischer <clark.fischer@gmail.com >
* Add RoomNotifs#determineUnreadState
Intended as a singular replacement for the divergent implementations before.
Signed-off-by: Clark Fischer <clark.fischer@gmail.com >
* Unify room unread state determination
Have both the class-based facility and the hook use the new unified logic in
`RoomNotifs#determineUnreadState`.
Addresses https://github.com/vector-im/element-web/issues/24229
Signed-off-by: Clark Fischer <clark.fischer@gmail.com >
---------
Signed-off-by: Clark Fischer <clark.fischer@gmail.com >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2023-01-31 09:58:17 +00:00
Kegan Dougal
8e774e1924
Prettier
2023-01-20 10:45:55 +00:00
Kegan Dougal
66d4715e84
Remove accidental import
2023-01-20 10:41:32 +00:00
Kegan Dougal
769fd4a786
TS errors
2023-01-20 10:32:53 +00:00
Kegan Dougal
186938d32a
prettier
2023-01-19 11:02:43 +00:00
Kegan Dougal
21f0825703
refactor: sliding sync: convert to lists-as-keys rather than indexes
...
Sister PR to https://github.com/matrix-org/matrix-js-sdk/pull/3076
2023-01-18 17:19:12 +00:00
Michael Weimann
6d354e3e10
Add test coverage ( #9928 )
2023-01-18 15:49:34 +01:00
maheichyk
53a3f3861e
Merge branch 'develop' into widget_state_no_update_invitation_room
2023-01-16 11:31:08 +03:00
Travis Ralston
badb2c4b27
Use js-sdk imports for poll event types instead of events-sdk ( #9904 )
...
* Use js-sdk imports for poll event types instead of events-sdk
* Attempt to appease some tsc --strict errors
* Manually create poll response in cypress test
2023-01-13 10:02:33 -07:00
maheichyk
0ba903715a
Merge branch 'develop' into widget_state_no_update_invitation_room
2023-01-12 17:58:25 +03:00
Michael Telatynski
0c30b577e0
Fix reply action in message context menu notif & file panels ( #9895 )
2023-01-12 14:52:52 +00:00
Michael Telatynski
030b7e90bf
Enable @typescript-eslint/explicit-function-return-type in /src ( #9788 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
* Enable `@typescript-eslint/explicit-function-return-type` in /src
* Fix types
* tsc strict fixes
* Delint
* Fix test
* Fix bad merge
2023-01-12 13:25:14 +00:00
Mikhail Aheichyk
4f68742076
excluded 'leave' membership to fix the issue that events are not received by widget after re-invite
2023-01-12 14:37:23 +03:00
Mikhail Aheichyk
73a8c5bcc4
Merge branch 'develop' into widget_state_no_update_invitation_room
2023-01-12 10:06:51 +03:00
Mikhail Aheichyk
f726314fa2
Merge branch 'develop' into widget_state_no_update_invitation_room
2023-01-11 23:15:08 +03:00
Germain
7ca1b385d9
Force enable threads labs flag
2023-01-09 12:38:19 +00:00
Michael Weimann
91e078d96b
Show room broadcast when ending a recording ( #9841 )
2023-01-02 11:05:51 +00:00
Michael Weimann
539a50ae30
Pause non-live broadcast from other room ( #9825 )
2022-12-28 09:29:42 +01:00
Michael Weimann
5912c7a637
Replace broadcast instance with SDKContext ( #9824 )
2022-12-27 08:39:26 +01:00
mikhail.aheichyk
f1f61cb40d
ts error fix
2022-12-20 13:41:13 +03:00
mikhail.aheichyk
7f0621e84d
ts error fix
2022-12-20 12:52:31 +03:00
mikhail.aheichyk
e0b6e52d9c
prettier
2022-12-20 12:20:40 +03:00
mikhail.aheichyk
71d06b4d59
Widget receives updated state events if user is re-invited into the room.
2022-12-20 11:03:50 +03:00
Germain
3ec75fdd3c
Remove RoomList sorting settings ( #9781 )
2022-12-19 11:57:57 +00:00
Germain
8541e1c4b5
Change room list sorting to activity and unread first by default ( #9773 )
2022-12-19 10:42:58 +00:00
Michael Weimann
35a187a231
Handle starting a call while listen to a broadcast ( #9764 )
2022-12-19 08:44:19 +00:00
Michael Telatynski
f1e8e7f140
Enable @typescript-eslint/explicit-member-accessibility on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
Michael Weimann
51554399fb
Implement broadcast message preview ( #9762 )
2022-12-16 11:01:16 +00:00
Germain
2d2755d145
🧵 Enable threads by default ( #9736 )
...
* Delabs threads
* remove threads reload when labs is toggled
* Fix ts strict
* fix rebase mistake
* remove .only
* fix pr comments
* re-introduce backwards compat
* Fix export test
* Fix SearchREsultTile test
* strict ts
2022-12-13 15:09:15 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00