stable

Clone or download

Read-only

Convert vue class component into composition api in branch-tag-selector app

Part of request #31168 Migration Vue2 => Vue3 Class components are no longer supported in Vue 3. We must switch to composition API to upgrade to Vue 3. No functionnal changes expected. You can still select/filter branches or tag in the UI. Why? Snapshot tests are useless here. They don't test what they _say_ they test, but break because of the implementation changing. Rather than spending time maintaining them, they are removed. Change-Id: I2e512a696d671f984a4de077122e2f9ed5f858e6

Modified Files

Name
D plugins/git/scripts/repository/jest.config.js +0 −26 Go to diff View file
M plugins/git/scripts/repository/package.json +2 −6 Go to diff View file
M plugins/git/scripts/repository/pnpm-lock.yaml +12 −222 Go to diff View file
M plugins/git/scripts/repository/src/branch-tag-selector/src/components/App.vue +19 −26 Go to diff View file
D plugins/git/scripts/repository/src/branch-tag-selector/src/components/BranchesSection.test.ts +0 −69 Go to diff View file
M plugins/git/scripts/repository/src/branch-tag-selector/src/components/BranchesSection.vue +46 −53 Go to diff View file
M plugins/git/scripts/repository/src/branch-tag-selector/src/components/RefsFilter.vue +14 −19 Go to diff View file
D plugins/git/scripts/repository/src/branch-tag-selector/src/components/TagsSection.test.ts +0 −68 Go to diff View file
M plugins/git/scripts/repository/src/branch-tag-selector/src/components/TagsSection.vue +45 −51 Go to diff View file
D plugins/git/scripts/repository/src/branch-tag-selector/src/helpers/local-vue-for-test.ts +0 −32 Go to diff View file
M plugins/git/scripts/repository/src/branch-tag-selector/src/index.ts +2 −0 Go to diff View file
M plugins/git/scripts/repository/src/branch-tag-selector/src/vue.shims.d.ts +3 −2 Go to diff View file
M plugins/git/scripts/repository/tsconfig.json +0 −1 Go to diff View file