stable

Clone or download

Read-only

feat: Init pullrequest-homepage app

part of story #33006 Create filters on my PR How to test: - Go to the pull-request homepage --> The legacy angular homepage is displayed - Go to a pull-request --> The pull-request overview is displayed - Go to the commits and changes tabs --> You are in the angular app - Go back to the homepage - In the URL, add a parameter `tab=homepage` and go to this url --> The homepage app is displayed Change-Id: Ibc1bf7a3d7869829bb1d2fed1891f09c9a7f718e

Modified Files

Name
A plugins/pullrequest/include/PullRequest/FrontendApps/PullRequestApp.php +39 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/FrontendApps/PullRequestAppsLoader.php +110 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/PullRequestPresenter.php +14 −2 Go to diff View file
M plugins/pullrequest/include/PullrequestDisplayer.php +7 −40 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/package.json +21 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/pnpm-lock.yaml +180 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/components/HomePage.vue +26 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/index.ts +25 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/pullrequest-homepage.ts +25 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/src/vue.shims.d.ts +24 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/tsconfig.json +7 −0 Go to diff View file
A plugins/pullrequest/scripts/pullrequest-homepage/vite.config.ts +42 −0 Go to diff View file
M plugins/pullrequest/templates/pullrequest.mustache +5 −2 Go to diff View file
A plugins/pullrequest/tests/unit/FrontendApps/PullRequestAppTest.php +65 −0 Go to diff View file
A plugins/pullrequest/tests/unit/FrontendApps/PullRequestAppsLoaderTest.php +87 −0 Go to diff View file
M tests/lib/Builders/TestLayout.php +11 −0 Go to diff View file