stable
Clone or download
part of story #31064 Vue3 app + ngnix routing This contribution introduces a Vue3 app separated from the angular app. Before testing: - Pick up a pullrequest - Instantiate a "labeled items" widget with a filter allowing this pullrequest to be listed in it. How to test: - Enable the feature flag "feature_flag_allow_pullrequest_v2" - Go to the overview tab of your pull-request --> The Vue3 overview is shown - From the overview tab, go to the Commits and Changes tabs --> You are in the angular app - Go to the widget, and click on the pullrequest --> You are redirected to the pullrequest's overview - Disable the feature flag - Go to the overview tab of your pullrequest --> The angular overview is shown --> You can switch bewteen the three tabs as usual Change-Id: Ia6e273972776d5a92ad70570ca40ea7fae91a0fe
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/build-manifest.json | +6 | −0 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/PullRequestPresenter.php | +5 | −1 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/Reference/HTMLURLBuilder.php | +17 | −3 | Go to diff View file |
M | plugins/pullrequest/include/PullrequestDisplayer.php | +50 | −33 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/package.json | +24 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/pnpm-lock.yaml | +564 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/po/fr_FR.po | +25 | −0 | Go to diff View file |
R | plugins/pullrequest/scripts/pullrequests-app/src/app/overview/vue-over/OverviewApp.vue | Go to diff View file | ||
A | plugins/pullrequest/scripts/pullrequest-overview/src/components/OverviewPane.vue | +43 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/components/OverviewTabs.vue | +50 | −0 | Go to diff View file |
R | plugins/pullrequest/scripts/pullrequests-app/src/app/overview/vue-over/vue-over-component.js | Go to diff View file | ||
A | plugins/pullrequest/scripts/pullrequest-overview/src/index.ts | +25 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/pullrequest-overview.ts | +47 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/src/router/router.ts | +39 | −0 | Go to diff View file |
R | plugins/pullrequest/scripts/pullrequests-app/src/app/overview/overview-wrapper-component.js | Go to diff View file | ||
A | plugins/pullrequest/scripts/pullrequest-overview/tsconfig.json | +9 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequest-overview/vite.config.ts | +40 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/package.json | +2 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/pnpm-lock.yaml | +2 | −174 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/app.js | +0 | −4 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary-controller.js | +8 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequests-app/src/app/helpers/vue-overview-url-builder.test.ts | +44 | −0 | Go to diff View file |
A | plugins/pullrequest/scripts/pullrequests-app/src/app/helpers/vue-overview-url-builder.ts | +42 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/overview/overview-config.js | +1 | −1 | Go to diff View file |
D | plugins/pullrequest/scripts/pullrequests-app/src/app/overview/overview-wrapper.tpl.html | +0 | −23 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request/pull-request-controller.js | +13 | −0 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request/pull-request.tpl.html | +7 | −2 | Go to diff View file |
M | plugins/pullrequest/scripts/pullrequests-app/webpack.common.js | +1 | −8 | Go to diff View file |
M | plugins/pullrequest/templates/angular-pullrequest.mustache | +23 | −15 | Go to diff View file |