stable

Clone or download

Read-only

Display the error feedback message when the error user history route

fails Part of story #24971 [modal] search for artifacts How to test: - enable the feature flag: tuleap config-set feature_flag_history_and_search_in_modal 1 - I suggest to add a `throw new RestException()` in the UserResource.php L704 - Open an artifact (with an artifact link field) in the artifact modal => The error feedback is displayed because it is called when the modal is opened Change-Id: I1b4b24a8196aafbbb25f0ed738adacef8d5e521b

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po +3 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/po/pt_BR.po +3 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/FaultFeedbackPresenter.test.ts +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/FaultFeedbackPresenter.ts +6 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/ArtifactLinkSelectorAutoCompleter.test.ts +18 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/ArtifactLinkSelectorAutoCompleter.ts +2 −2 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/UserHistoryRetrievalFault.ts +25 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveUserHistoryStub.ts +6 −1 Go to diff View file