Repository navigation
XRENDERING-824: Mark the cssClass parameter of the box and message macros as advanced - #458
Conversation
|
@vmassol It could be great if you can check this PR quickly before we merge for the roadmap :) |
|
LGTM, thanks! One data point, FYI only (it doesn't change the decision): the issue says no common example sets |
…cros as advanced * Marked the cssClass parameter as advanced * Added tests for the box and message macros * Added revapi ignores Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cros as advanced * Merged the two revapi ignores into a single regex entry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
76c44d2 to
147ba9e
Compare
|



Jira URL
https://jira.xwiki.org/browse/XRENDERING-824
Changes
Description
cssClassparameter of the box macro as advanced, which also covers the info, warning, error and success macros.Clarifications
MessageMacroParameters, which extendsBoxMacroParameters, so a single@PropertyAdvancedonsetCssClassfixes all 5 macros listed in the issue.java.annotation.added, the same as for XRENDERING-719. The message module reports the inherited method again underMessageMacroParameters, so it needs a second ignore entry.Screenshots & Video
Executed Tests
mvn clean install -Dtest='BoxMacroTest,MessageMacroTest'on the box and message modules, without the fix: 5 failures (BoxMacroTest1/1,MessageMacroTest4/8), allexpected: <true> but was: <false>onisAdvanced().mvn clean install -Plegacy,quality -fae -pl xwiki-rendering-macros/xwiki-rendering-macro-box,xwiki-rendering-macros/xwiki-rendering-macro-messagewith the fix: BUILD SUCCESS, box 17 tests and message 12 tests passing, 0 Checkstyle violations, coverage checks met, revapi check passing.Expected merging strategy
🤖 Generated with Claude Code