There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-559c7e80-6686-471c-9a0d-5febad73f2fd XWIKI-22668 Open

Migrate most of XWiki's LESS files to native CSS

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-81ed9436-3e57-4991-819f-d61cb3fa5cdb Charpentier Lucas on 19/Oct/26 16:28
 
Here is the order I'm following to convert the remaining LESS files, to make the progress easier to follow. The files are grouped in waves of increasing difficulty, and I keep at most 5 conversion PRs open at once so that reviews don't pile up.

Progress on 2026-10-19: *5/27* issues done, 2 PRs in review.

h3. Wave A: trivial

Plain rules and simple variables, or dead code that can be removed.

||#||Issue||File||Status||
|1|XWIKI-23665|{{custom.less}}|(/) Done|
|2|XWIKI-23659|{{modals.less}}|(/) Done|
|3|XWIKI-23662|{{figure.less}}|(i) In review: [#6213|https://github.com/xwiki/xwiki-platform/pull/6213]|
|4|XWIKI-23675|{{tree.less}}|(/) Done|
|5|XWIKI-23678|{{headers.less}}|(i) In review: [#6899|https://github.com/xwiki/xwiki-platform/pull/6899]|
|6|XWIKI-23663|{{type.less}}|(/) Done|
|7|XWIKI-23658|{{xlist.less}}|(*) In progress|
|8|XWIKI-23666|{{reactive.less}} (livedata webjar)|Not started|
|9|XWIKI-25405|{{annotations.less}}|Not started|
|10|XWIKI-25406|{{before-bootstrap.less}}|Not started|
|11|XWIKI-25407|{{accordion.less}}|Not started|

h3. Wave B: vars only

Uses LESS variables that need a CSS custom property counterpart.

||#||Issue||File||Status||
|1|XWIKI-23673|{{vertical-menus.less}}|(*) In progress|
|2|XWIKI-23668|{{panels.less}}|Not started|
|3|XWIKI-23672|{{drawer.less}}|Not started|
|4|XWIKI-23656|{{tree.less}} (tree webjar)|Not started|

h3. Wave C: mixins

Calls LESS mixins that have to be inlined or replaced.

||#||Issue||File||Status||
|1|XWIKI-23674|{{admin.less}}|Not started|
|2|XWIKI-23679|{{grid.less}}|Not started|
|3|XWIKI-23671|{{tables.less}}|Not started|
|4|XWIKI-23670|{{forms.less}}|Not started|
|5|XWIKI-23669|{{edit.less}}|Not started|
|6|XWIKI-23676|{{general.less}}|Not started|
|7|XWIKI-25408|{{breadcrumbs.less}}|Not started|
|8|XWIKI-25409|{{messages.less}}|Not started|

h3. Wave D: heavy

Large files that rely heavily on LESS features.

||#||Issue||File||Status||
|1|XWIKI-23667|{{layout.less}}|Not started|
|2|XWIKI-23677|{{misc.less}}|Not started|

h3. Wave E: last

Depends on the other waves being done.

||#||Issue||File||Status||
|1|XWIKI-23664|{{variables.less}}|(/) Done|
|2|XWIKI-23651|26 LESS SSX pages, split by module|Not started|

h3. Not triaged yet

These skin files have no issue yet, and may stay out of scope for now: {{action-menus.less}} (large file with many color functions), {{buttons.less}} (many Bootstrap mixin calls and color functions), {{livetable.less}} (the Livetable is being replaced by Live Data).