stable

Clone or download

Read-only

Use list pickers in artifact view

part of: story #16645 have searchable (multi) select boxes with (static binding, no dependencies) /!\ Feature hidden behind a feature flag I have a tracker template already configured to ease the testing ask me for it. Please note: - The handling of form validation errors is not yet implemented How to test: - toggle the feature flag - tuleap config-set feature_flag_use_list_pickers_in_trackers_and_modals 1 - Now import the tracker from the XML file - Go to this tracker and create a new artifact --> List pickers, listpickers everywhere - Fill them up with values, then hit "submit and stay" - Now click to edit a field BUT DO NOT CHANGE ITS VALUE --> It is a list picker - Click "submit and stay" --> Feedback "noothing has changed" --> All fields in edition mode are list pickers - Click "Duplicate this artifact" --> List pickers, list pickers everywhere Change-Id: Ifcd1e83d841c69551cd6550cb4728725b696c026

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Renderer/CopyRenderer.class.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/EditRenderer.class.php +2 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Renderer/ListPickerIncluder.php +44 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/SubmitRenderer.class.php +4 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +2 −0 Go to diff View file
M plugins/tracker/package.json +3 −1 Go to diff View file
A plugins/tracker/scripts/artifact/list-fields.test.ts +119 −0 Go to diff View file
A plugins/tracker/scripts/artifact/list-fields.ts +72 −0 Go to diff View file
M plugins/tracker/webpack.common.js +1 −0 Go to diff View file
M src/scripts/list-picker/po/fr_FR.po +1 −1 Go to diff View file
M src/scripts/list-picker/src/renderers/BaseComponentRenderer.ts +5 −0 Go to diff View file
R src/scripts/list-picker/themes/BurningParrot/style.scss Go to diff View file
M src/themes/FlamingParrot/css/utils/_definitions.scss +1 −0 Go to diff View file
A src/themes/FlamingParrot/css/utils/_list-picker.scss +166 −0 Go to diff View file
A src/themes/FlamingParrot/images/list-picker-background.png Binary file Go to diff View file
M src/themes/tlp/doc/css/main.scss +1 −1 Go to diff View file