Commit graph

27230 commits

Author SHA1 Message Date
Travis Ralston
648c3c7796 Fix various type definitions 2020-07-30 08:49:42 -06:00
Travis Ralston
4cf6b7174b Use a type for labs 2020-07-30 08:44:34 -06:00
Travis Ralston
1aaedb527d IHandlerMap 2020-07-30 08:43:33 -06:00
Travis Ralston
8cdb98300b Ensure methods are public 2020-07-30 08:42:01 -06:00
Travis Ralston
ad7c94917d Fix calculatedAtLevel definition 2020-07-30 08:41:51 -06:00
Travis Ralston
7f404b0fe5 Fix levels for settings 2020-07-29 21:00:32 -06:00
Travis Ralston
ae3eb3da9c Fix MatrixClient access in settings 2020-07-29 11:51:42 -06:00
Travis Ralston
9c8682428f Fix various TypeScript linting issues 2020-07-29 11:03:43 -06:00
Travis Ralston
9d124ff09b Convert SettingsStore to TS 2020-07-29 10:57:14 -06:00
Travis Ralston
51968a8072 Convert RoomSettingsHandler to TS 2020-07-28 22:16:54 -06:00
Travis Ralston
c7b28b4566 Convert RoomDeviceSettingsHandler to TS 2020-07-28 22:14:33 -06:00
Travis Ralston
c4f4e2aa0a Convert RoomAccountSettingsHandler to TS 2020-07-28 22:04:25 -06:00
Travis Ralston
21e5bccb62 Convert LocalEchoWrapper to TS 2020-07-28 21:57:00 -06:00
Travis Ralston
4f6480c037 Convert DeviceSettingsHandler to TS 2020-07-28 21:53:07 -06:00
Travis Ralston
8097810784 Convert DefaultSettingsHandler to TS 2020-07-28 21:52:57 -06:00
Travis Ralston
32844d4624 Convert ConfigSettingsHandler to TS 2020-07-28 21:49:45 -06:00
Travis Ralston
e4d8cca861 Specify an error to appease the linter 2020-07-28 21:46:45 -06:00
Travis Ralston
4969cfe9de Appease the linter 2020-07-28 16:37:09 -06:00
Travis Ralston
7de727915d Convert AccountSettingsHandler to TS 2020-07-28 16:31:13 -06:00
Travis Ralston
e3364ba7a4 Convert MatrixClientBackedSettingsHandler to TS 2020-07-28 16:20:05 -06:00
Travis Ralston
5f5efa1448 Decorate abstract classes as abstract 2020-07-28 16:15:09 -06:00
Travis Ralston
008c19ea26 Remove unused prop from ThemeWatcher 2020-07-28 16:14:49 -06:00
Travis Ralston
d627baf508 Convert WatchManager to TS 2020-07-28 16:08:08 -06:00
Travis Ralston
c96def81ae Convert SettingsHandler to TS 2020-07-28 15:25:57 -06:00
Travis Ralston
7584a296e4 Use SettingController type in Settings 2020-07-28 15:24:32 -06:00
Travis Ralston
985073c249 Fix copyright in Settings 2020-07-28 15:24:08 -06:00
Travis Ralston
b5be352e88 Fix copyright in CustomStatusController 2020-07-28 15:23:25 -06:00
Travis Ralston
ef062c3511 Convert ThemeController to TS 2020-07-28 15:22:54 -06:00
Travis Ralston
d7e90e045d Convert ReloadOnChangeController to TS 2020-07-28 15:21:53 -06:00
Travis Ralston
227b611421 Convert PushToMatrixClientController to TS 2020-07-28 15:21:10 -06:00
Travis Ralston
437ccb2421 Convert NotificationControllers to TS 2020-07-28 15:19:11 -06:00
Travis Ralston
d4fd3b3262 Convert CustomStatusController to TS 2020-07-28 15:17:01 -06:00
Travis Ralston
6297004957 Convert SettingController to TS 2020-07-28 15:13:38 -06:00
Travis Ralston
27b81d1e26 Roughly convert Settings to TS 2020-07-28 15:07:35 -06:00
Travis Ralston
1f7f40736b Fix imports for SettingLevel to point at new file 2020-07-28 11:53:43 -06:00
Travis Ralston
4db4625e34 Move SettingLevel to its own file 2020-07-28 11:37:59 -06:00
J. Ryan Stinnett
79348b44cb
Merge pull request #4075 from MarcoZehe/SuppressSpeechWhenSending
Don't speak the outgoing message if it is in the Sending state.
2020-07-28 16:24:28 +01:00
Michael Telatynski
2d918a6dfc
Merge pull request #5052 from matrix-org/t3chguy/fix/14501
Remove poorly contrasted "dark style" heading in Room Preview Bar
2020-07-28 16:13:43 +01:00
Michael Telatynski
05332124ee
Merge pull request #5050 from matrix-org/t3chguy/fix/14774
Fix Query Matcher regression with certain unhomoglyph'd characters
2020-07-28 16:13:03 +01:00
Jorik Schellekens
4f55ef685d
Merge pull request #4989 from matrix-org/joriks/resize-handlebars-2.0
Fix handlebar interaction
2020-07-28 14:30:00 +01:00
Travis Ralston
3561de3f8a
Merge pull request #5054 from matrix-org/travis/perf6
Minor improvements to filtering performance
2020-07-28 06:37:27 -06:00
Travis Ralston
1573c88b47
Update src/utils/arrays.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-28 06:37:19 -06:00
Michael Telatynski
0ee30a07a8
Merge pull request #5055 from matrix-org/t3chguy/fix/14700
Fix TextWithTooltip "leaking" tooltip wrappers
2020-07-28 10:40:52 +01:00
Michael Telatynski
e7ec34e61e Fix TextWithTooltip "leaking" tooltip wrappers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-28 10:13:13 +01:00
Travis Ralston
2a8881f753 Fix typing error 2020-07-27 17:41:23 -06:00
Travis Ralston
900c234434 Internalize notification state handling for lists
This reduces the update cost of rooms changing, and fixes a bug where when a sublist became filtered it would change the notification count of the sublist.

This does change the expected usage of the state store to ensuring that only one place updates the rooms on the list states, which is currently the room list store. Ideally the state store could listen to the room list store to update itself, however due to a complicated require() loop it is not possible.
2020-07-27 17:33:27 -06:00
Travis Ralston
b91026fa89 Ensure CustomRoomTagStore doesn't fire useless updates
This could in theory cause double rendering of the room list under some conditions.
2020-07-27 17:18:01 -06:00
Travis Ralston
5f034ee4ed Ensure arrayHasDiff returns a boolean
This is just maintenance noticed while debugging.
2020-07-27 17:17:27 -06:00
Travis Ralston
51592ccfb6 Remove watch notifications from SettingsStore
It slows things down a bit, and in practice is more unlikely to be a problem than a savior.
2020-07-27 17:17:08 -06:00
Travis Ralston
a15aae4daf Apply a throttle to filter condition updates 2020-07-27 16:35:48 -06:00