-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move room moderation actions to a menu #2123
Conversation
That breaks exactly what it was protecting against:
|
No, it does not for two reasons:
|
Ah the editable Name thing moved the event listener to another view... |
The moderator menu can not be opened via keyboard (it immediatelly closes again) |
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.
Apart from the keyboard opening bug ✔️
Ready to rebase and change state
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
In Nextcloud 17 "OC._currentMenu" was removed, so "renderWhenInactive()" always renders immediately. Instead of fixing that the method was completly removed, as keeping the menu open instead of rendering again the view does not provide much value (if the room is no longer public the password will be unusable anyway, and having the password menu open when another moderator sets or removes the password should not happen too often). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
The password input is no longer the only element of the menu so pressing "Esc" does not close the menu. There is no longer a password button in the CallInfoView, so now the acceptance tests need to open the room moderation menu to know if the conversation is password protected or not. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
The same "Copy link" button was defined separately in the templates for moderators and non moderator participants. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
The "share-link-options" element acts as a spacer to move the room moderation menu button to the right. However, given that the call button width is limited to the 50% of its parent flex element and that element has the full width of the sidebar the same effect can be achieved by setting "margin-left: auto" on the room moderation button. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
The rules just set the same values used by buttons by default. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Now that the management actions were moved to a menu there is enough room to show a label for the "Copy link" button. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1c5cd17
to
3e3506b
Compare
You need nextcloud/server#16863 |
That fixes it, right 👍 |
Draft until #2122 is merged (first commit of this pull request is Move checkbox to change between public and group room to a menu)
This pull request provides the groundwork needed to set the lobby state in the UI using a menu