stable
Clone or download
Read-only
part of story #24969 [modal] add and remove links (replace current artifact link) How to test: - Open the link-selector and search an artifact - Select the artifact - Clear the selection by clicking on the cross --> The search field has been cleared and the dropdown updated accordingly - Type a query - Change the type of the link --> The search field has been cleared and the dropdown udpated - Type a query and select an artifact - Add it - Open the link-selector --> The search field has been cleared and the dropdown updated Change-Id: I6e47c1783f7776f9c1c491a5069304ba4f8fb172
Modified Files
Name | ||||
---|---|---|---|---|
A | lib/frontend/link-selector/src/events/SearchFieldClearer.test.ts | +36 | −0 | Go to diff View file |
A | lib/frontend/link-selector/src/events/SearchFieldClearer.ts | +29 | −0 | Go to diff View file |
M | lib/frontend/link-selector/src/events/SearchFieldEventCallbackHandler.test.ts | +20 | −14 | Go to diff View file |
M | lib/frontend/link-selector/src/events/SearchFieldEventCallbackHandler.ts | +7 | −1 | Go to diff View file |
M | lib/frontend/link-selector/src/link-selector.ts | +5 | −1 | Go to diff View file |
M | lib/frontend/link-selector/src/selection/SelectionManager.test.ts | +7 | −2 | Go to diff View file |
M | lib/frontend/link-selector/src/selection/SelectionManager.ts | +8 | −7 | Go to diff View file |
A | lib/frontend/link-selector/tests/stubs/ClearSearchFieldStub.ts | +34 | −0 | Go to diff View file |