element-web/test
David Baker 18ef97161a
Move the active tab in user settings to the dialog title (#12481)
* Convert tabbedview to functional component

The 'Tab' is still a class, so now it's a functional component that
has a supporting class, which is maybe a bit... jarring, but I think
is actually perfectly logical.

* put comment back

* Fix bad tab ID behaviour

* Make TabbedView a controlled component

This does mean the logic of keeping what tab is active is now in each
container component, but for a functional component, this is a single
line. It makes TabbedView simpler and the container components always
know exactly what tab is being displayed rather than having to effectively
keep the state separately themselves if they wanted it.

Based on https://github.com/matrix-org/matrix-react-sdk/pull/12478

* Move the active tab in user settings to the dialog title

Separated by a colon, as per the new design.

* Update snapshots

* Update a playwright test

* Fix more tests / snapshots

* Attempt to test all the cases of titleForTabID

* More tests
2024-05-07 09:32:24 +00:00
..
@types
__snapshots__ fix selector so maths support doesn't mangle divs (#12433) 2024-04-16 16:53:57 +00:00
accessibility
actions/handlers
audio
autocomplete
components Move the active tab in user settings to the dialog title (#12481) 2024-05-07 09:32:24 +00:00
contexts
dispatcher
editor
events
hooks
i18n
images
img
models Fix external guest access url for unencrypted rooms (#12345) 2024-03-28 12:25:00 +00:00
modules Replace `SecurityCustomisations` with `CryptoSetupExtension` (#12342) 2024-04-12 15:15:17 +00:00
notifications
settings Add analytics to activity toggles (#12418) 2024-04-22 16:15:29 +00:00
setup
stores Show the local echo in previews (#12451) 2024-04-24 09:22:07 +00:00
test-utils Move the active tab in user settings to the dialog title (#12481) 2024-05-07 09:32:24 +00:00
toasts
utils Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
voice-broadcast Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
widgets
Avatar-test.ts
ContentMessages-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
DecryptionFailureTracker-test.ts Use a different error message for UTDs when you weren't in the room. (#12453) 2024-04-29 17:18:57 +00:00
DeviceListener-test.ts
HtmlUtils-test.tsx fix selector so maths support doesn't mangle divs (#12433) 2024-04-16 16:53:57 +00:00
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts
Lifecycle-test.ts Extract functions for service worker usage, and add initial MSC3916 playwright test (when supported) (#12414) 2024-05-02 22:19:55 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts Replace `SecurityCustomisations` with `CryptoSetupExtension` (#12342) 2024-04-12 15:15:17 +00:00
MediaDeviceHandler-test.ts
Notifier-test.ts
PosthogAnalytics-test.ts Update all non-major dependencies (#12468) 2024-04-30 14:41:46 +00:00
PreferredRoomVersions-test.ts
Reply-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
RoomNotifs-test.ts
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SecurityManager-test.ts
SlashCommands-test.tsx
SlidingSyncManager-test.ts Check native sliding sync support against an unstable feature flag (#12498) 2024-05-03 18:45:26 +00:00
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
Unread-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
UserActivity-test.ts
WorkerManager-test.ts
createRoom-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
email-test.ts
globalSetup.ts
languageHandler-test.tsx
linkify-matrix-test.ts
predictableRandom.ts
setupTests.ts Fix flaky jest tests (#12486) 2024-05-02 14:53:35 +00:00
slowReporter.js
submit-rageshake-test.ts
theme-test.ts
useTopic-test.tsx