stable

Clone or download

Read-only

feat: Change placeholders

How to test: - Enable the feature flag: $ tuleap config-set feature_flag_history_and_search_in_modal 1 - When you choose any link type ("Parent" or other), there are two placeholders: - One is a "placeholder element" that says "Search for an artifact..." - The other is in the search input and says "Id, title..." - The placeholders no longer change with the link type. part of story #24971 [modal] search for artifacts Change-Id: I41ee1d939390ae1040131b05f1fdeaf62ef3e7e0

Modified Files

Name
M lib/frontend/link-selector/src/dropdown/DropdownManager.test.ts +2 −2 Go to diff View file
M lib/frontend/link-selector/src/events/EventManager.test.ts +2 −2 Go to diff View file
M lib/frontend/link-selector/src/events/EventManager.ts +1 −1 Go to diff View file
M lib/frontend/link-selector/src/events/SearchFieldEventCallbackHandler.test.ts +6 −14 Go to diff View file
M lib/frontend/link-selector/src/events/SearchFieldEventCallbackHandler.ts +3 −4 Go to diff View file
M lib/frontend/link-selector/src/link-selector.ts +13 −11 Go to diff View file
M lib/frontend/link-selector/src/navigation/KeyboardNavigationManager.test.ts +1 −0 Go to diff View file
M lib/frontend/link-selector/src/renderers/BaseComponentRenderer.test.ts +21 −14 Go to diff View file
M lib/frontend/link-selector/src/renderers/BaseComponentRenderer.ts +4 −2 Go to diff View file
M lib/frontend/link-selector/src/renderers/DropdownContentRenderer.test.ts +1 −0 Go to diff View file
M lib/frontend/link-selector/src/renderers/__snapshots__/DropdownContentRenderer.test.ts.snap +1 −1 Go to diff View file
M lib/frontend/link-selector/src/selection/SelectionManager.test.ts +1 −0 Go to diff View file
M lib/frontend/link-selector/src/type.ts +6 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po +7 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/po/pt_BR.po +6 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkField.test.ts +20 −14 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkField.ts +12 −5 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldController.test.ts +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldController.ts +5 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkedArtifactTemplate.test.ts +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/NewLinkTemplate.test.ts +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/TypeSelectorTemplate.test.ts +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts +7 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +2 −1 Go to diff View file