stable

Clone or download

Read-only

request #37914 Drop old PR dashboard view

How to test: - BEFORE applying the patch, conenct to the dev container and run `tuleap config-set feature_flag_display_old_pull_requests_dashboard 1` - Go to the pull-requests dashborad of one of your repositories --> The old angular view is displayed - Apply the patch - run `make post-checkout` --> The new homepage view is displayed --> You are redirected to this view when you navigate from any tab to the homepage by clicking on the [Pull Requests] tab below the header --> When the hash in the url is not recognized, you are redirected to the new homepage view Change-Id: I95b08e8b69a279d3b856b3573535f88545f159e2

Modified Files

Name
M plugins/git/include/Git/RepositoryList/GitRepositoryListPresenter.php +0 −1 Go to diff View file
M plugins/git/include/Git/RepositoryList/ListPresenterBuilder.php +0 −5 Go to diff View file
M plugins/git/scripts/repositories-list/src/components/PullRequestBadge.vue +2 −11 Go to diff View file
M plugins/git/scripts/repositories-list/src/helpers/pull-requests-homepage-url-builder.test.ts +1 −12 Go to diff View file
M plugins/git/scripts/repositories-list/src/helpers/pull-requests-homepage-url-builder.ts +0 −11 Go to diff View file
M plugins/git/scripts/repositories-list/src/index.ts +0 −1 Go to diff View file
M plugins/git/scripts/repositories-list/src/repository-list-presenter.ts +0 −7 Go to diff View file
M plugins/git/templates/repositories/repository-list.mustache +0 −1 Go to diff View file
R plugins/git/include/Events/GetPullRequestDashboardViewEvent.php Go to diff View file
D plugins/pullrequest/include/PullRequest/FrontendApps/FeatureFlagSetOldHomepageViewByDefault.php +0 −38 Go to diff View file
M plugins/pullrequest/include/PullRequest/PullRequestPresenter.php +11 −14 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reference/HTMLURLBuilder.php +1 −5 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.php +1 −15 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/po/fr_FR.po +0 −18 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/app-config.js +29 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/app-controller.js +3 −13 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/app.js +0 −14 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/dashboard-config.js +0 −10 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/dashboard-controller.js +0 −80 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/dashboard-controller.test.js +0 −111 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/dashboard-directive.js +0 −16 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/dashboard.tpl.html +0 −39 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-collection-rest-service.js +0 −105 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-collection-rest-service.test.js +0 −306 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-collection-service.js +0 −129 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-collection-service.test.js +0 −236 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/PullRequestLabelsList.test.ts +0 −91 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/PullRequestLabelsList.ts +0 −82 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary-controller.js +0 −61 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary-controller.test.js +0 −64 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary-directive.js +0 −18 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/dashboard/pull-request-summary/pull-request-summary.tpl.html +0 −62 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request-refs/pull-request-refs-controller.js +0 −28 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request-refs/pull-request-refs-controller.test.js +0 −92 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request-refs/pull-request-refs.directive.js +0 −18 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request-refs/pull-request-refs.tpl.html +0 −16 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request/pull-request-rest-service.js +0 −23 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request/pull-request-rest-service.test.js +4 −1 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request/pull-request-service.js +0 −71 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/src/app/pull-request/pull-request-service.test.js +0 −67 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/user-rest-service.test.js +4 −1 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/themes/includes/_dashboard.scss +0 −50 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/themes/includes/_pull-request-refs.scss +0 −30 Go to diff View file
D plugins/pullrequest/scripts/pullrequests-app/themes/includes/_pull-request-summary.scss +0 −65 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/themes/includes/_pull-request.scss +0 −5 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/themes/style.scss +0 −14 Go to diff View file
M plugins/pullrequest/templates/pullrequest.mustache +0 −1 Go to diff View file
M plugins/pullrequest/tests/unit/Reference/HTMLURLBuilderTest.php +1 −22 Go to diff View file