-
-
Notifications
You must be signed in to change notification settings - Fork 556
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
XWIKI-18994: Replace the Livetable of the Users and groups pages of the administration with a Live Data macro #2942
Conversation
Quick feedback on the screenshots: the enable icon is now the same as the disable icon, is this intentional? |
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.
From a quick look, this looks okay but there are some details that could be improved.
...dministration/xwiki-platform-administration-ui/src/main/resources/XWiki/AdminGroupsSheet.xml
Outdated
Show resolved
Hide resolved
@@ -933,7 +933,7 @@ require(['jquery'], function($) { | |||
/* Override general table styles. */ | |||
/* TODO: Move to livetable.css */ |
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.
This to-do seems outdated after moving to Live Data.
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.
This comment is still up to date, as it still apply to the rights administration page table.
But yes, once all the LT for XS are migrated this comment will become outdated.
...administration/xwiki-platform-administration-ui/src/main/resources/XWiki/XWikiGroupSheet.xml
Outdated
Show resolved
Hide resolved
*/ | ||
public List<WebElement> findElementsInRow(int rowNumber, By by) | ||
{ | ||
return getRowElement(rowNumber).findElements(by); |
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.
Is it intentional that this is always waiting until the timeout? Or should this maybe use the variant without waiting?
...latform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/widgets/modalPopup.css
Outdated
Show resolved
Hide resolved
7833aee
to
0befd57
Compare
This was indeed a mistake. I've fixed this. |
0befd57
to
392988f
Compare
392988f
to
ce25e43
Compare
Jira URL
Changes
Description
This was easier to change them all at the same time as they share some Javascript code to display modals.
Clarifications
Screenshots & Video
The screenshots have a red delete icon thanks to the separate PR #2972
Users administration
Main change: the actions are not right aligned anymore. I make things inconsistent with other actions.
Unless we want the actions to be right-aligned by default.
Before
After
Groups administration
Before
After
Users in group modal
Before
After
Sub Wiki users administration
Before
After
Sub Wiki groups administration
Before
After
Executed Tests
Expected merging strategy