This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 827
Change user permission by using a new apply button #12346
Merged
florianduros
merged 7 commits into
develop
from
florianduros/fix/role-permission-selection
Mar 19, 2024
Merged
Change user permission by using a new apply button #12346
florianduros
merged 7 commits into
develop
from
florianduros/fix/role-permission-selection
Mar 19, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
florianduros
force-pushed
the
florianduros/fix/role-permission-selection
branch
from
March 15, 2024 16:21
a4597ab
to
61c2973
Compare
florianduros
added
the
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
label
Mar 15, 2024
florianduros
force-pushed
the
florianduros/fix/role-permission-selection
branch
2 times, most recently
from
March 15, 2024 16:26
cc6f726
to
9c89d35
Compare
florianduros
force-pushed
the
florianduros/fix/role-permission-selection
branch
from
March 15, 2024 16:57
79a6ff2
to
ac95e41
Compare
It's extracting the current behavior of the privileged users and muted of `RolesRoomSettingsTab.tsx` into a dedicated component. It's also adding a new apply button.
…esRoomSettingsTab`
florianduros
force-pushed
the
florianduros/fix/role-permission-selection
branch
from
March 18, 2024 11:02
ac95e41
to
8d6d935
Compare
dbkr
approved these changes
Mar 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, this did end up as quite a big change. Great to have that logic out of the room settings tab though.
settings = await app.settings.openRoomSettings("Roles & Permissions"); | ||
}); | ||
|
||
test("should be able to change the role of an user", async ({ page, app, user }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor grammar fix
Suggested change
test("should be able to change the role of an user", async ({ page, app, user }) => { | |
test("should be able to change the role of a user", async ({ page, app, user }) => { |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
public
/exported
symbols have accurate TSDoc documentation.Closes element-hq/element-web#27083
This PR adds an Apply button for editing the power level of privileged and muted users.
Privileged and muted users have a similar behavior in the current implementation. Only the listed users are changing.
This behavior is extracted into a new component
PowerLevelSelector
and the apply button is added.The button style when disabled is a bit different than the Add privileged user section. This button is using the new compound button component and the new design system style.