stable

Clone or download

Read-only

chore: extract repository and repo admin

No functional change expect in Git repository screens: - branch/tag selector - syntax highlighting - notifications in settings - last pushes personal widget Notes: `includeFooterJavascriptFile()` is still used for Notifications, Blame and Blob controllers because the `<head>` tag is already written when we include our assets. closes request #29265 Split the build of git plugin frontend assets into multiple apps Change-Id: I71665bf87ed4a5a7d4c08951e3f1b4fcb68f8186

Modified Files

Name
M plugins/git/build-manifest.json +2 −2 Go to diff View file
M plugins/git/include/Git/Repository/GitRepositoryHeaderDisplayer.php +5 −8 Go to diff View file
M plugins/git/include/Git/Repository/GitRepositoryHeaderDisplayerBuilder.php +9 −9 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Blame.php +7 −3 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Blob.php +7 −3 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/Pane/Notification.class.php +7 −3 Go to diff View file
M plugins/git/include/Git_Widget_UserPushes.class.php +6 −5 Go to diff View file
M plugins/git/package.json +3 −19 Go to diff View file
M plugins/git/pnpm-lock.yaml +0 −326 Go to diff View file
M plugins/git/scripts/legacy/package.json +3 −0 Go to diff View file
M plugins/git/scripts/legacy/pnpm-lock.yaml +4 −0 Go to diff View file
A plugins/git/scripts/repository-admin/package.json +18 −0 Go to diff View file
A plugins/git/scripts/repository-admin/pnpm-lock.yaml +11 −0 Go to diff View file
R plugins/git/scripts/admin-notifications.js Go to diff View file
R plugins/git/webpack.dev.mjs Go to diff View file
M plugins/git/scripts/repository/jest.config.js +5 −2 Go to diff View file
A plugins/git/scripts/repository/package.json +33 −0 Go to diff View file
A plugins/git/scripts/repository/pnpm-lock.yaml +337 −0 Go to diff View file
M plugins/git/scripts/repository/src/already-forked-modal.ts +1 −1 Go to diff View file
M plugins/git/scripts/repository/src/branch-tag-selector.ts +1 −3 Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/po/fr_FR.po Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/po/pt_BR.po Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/components/App.vue Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/components/BranchesSection.test.ts Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/components/BranchesSection.vue Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/components/RefsFilter.vue Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/components/TagsSection.test.ts Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/components/TagsSection.vue Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/helpers/encode-data.ts Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/helpers/local-vue-for-test.ts Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/index.ts Go to diff View file
R plugins/git/scripts/repository/branch-tag-selector/src/type.ts Go to diff View file
R plugins/git/scripts/repository/vue.shims.d.ts Go to diff View file
M plugins/git/scripts/repository/src/clone-bar-popover.ts +1 −1 Go to diff View file
R plugins/git/scripts/repository/file/line-highlight.ts Go to diff View file
M plugins/git/scripts/repository/src/index.ts +1 −0 Go to diff View file
M plugins/git/scripts/repository/src/shortlog.ts +1 −1 Go to diff View file
R plugins/git/themes/BurningParrot/_gitphp-override.scss Go to diff View file
R plugins/git/themes/BurningParrot/_project-background-header.scss Go to diff View file
R plugins/git/themes/BurningParrot/git.scss Go to diff View file
R plugins/git/themes/BurningParrot/repository/_repository.scss Go to diff View file
R plugins/git/themes/BurningParrot/repository/gitphp/_blob.scss Go to diff View file
R plugins/git/themes/BurningParrot/repository/gitphp/_commit.scss Go to diff View file
R plugins/git/themes/BurningParrot/repository/gitphp/_commitdiff.scss Go to diff View file
R plugins/git/themes/BurningParrot/repository/gitphp/_highlight.scss Go to diff View file
R plugins/git/themes/BurningParrot/repository/gitphp/_shortlog.scss Go to diff View file
R plugins/git/themes/BurningParrot/repository/gitphp/_tag.scss Go to diff View file
R plugins/git/themes/BurningParrot/repository/gitphp/_tree.scss Go to diff View file
R plugins/git/themes/BurningParrot/widget/last-pushes-widget.scss Go to diff View file
A plugins/git/scripts/repository/tsconfig.json +8 −0 Go to diff View file
A plugins/git/scripts/repository/vite.config.ts +42 −0 Go to diff View file
D plugins/git/tsconfig.json +0 −10 Go to diff View file
D plugins/git/webpack.common.mjs +0 −108 Go to diff View file
D plugins/git/webpack.prod.mjs +0 −23 Go to diff View file