stable

Clone or download

Read-only

Move project privacy icon from navbar

If sidebar is collapsed, then the icon is displayed next to the breadcrumb. If sidebar is expanded, then the icon is displayed in the sidebar. Style of the icon will be handled in a dedicated commit. Part of story #16210: Remove navbar Change-Id: Ia77494b8c24ab1a2e2e02cd1e32ba6b5e4d61477

Modified Files

Name
M plugins/document/include/Tree/DocumentTreePresenter.php +10 −0 Go to diff View file
M plugins/document/scripts/document/components/App.vue +2 −0 Go to diff View file
M plugins/document/scripts/document/components/Breadcrumb/DocumentBreadcrumb.test.js +5 −1 Go to diff View file
M plugins/document/scripts/document/components/Breadcrumb/DocumentBreadcrumb.vue +91 −56 Go to diff View file
M plugins/document/scripts/document/index.js +2 −0 Go to diff View file
M plugins/document/scripts/document/store/mutations-global.js +2 −0 Go to diff View file
M plugins/document/scripts/document/store/state.js +1 −0 Go to diff View file
M plugins/document/templates/document-tree.mustache +1 −0 Go to diff View file
M plugins/git/include/Git/RepositoryList/GitRepositoryListPresenter.php +9 −0 Go to diff View file
M plugins/git/scripts/repositories/src/breadcrumb-presenter.js +16 −2 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitBreadcrumbs.vue +76 −38 Go to diff View file
M plugins/git/scripts/repositories/src/index.js +3 −1 Go to diff View file
M plugins/git/templates/repositories/repository-list.mustache +1 −0 Go to diff View file
A plugins/git/tsconfig.json +6 −0 Go to diff View file
M plugins/git/webpack.common.js +11 −1 Go to diff View file
M plugins/testmanagement/include/TestManagement/IndexPresenter.class.php +8 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/app-controller.js +2 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/breadcrumb.tpl.html +25 −6 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/move-breadcrumb.js +29 −2 Go to diff View file
M plugins/testmanagement/templates/index.mustache +1 −0 Go to diff View file
M src/common/Project/Project.class.php +4 −1 Go to diff View file
A src/common/Project/ProjectPrivacyPresenter.php +127 −0 Go to diff View file
M src/common/layout/BaseLayout.php +0 −46 Go to diff View file
M src/scripts/BurningParrot/src/project-privacy.js +4 −2 Go to diff View file
M src/scripts/FlamingParrot/project-privacy.js +6 −6 Go to diff View file
A src/scripts/project/privacy/project-privacy-helper.test.ts +90 −0 Go to diff View file
A src/scripts/project/privacy/project-privacy-helper.ts +48 −0 Go to diff View file
M src/templates/common/breadcrumbs/breadcrumbs.mustache +82 −38 Go to diff View file
M src/themes/BurningParrot/css/includes/_breadcrumb.scss +13 −1 Go to diff View file
M src/themes/BurningParrot/css/includes/_navbar.scss +0 −10 Go to diff View file
M src/themes/BurningParrot/include/BurningParrotTheme.php +6 −3 Go to diff View file
M src/themes/BurningParrot/include/CurrentProjectNavbarInfoPresenter.php +0 −32 Go to diff View file
M src/themes/BurningParrot/include/HeaderPresenter.php +9 −1 Go to diff View file
M src/themes/BurningParrot/include/HeaderPresenterBuilder.php +5 −2 Go to diff View file
M src/themes/BurningParrot/include/ProjectSidebarPresenter.php +8 −28 Go to diff View file
M src/themes/BurningParrot/templates/navbar/current-project-nav.mustache +4 −36 Go to diff View file
M src/themes/BurningParrot/templates/project-sidebar.mustache +27 −25 Go to diff View file
M src/themes/FlamingParrot/css/utils/_breadcrumb.scss +23 −2 Go to diff View file
M src/themes/FlamingParrot/css/utils/_navbar.scss +10 −2 Go to diff View file
M src/themes/FlamingParrot/include/ContainerPresenter.class.php +10 −51 Go to diff View file
M src/themes/FlamingParrot/include/CurrentProjectNavbarInfoPresenter.php +1 −33 Go to diff View file
M src/themes/FlamingParrot/templates/navbar.mustache +4 −34 Go to diff View file
M src/themes/FlamingParrot/templates/project-sidebar.mustache +29 −27 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +5 −5 Go to diff View file