]> source.dussan.org Git - sonarqube.git/commit
SONAR-17810 Use Visibility enum instead of hard-coded strings
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Tue, 14 Feb 2023 09:59:50 +0000 (10:59 +0100)
committersonartech <sonartech@sonarsource.com>
Mon, 20 Feb 2023 20:03:01 +0000 (20:03 +0000)
commitedc84dc653f5cc208bf071f325b08334ad1bddc8
tree6d85b21e2ac8ff6745fdc7a8b8d8b3fcdf975c3e
parente16a504c67e6ee38757e8fc4899e336b4f3c0cda
SONAR-17810 Use Visibility enum instead of hard-coded strings
47 files changed:
server/sonar-web/src/main/js/api/components.ts
server/sonar-web/src/main/js/api/mocks/PermissionTemplateServiceMock.ts [deleted file]
server/sonar-web/src/main/js/api/mocks/PermissionsServiceMock.ts [new file with mode: 0644]
server/sonar-web/src/main/js/api/permissions.ts
server/sonar-web/src/main/js/app/components/__tests__/ComponentContainer-test.tsx
server/sonar-web/src/main/js/app/components/nav/component/projectInformation/__tests__/ProjectInformation-test.tsx
server/sonar-web/src/main/js/app/components/nav/component/projectInformation/__tests__/ProjectInformationRenderer-test.tsx
server/sonar-web/src/main/js/apps/permission-templates/components/__tests__/PermissionTemplatesApp-it.tsx
server/sonar-web/src/main/js/apps/permissions/project/components/App.tsx [deleted file]
server/sonar-web/src/main/js/apps/permissions/project/components/ApplyTemplate.tsx
server/sonar-web/src/main/js/apps/permissions/project/components/PageHeader.tsx
server/sonar-web/src/main/js/apps/permissions/project/components/PermissionsProjectApp.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/permissions/project/components/__tests__/App-test.tsx [deleted file]
server/sonar-web/src/main/js/apps/permissions/project/components/__tests__/ApplyTemplate-test.tsx [deleted file]
server/sonar-web/src/main/js/apps/permissions/project/components/__tests__/PermissionsProject-it.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/permissions/project/components/__tests__/__snapshots__/App-test.tsx.snap [deleted file]
server/sonar-web/src/main/js/apps/permissions/project/components/__tests__/__snapshots__/ApplyTemplate-test.tsx.snap [deleted file]
server/sonar-web/src/main/js/apps/permissions/routes.tsx
server/sonar-web/src/main/js/apps/permissions/shared/components/GroupHolder.tsx
server/sonar-web/src/main/js/apps/permissions/shared/components/HoldersList.tsx
server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionCell.tsx
server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionHeader.tsx
server/sonar-web/src/main/js/apps/permissions/utils.ts
server/sonar-web/src/main/js/apps/projects/components/__tests__/AllProjects-test.tsx
server/sonar-web/src/main/js/apps/projects/components/project-card/__tests__/ProjectCard-test.tsx
server/sonar-web/src/main/js/apps/projects/types.ts
server/sonar-web/src/main/js/apps/projectsManagement/ChangeDefaultVisibilityForm.tsx
server/sonar-web/src/main/js/apps/projectsManagement/CreateProjectForm.tsx
server/sonar-web/src/main/js/apps/projectsManagement/Header.tsx
server/sonar-web/src/main/js/apps/projectsManagement/ProjectManagementApp.tsx
server/sonar-web/src/main/js/apps/projectsManagement/Search.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ChangeDefaultVisibilityForm-test.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/Header-test.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ProjectManagementApp-it.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ProjectManagementApp-test.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ProjectRowActions-test.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/Projects-test.tsx
server/sonar-web/src/main/js/components/common/PrivacyBadgeContainer.tsx
server/sonar-web/src/main/js/components/common/VisibilitySelector.tsx
server/sonar-web/src/main/js/components/common/__tests__/PrivacyBadgeContainer-test.tsx
server/sonar-web/src/main/js/components/common/__tests__/VisibilitySelector-test.tsx
server/sonar-web/src/main/js/helpers/mocks/permissions.ts
server/sonar-web/src/main/js/helpers/mocks/projects.ts
server/sonar-web/src/main/js/helpers/testMocks.ts
server/sonar-web/src/main/js/types/permissions.ts
server/sonar-web/src/main/js/types/types.ts
sonar-core/src/main/resources/org/sonar/l10n/core.properties