XWIKI-22816: Icon and edit link aren't on the same line anymore when editing single object #3851
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.
Jira URL
https://jira.xwiki.org/browse/XWIKI-22816
Changes
Description
edit all objects
link to behave as expected. This means removing customizations that were made to fit a CSS only icon.remove deprecated property
link.Screenshots & Video
See the ticket for the buggy looks of this UI before the changes proposed in this PR.
![Screenshot from 2025-01-29 11-27-16](https://private-user-images.githubusercontent.com/28761965/407695005-16d14fe1-0f63-4707-8d91-1ed28f5acae5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDMyMjMsIm5iZiI6MTczOTMwMjkyMywicGF0aCI6Ii8yODc2MTk2NS80MDc2OTUwMDUtMTZkMTRmZTEtMGY2My00NzA3LThkOTEtMWVkMjhmNWFjYWU1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE5NDIwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ5YTExMjhiOTMxMjljMWY2MTk4OWEzY2JmMDRlZTBkNjMzMTIwZDI4NWM3ZDc2Yzg1YjAzMDg0NmY3MGQ2ZGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DOzBa0GRsH87mIbudbbpgPfptpCMC69Dvd06I6mG8kk)
After the changes, here is what it looks like:
When hovered, the whole link gets its
:hovered
style: it's dark blue, and the FA cross takes the same color :)Executed Tests
None, minor change to the DOM (adding an icon), and CSS layout changes are not tested.
Successfully built the two modules with changes with the
quality
profile :mvn clean install -f xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war -Pquality
andmvn clean install -f xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources -Pquality
.Expected merging strategy
XWIKI-21236: Object edit mode does not use current icon theme
. It's a pretty safe backport.