stable

Clone or download

Read-only

Convert computed field to a hybrids web component

Part of request #22648 : Convert AngularJS directives and controllers to hybrids web components How to test: - No functional change expected in Computed 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. Notes: Unused CSS classes such as "tlp-text" and "readonly" have been removed. Change-Id: Ia6e2332ce68973a2b5d7495b82d3ca721f472001

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po +6 −3 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/fields/computed-field/ComputedField.test.ts +166 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/fields/computed-field/ComputedField.ts +189 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/fields/computed-field/__snapshots__/ComputedField.test.ts.snap +14 −0 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/fields/computed-field/computed-field-controller.js +0 −18 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/fields/computed-field/computed-field-controller.test.js +0 −51 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/fields/computed-field/computed-field-directive.js +0 −18 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/computed-field/computed-field-value-formatter.js +1 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/computed-field/computed-field-value-formatter.test.js +2 −2 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/fields/computed-field/computed-field.tpl.html +0 −68 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/float-field/FloatField.test.ts +38 −41 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/int-field/IntField.test.ts +38 −41 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts +4 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +7 −7 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.test.js +16 −8 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.js +3 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html +11 −5 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/tuleap-focus/focus-on-click-directive.js +0 −33 Go to diff View file