Skip to content

Conversation

@Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Dec 3, 2025

Jira URL

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

Changes

Description

  • Moved the file
  • Converted the variable calls
  • Updated the reference used when retrieving the resource.
  • Removed unecessary velocity evaluation.

Clarifications

  • I searched the codebase for other uses of lightbox.less and couldn't find anything.
  • I took the opportunity to remove velocity evaluation on this resource. It's unecessary now.

Screenshots & Video

Here is what my local instance looks like with the changes in this PR applied:
Screenshot From 2025-12-03 17-37-30
Screenshot From 2025-12-03 17-49-08
image

Executed Tests

Built the changes sucessfully with mvn clean install -f xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-lightbox/xwiki-platform-image-lightbox-webjar -Pquality and mvn clean install -f xwiki-platform-core/xwiki-platform-image/xwiki-platform-image-lightbox/xwiki-platform-image-lightbox-webjar -Pquality.
Used the built webjar on my local instance (see screenshot above). AFAICS things worked as expected. I took care especially to check the styles that relied on variables and have been updated.

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • None.

* Moved the file
* Converted the variable calls
* Updated the reference used when retrieving the resource.
* Removed velocity parsing
@Sereza7 Sereza7 requested a review from surli December 3, 2025 16:51
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