stable

Clone or download

Read-only

feat: focus lazybox after creating

How to test: - In your web container, enable the feature flag: `tuleap config-set feature_flag_create_artifact 1` - Edit an artifact with an artifact link field with the modal (kanban, TTM or planning view) - Click on the "Create a new artifact" button in the link selector dropdown. - When you click on the "Cancel" button, it will close the inline creation form and the link selector will be focused again. - Fill in the form and click on the "Create" button. It will create a new artifact and the link selector will be focused again. part of story #28823 [modal] create artifact Change-Id: I96be5664909d55959aa8121f9d778a806f02f7c3

Modified Files

Name
M lib/frontend/lazybox/src/LazyboxElement.test.ts +52 −40 Go to diff View file
M lib/frontend/lazybox/src/LazyboxElement.ts +27 −17 Go to diff View file
M lib/frontend/lazybox/themes/_selection.scss +4 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkField.test.ts +23 −5 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkField.ts +9 −2 Go to diff View file