stable

Clone or download

Read-only

refactor: dedicated library for Tracker constants

closes request #26044 Extract tracker constants in a dedicated library No functional change. Having a dedicated library means everyone can depend on it, instead of writing relative paths and depending on Tracker plugin as a whole. Change-Id: I9de13c4e9e1c907656d42ffc9a6d7ea498f1dba4

Modified Files

Name
M plugins/testmanagement/package.json +1 −1 Go to diff View file
M plugins/testmanagement/pnpm-lock.yaml +2 −2 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/StepDefinitionActions.test.js +1 −1 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/StepDefinitionActions.vue +1 −1 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/StepDefinitionEditableStep.test.js +1 −4 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/StepDefinitionEditableStep.vue +1 −1 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/store/getters.js +1 −1 Go to diff View file
M plugins/tracker/package.json +1 −0 Go to diff View file
M plugins/tracker/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/tracker/scripts/artifact/edition/edit-follow-up-comment-helpers.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/artifact/edition/edit-follow-up-comment-helpers.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/artifact/rich-text-editor-creator/RichTextEditorsCreator.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/artifact/rich-text-editor-creator/RichTextEditorsCreator.ts +2 −2 Go to diff View file
D plugins/tracker/scripts/constants/fields-constants.js +0 −66 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/artifact-id-field/ArtifactIdField.test.ts +1 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/artifact-id-field/ArtifactIdField.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/file-field/FileFieldType.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/FormatSelector.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/RichTextEditor.test.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/RichTextEditor.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/text-and-format.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/disabled-field-detector.ts +1 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-field-detector.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-field-validator.js +1 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/file-field/file-field-validator.test.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/open-list-field/open-list-field-validate-service.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/text-field/text-field-value-formatter.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/model/UserPreferencesStore.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/model/form-tree-builder.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/model/tracker-transformer.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-service.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/types.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/validate-artifact-field-value.js +1 −1 Go to diff View file
A plugins/tracker/scripts/lib/constants/.gitignore +1 −0 Go to diff View file
A plugins/tracker/scripts/lib/constants/README.md +4 −0 Go to diff View file
A plugins/tracker/scripts/lib/constants/package.json +21 −0 Go to diff View file
R plugins/tracker/scripts/constants/fields-constants.d.ts Go to diff View file
A plugins/tracker/scripts/lib/constants/tsconfig.json +9 −0 Go to diff View file
A plugins/tracker/scripts/lib/constants/vite.config.ts +32 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/README.md +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/RichTextEditorFactory.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/TextEditor.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/TextEditor.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/TextEditorInterface.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/ExistingFormatSelector.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/ExistingFormatSelector.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/FlamingParrotDocumentAdapter.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/FlamingParrotDocumentAdapter.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/FormatSelectorInterface.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/EditorAreaRenderer.test.ts +2 −5 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/EditorAreaRenderer.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/EditorAreaState.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/EditorAreaState.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/EditorAreaStateInterface.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/FormatHiddenInput.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/FormatHiddenInput.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/FormatSelect.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/FormatSelect.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/types.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/components/TransitionModal/FilledPreConditionsSection.vue +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/components/TransitionModal/PostAction/FrozenFieldsAction.vue +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/components/TransitionModal/PostAction/HiddenFieldsetsAction.vue +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/components/TransitionModal/PostAction/PostAction.vue +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/components/TransitionModal/PostAction/SetValueAction.test.js +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/components/TransitionModal/PostAction/SetValueAction.vue +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/store/getters.js +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/store/transition-modal/transition-mutations.js +1 −1 Go to diff View file