Skip to content
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-21597: Make the rights UI use icon themes #2957

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Mar 5, 2024

Jira URL

https://jira.xwiki.org/browse/XWIKI-21597

Changes

Description

  • Updated tests:
    • EditRightsPane used a custom class to hold the state of the icon. Replaced the reliance on the icon URL with the class on the button. Renamed everything in this class to let go off the icon, which is just a style thing and should not be based upon for such logic.
    • Changed the GlobalRightsAdministrationSectionPage object to fit the new attributes used on the checkbox.

Screenshots & Video

None, test only modifications.

Executed Tests

This PR solves two sets of regressions seen on CI:

Expected merging strategy

* Updated tests:
** EditRightsPane used a custom class to hold the state of the icon. Replaced the reliance on the icon URL with the class on the button. Renamed everything in this class to let go off the icon, which is just a style thing and should not be based upon for such logic.
** Changed the GlobbalRightsAdministrationSectionPage object to fit the new attributes used on the checkbox.
@Sereza7 Sereza7 requested a review from michitux March 5, 2024 16:47
@michitux michitux merged commit fa41dd7 into xwiki:master Mar 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants