stable

Clone or download

Read-only

Lazy load avatar urls in artifact views

Part of: request #18375 Lazy load users avatars in list-pickers fields How to test: - In artifact views, when you open a list-picker bound on users --> Only the avatars of the visible users are loaded --> More are loaded when you scroll down --> Field dependencies work as usual Change-Id: I00e802cb3416adfc2ca45d2bc8be248ed046bc8c

Modified Files

Name
A plugins/tracker/include/Tracker/FormElement/Field/ListFields/ItemsDataset/ItemsDatasetBuilder.php +38 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List.class.php +22 −8 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_UsersValue.class.php +7 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Value.class.php +8 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Selectbox.class.php +6 −6 Go to diff View file
M plugins/tracker/scripts/artifact/list-pickers-creator.ts +2 −21 Go to diff View file
M plugins/tracker/scripts/legacy/TrackerFieldDependencies.js +12 −2 Go to diff View file
A plugins/tracker/tests/unit/Tracker/FormElement/Field/ListFields/ItemsDataset/ItemsDatasetBuilderTest.php +60 −0 Go to diff View file
M plugins/tracker/themes/default/css/style.scss +0 −8 Go to diff View file
M src/scripts/list-picker/src/items/ListItemMapBuilder.test.ts +29 −0 Go to diff View file
M src/scripts/list-picker/src/items/ListItemMapBuilder.ts +9 −1 Go to diff View file
M src/themes/FlamingParrot/css/utils/_list-picker.scss +12 −0 Go to diff View file
A src/themes/FlamingParrot/images/list-picker-default-avatar.svg +3 −0 Go to diff View file
M src/www/tlp-doc/resources/forms/list-picker/doc.html +4 −0 Go to diff View file
M src/www/tlp-doc/resources/forms/multi-list-picker/doc.html +4 −0 Go to diff View file