stable

Clone or download

Read-only

request #26736 Allow only custom functions on @tuleap/fault

No functional change expected in the artifact-modal's error handling. Notes: Faults should be opaque values, but unknown allows anything. The potential for misuse seems too high, so we only allow functions returning either string (to allow existing methods) or boolean. Change-Id: I6c6eb21c3893a3064ff31de6766f10b643b52c13

Modified Files

Name
M lib/frontend/fault/README.md +30 −12 Go to diff View file
M lib/frontend/fault/src/Fault.test.ts +2 −2 Go to diff View file
M lib/frontend/fault/src/Fault.ts +3 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/FaultFeedbackPresenter.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldController.ts +2 −3 Go to diff View file