element-web-Github/res/css
David Baker 4751c52d82
Refactor the various email/phone management UI into a single component (#12884)
* Refactor the various email/phone management UI into a single component

These were basically the same component copied & pasted 3 times and
tweaked to match the behaviour of each case. This de-dupes them into
one component.

This all could really benefit from playwright tests, but would require
setting up a dummy ID server in the playwright tests. This is all legacy
pre-MAS stuff so its questionable whether its worth the effort.

* Basic test, remove old tests

* Use different text to confirm remove & put headers back

although the two texts are both 'Remove' in practice

* Remove string

This was never triggered anyway with sydent & synapse because they
don't seem to agree on what error to return. In any case, I think it
makes more sense for it to be consistent with the email path, ie. using
a dialog.

* Avoid nested forms

* Snapshots

* More snapshots

* Test the hs side

* Snapshots

* Test IS bind/revoke

* Test remove can be cancelled

* Test unvalidated cases & fix phone error

* Reset state between tests

* Import useState directly

* One more direct React import
2024-08-14 13:13:57 +00:00
..
components/views Refactor the various email/phone management UI into a single component (#12884) 2024-08-14 13:13:57 +00:00
compound Update all non-major dependencies (#11383) 2023-09-07 17:40:51 +00:00
structures Fix user menu font (#12879) 2024-08-09 14:15:17 +00:00
views Update @vector-im/compound-design-tokens (#12876) 2024-08-09 12:32:37 +00:00
voice-broadcast Remove dead CSS (#11414) 2023-08-16 09:23:20 +00:00
_animations.pcss Replace a Sass variable with a CSS custom property - hover-transition (#10786) 2023-05-22 07:40:40 +00:00
_common.pcss Fix compound typography font component issues (#12826) 2024-07-29 11:19:26 +00:00
_components.pcss Refactor the various email/phone management UI into a single component (#12884) 2024-08-14 13:13:57 +00:00
_font-sizes.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_spacing.pcss Deprecate the $spacing- variables (#10686) 2023-04-21 13:30:21 +00:00
rethemendex.sh Device manager - New device tile info design (#9122)(PSG-637) 2022-08-08 06:59:22 +00:00