stable

Clone or download

Read-only

request #14701: (un)Restriction of resources for projects is not error prone

Following Bastien & Scapin's ergonomic criteria, restriction of resource (for exemple allowing all projects to access to a plugin) should display an advisory message requesting user confirmation when there maybe data loss (in our exemple the list of previously whitelisted projects). Furthermore the label "Allow all the projects" of the switch takes all the width of the page. This means that when user misclick in the middle of white space, the switch is activated. We should reduce the click zone to the minimum. Change-Id: I56934d2afaadb3a03f0779ef1bbde220601b58ad

Modified Files

Name
M plugins/pluginsadministration/scripts/pluginsadministration.js +4 −0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +37 −1 Go to diff View file
A src/templates/resource_restrictor/allowed-projects-all-form-confirmation-modal-allow.mustache +28 −0 Go to diff View file
A src/templates/resource_restrictor/allowed-projects-all-form-confirmation-modal-restrict.mustache +27 −0 Go to diff View file
M src/templates/resource_restrictor/grant-only-allowed-projects.mustache +2 −1 Go to diff View file
M src/templates/resource_restrictor/manage-allowed-projects.mustache +7 −1 Go to diff View file
M src/www/scripts/tuleap/manage-allowed-projects-on-resource.js +41 −2 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_siteadmin.scss +4 −0 Go to diff View file