stable
Clone or download
Read-only
Part of request #18391 Migrate Tracker Artifact Modal out of AngularJS How to test: - No functional change in Int and String fields in the Artifact modal. - Please check: disabled state (no "update" permission on the field), required state. - There are two end-to-end tests available to check non-regression of the artifact modal in the agiledashboard plugin. Please read the (long) ADR for details on the technical choice of the templating engine. Change-Id: I711c28a86660091c0ca21a5c0a8fafd3d9abf616
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/scripts/lib/artifact-modal/adr/0001-choice-of-templating-engine.md | +188 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/adr/index.md | +13 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/adr/template.md | +72 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/package-lock.json | +10 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/package.json | +2 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/fields/int-field/IntField.test.ts | +70 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/fields/int-field/IntField.ts | +77 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/fields/int-field/int-field-value-formatter.ts | +28 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/fields/string-field/StringField.test.ts | +50 | −0 | Go to diff View file |
A | plugins/tracker/scripts/lib/artifact-modal/src/fields/string-field/StringField.ts | +73 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/model/field-values-formatter.js | +5 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/model/field-values-formatter.test.js | +24 | −50 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js | +6 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.js | +9 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html | +20 | −33 | Go to diff View file |
M | tests/jest/jest.base.config.js | +1 | −0 | Go to diff View file |