stable

Clone or download

Read-only

Extract a lib for BreadcrumbPrivacy Vue component

Part of request #19247 Extract an internal lib for BreadcrumbPrivacy vue component How to test: - Rebuild tuleap (make post-checkout) - No functional change expected. The Breadcrumb for project privacy functions as before in Document, Git, ScaledAgile and the "Switch to" modal. Note: An additional patch is needed for Baseline plugin. The unit test no longer really runs createPopover() from "tlp" but a "no-op" mock instead. It was getting far too painful to make it work for very limited gain. As a consequence, the snapshots have changed marginally (a x-placement attribute and a CSS style have disappeared). If you know how to make it work, be my guest and submit a contribution :). Change-Id: Ic1f1bbb5a58dc8461f0c63bca555da73581968a0

Modified Files

Name
M plugins/document/package-lock.json +8 −1 Go to diff View file
M plugins/document/package.json +6 −4 Go to diff View file
M plugins/document/scripts/document/components/Breadcrumb/DocumentBreadcrumb.vue +1 −1 Go to diff View file
M plugins/git/package.json +1 −0 Go to diff View file
M plugins/git/scripts/repositories/src/breadcrumb-presenter.ts +1 −4 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitBreadcrumbs.vue +1 −1 Go to diff View file
M plugins/scaled_agile/package.json +1 −0 Go to diff View file
M plugins/scaled_agile/scripts/scaled_agile/src/components/App.vue +1 −4 Go to diff View file
M plugins/scaled_agile/scripts/scaled_agile/src/components/Breadcrumb.vue +1 −5 Go to diff View file
M plugins/scaled_agile/scripts/scaled_agile/src/configuration.ts +1 −4 Go to diff View file
M src/package.json +1 −0 Go to diff View file
R src/scripts/vue-components/breadcrumb-privacy/.gitignore Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/README.md +35 −0 Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/jest.config.js +31 −0 Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/package-lock.json +303 −0 Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/package.json +31 −0 Go to diff View file
R src/scripts/vue-components/breadcrumb-privacy/BreadcrumbPrivacy.test.ts Go to diff View file
R src/scripts/vue-components/breadcrumb-privacy/BreadcrumbPrivacy.vue Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/src/__mocks__/@tuleap/tlp.js +25 −0 Go to diff View file
R src/scripts/vue-components/breadcrumb-privacy/__snapshots__/BreadcrumbPrivacy.test.ts.snap Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/src/index.ts +22 −0 Go to diff View file
R src/scripts/project/privacy/project-privacy-helper.test.ts Go to diff View file
R src/scripts/project/privacy/project-privacy-helper.ts Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/src/vue.shims.d.ts +23 −0 Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/tsconfig.json +9 −0 Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/webpack.common.js +56 −0 Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/webpack.dev.js +23 −0 Go to diff View file
A src/scripts/lib/vue-breadcrumb-privacy/webpack.prod.js +23 −0 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ProjectLink.vue +1 −4 Go to diff View file
M src/themes/tlp/package-lock.json +2 −1 Go to diff View file
M src/themes/tlp/package.json +5 −3 Go to diff View file
M src/tsconfig.json +0 −1 Go to diff View file
M src/webpack.common.js +0 −29 Go to diff View file