This issue has been created
There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-a1560854-6d14-4392-af02-78ed7763ff3c XWIKI-24580 Open

The annotation delete action uses the ConfirmationBox widget instead of a bootstrap modal.

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1a27c930-d21a-4611-bb73-57d8f3b1b3af Charpentier Lucas created this issue on 22/Jul/26 10:25
 
Summary: The annotation delete action uses the ConfirmationBox widget instead of a bootstrap modal.
Issue Type: cid:jira-generated-image-avatar-a1560854-6d14-4392-af02-78ed7763ff3c Bug
Affects Versions: 18.6.0-rc-1
Assignee: Unassigned
Components: Annotations
Created: 22/Jul/26 10:25
Labels: consistency
Priority: cid:jira-generated-image-static-major-35ef6bf6-86ec-4466-b51f-32ff7bc4ba7a Major
Reporter: Charpentier Lucas
Description:

https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/FrontendResources/ConfirmationBox/ is inconsistent. I see two solutions:

  • either we update it to be a bit more in line with our current theme
  • we use a bootstrap modal like recommended in the doc instead.

Note that right now this box contains a hard-coded CSS icon, thsis solution is Silk only, it's one of the main reason why this looks so old.

 
 

1 comment

 
cid:jira-generated-image-avatar-1a27c930-d21a-4611-bb73-57d8f3b1b3af Charpentier Lucas on 22/Jul/26 10:27
 

During the development of XWIKI-233740, there was a choice to be made for the "mark as solved" action. I first decided to go with local consistency and reuse the confirmationBox widget. Check the PR out to confirm if the fix for this issue should be applied to the "mark as solved" confirmation too.