stable

Clone or download

Read-only

refactor: move useSectionEditorsCollection and useOpenConfigurationModalBusStore in stores

useSectionEditorsCollection and useOpenConfigurationModalBusStore are inject as a global shared states, so I moved them from composables to stores. part of story #38627 : Choice of a new Rich Text Editor Change-Id: I9aad16e24284a91d9eb522e80aceef8d8f9453cf

Modified Files

Name
M plugins/artidoc/scripts/artidoc/src/components/AddNewSectionButton.test.ts +12 βˆ’12 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/AddNewSectionButton.vue +1 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModal.test.ts +10 βˆ’7 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModal.vue +1 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/configuration/ConfigurationModalTrigger.vue +1 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuItem.test.ts +4 βˆ’7 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuItem.vue +1 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.test.ts +4 βˆ’7 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/composables/useSectionEditor.ts +1 βˆ’1 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/helpers/on-before-unload.ts +2 βˆ’2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/index.ts +7 βˆ’10 Go to diff View file
R plugins/artidoc/scripts/artidoc/src/composables/useOpenConfigurationModalBus.test.ts Go to diff View file
R plugins/artidoc/scripts/artidoc/src/composables/useOpenConfigurationModalBus.ts Go to diff View file
R plugins/artidoc/scripts/artidoc/src/composables/useSectionEditorsCollection.test.ts Go to diff View file
R plugins/artidoc/scripts/artidoc/src/composables/useSectionEditorsCollection.ts Go to diff View file