element-web/src/utils
David Baker cfa322cd62
New user profile UI in User Settings (#12548)
* New user profile UI in User Settings

Using new Edit In Place component.

* Show avatar upload error

* Fix avatar upload error

* Wire up errors & feedback for display name setting

* Implement avatar upload / remove progress toast

* Add 768px breakpoint

* Fix room profile display

* Update to released compund-web with required components / fixes

* Require compound-web 4.4.0

because we do need it

* Update snapshots

Because of course all the auto-generated IDs of unrelated things
have changed.

* Fix duplicate import

* Fix CSS comment

* Update snapshot

* Run all the tests so the ids stay the same

* Start of a test for ProfileSettings

* More tests

* Test that a toast appears

* Test ToastRack

* Update snapshots

* Add the usernamee control

* Fix playwright tests

 * New compound version for editinplace fixes
 * Fix useId to not just generate a constant ID
 * Use the label in the username component
 * Fix widths of test boxes
 * Update screenshots

* Put ^ back on compound-web version

* Split CSS for room & user profile settings

and name the components correspondingly

* Fix playwright test

* Update room settings screenshot

* Use original screenshot instead

* Fix styling of unrelated buttons

Needed to be added in other places otherwise the specificity changes.

Also put the old screenshots back.

* Add copyright year

* Fix copyright year
2024-06-06 13:56:38 +00:00
..
beacon Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
crypto Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
device Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
dm Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
event Migrate more strings to translation keys (#11499) 2023-09-01 08:26:48 +01:00
exportUtils Use new compound tooltip 2024-04-12 14:56:23 +02:00
localRoom
location Improve code-splitting of highlight.js and maplibre-gs libs (#12349) 2024-03-20 13:39:20 +00:00
media Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
oidc Fix `element-desktop-ssoid being` included in OIDC Authorization call (#12495) 2024-05-13 13:31:08 +00:00
permalinks Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
pushRules Fix: sync intentional mentions push rules with legacy rules (#11667) 2023-09-27 00:03:38 +00:00
room Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
tokens Element-R: pass pickleKey in as raw key for indexeddb encryption (#12543) 2024-06-05 08:52:28 +00:00
validate
AnimationUtils.ts
AutoDiscoveryUtils.tsx Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
BrowserWorkarounds.ts
DMRoomMap.ts Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
DecryptFile.ts Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
DialogOpener.ts Make TabbedView a controlled component (#12480) 2024-05-03 15:01:01 +00:00
DirectoryUtils.ts Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
EditorStateTransfer.ts Switch to importing models/event from main js-sdk export (#11363) 2023-08-07 08:24:58 +00:00
ErrorUtils.tsx Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
EventRenderingUtils.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
EventUtils.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
Feedback.ts
FileDownloader.ts
FileUtils.ts Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
FixedRollingArray.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
FontManager.ts Update FontManager.ts (#11673) 2023-09-27 10:34:07 +00:00
FormattingUtils.ts Migrate more strings to translation keys (#11665) 2023-09-25 18:12:41 +01:00
IDestroyable.ts
IdentityServerUtils.ts Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
Image.ts
JSON.ts
KeyVerificationStateObserver.ts Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
LazyValue.ts
LruCache.ts
MarkedExecution.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
MatrixGlob.ts
MediaEventHelper.ts Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
MegolmExportEncryption.ts Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
MessageDiffUtils.tsx Update definitelyTyped (#11620) 2023-10-17 18:17:09 +01:00
Mouse.ts
MultiInviter.ts Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
NativeEventUtils.ts
PasswordScorer.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
PhasedRolloutFeature.ts Support staged rollout of migration to Rust Crypto (#12184) 2024-01-31 15:52:23 +00:00
PinningUtils.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
PreferredRoomVersions.ts
ReactUtils.tsx
Reply.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
ResizeNotifier.ts
RoomUpgrade.ts Merge branch 'develop' into andybalaam/stas-demydiuk-membership-type3 2024-03-20 17:25:23 +00:00
SearchInput.ts
SessionLock.ts Also use unload event to clean up session lock (#11800) 2023-10-26 12:26:49 +00:00
ShieldUtils.ts `shieldStatusForRoom`: guard against client shutdown (#11957) 2023-12-01 10:59:18 +00:00
Singleflight.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
SnakedObject.ts Avoid warning about config.json fallback keys more than once (#11307) 2023-07-24 07:36:51 +00:00
SortMembers.ts Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
StorageAccess.ts Extract functions for service worker usage, and add initial MSC3916 playwright test (when supported) (#12414) 2024-05-02 22:19:55 +00:00
StorageManager.ts Extract functions for service worker usage, and add initial MSC3916 playwright test (when supported) (#12414) 2024-05-02 22:19:55 +00:00
Timer.ts
UrlUtils.ts
UserInteractiveAuth.ts Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
ValidatedServerConfig.ts Update MSC2965 OIDC Discovery implementation (#12245) 2024-02-23 16:43:14 +00:00
WellKnownUtils.ts Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
Whenable.ts
WidgetUtils.ts Allow popping out a Jitsi widget to respect Desktop `web_base_url` config (#12376) 2024-03-26 16:27:11 +00:00
arrays.ts
blobs.ts
colour.ts Use data-mx-color for rainbows (#12325) 2024-03-19 23:34:11 +00:00
connection.ts Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
createMatrixClient.ts Appease the linter 2023-11-13 19:54:04 +01:00
createVoiceMessageContent.ts Stop using deprecated methods, fields & exports (#12524) 2024-05-15 14:58:28 +00:00
direct-messages.ts Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
enums.ts
humanize.ts Migrate more strings to translation keys (#11512) 2023-09-04 10:20:34 +01:00
i18n-helpers.ts Consolidate conjugation i18n strings (#11660) 2023-09-25 12:18:15 +01:00
image-media.ts Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
iterables.ts
leave-behaviour.ts Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
local-room.ts
login.ts
maps.ts
membership.ts Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
notifications.ts Mark as Unread (#12254) 2024-03-19 13:28:20 +00:00
numbers.ts
objects.ts
pages.ts
pillify.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
presence.ts
promise.ts
read-receipts.ts Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
rooms.ts
sets.ts
space.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
stringOrderField.ts
strings.ts
threepids.ts
tooltipify.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
units.ts
useId.ts New user profile UI in User Settings (#12548) 2024-06-06 13:56:38 +00:00
video-rooms.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00