element-web/playwright
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
..
e2e Move the active tab in user settings to the dialog title (#12481) 2024-05-07 09:32:24 +00:00
pages playwright: Document some of the fixtures (#12388) 2024-04-03 10:02:41 +00:00
plugins Add support for device dehydration v2 (#12316) 2024-04-15 15:47:15 +00:00
sample-files Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
snapshots Move the active tab in user settings to the dialog title (#12481) 2024-05-07 09:32:24 +00:00
.gitignore Add Playwright tests for OIDC-aware & OIDC-native (#12252) 2024-02-21 10:43:47 +00:00
docker-entrypoint.sh Allow screenshot update docker to run multiple test files (#12291) 2024-02-28 10:04:25 +00:00
Dockerfile Update all non-major dependencies (#12423) 2024-04-16 14:47:44 +00:00
element-web-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
flaky-reporter.ts Add custom reporter to auto-report flaky Playwright tests (#12290) 2024-02-28 13:02:09 +00:00
global.d.ts Update dependency typescript to v5.4.2 (#12324) 2024-03-19 17:55:06 +00:00
tsconfig.json Extract types for re-use in matrix-js-sdk.d.ts (#12350) 2024-03-19 10:19:38 +00:00