stable

Clone or download

Read-only

refactor: Replace class by Composition API

No functional change expected in Project administration > Banner page. Notes: typechecking is removed because I have no idea how to make it pass. It will be enabled again when switching to vue3 compatibility mode. part of request #34725 Migrate core-project-admin-banner to Vue 3 Change-Id: Ib37ea72e642c0cae7ed4427ff5a30d3c72333066

Modified Files

Name
M lib/frontend/vue2-gettext-composition-helpers/README.md +3 −3 Go to diff View file
M src/scripts/project-admin-banner/jest.config.js +13 −0 Go to diff View file
M src/scripts/project-admin-banner/package.json +2 −4 Go to diff View file
M src/scripts/project-admin-banner/pnpm-lock.yaml +3 −24 Go to diff View file
A src/scripts/project-admin-banner/src/ckeditor4.d.ts +22 −0 Go to diff View file
M src/scripts/project-admin-banner/src/components/App.test.ts +34 −72 Go to diff View file
M src/scripts/project-admin-banner/src/components/App.vue +66 −73 Go to diff View file
M src/scripts/project-admin-banner/src/components/BannerPresenter.test.ts +42 −55 Go to diff View file
M src/scripts/project-admin-banner/src/components/BannerPresenter.vue +74 −80 Go to diff View file
A src/scripts/project-admin-banner/src/components/__mocks__/ckeditor4.js +30 −0 Go to diff View file
M src/scripts/project-admin-banner/src/components/__snapshots__/BannerPresenter.test.ts.snap +0 −3 Go to diff View file
M src/scripts/project-admin-banner/webpack.common.js +6 −0 Go to diff View file