]> source.dussan.org Git - sonarqube.git/commit
Refactor Quality Profiles page
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Tue, 2 Mar 2021 08:41:21 +0000 (09:41 +0100)
committersonartech <sonartech@sonarsource.com>
Wed, 3 Mar 2021 20:12:51 +0000 (20:12 +0000)
commit926932fc656afbb49f1cd2c26363cb120a4d7f39
tree170f22aeb0adcbb369002ba9cb1784fa9f131102
parentefe113c7b07e995075b318099d9968c290771fe6
Refactor Quality Profiles page

- Move all API interactions to the parent component
- Merge copy, extend, and rename forms into a single component
- Simplify delete form
18 files changed:
server/sonar-web/src/main/js/apps/quality-profiles/components/CopyProfileForm.tsx [deleted file]
server/sonar-web/src/main/js/apps/quality-profiles/components/DeleteProfileForm.tsx
server/sonar-web/src/main/js/apps/quality-profiles/components/ExtendProfileForm.tsx [deleted file]
server/sonar-web/src/main/js/apps/quality-profiles/components/ProfileActions.tsx
server/sonar-web/src/main/js/apps/quality-profiles/components/ProfileModalForm.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/quality-profiles/components/RenameProfileForm.tsx [deleted file]
server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/DeleteProfileForm-test.tsx
server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/ExtendProfileForm-test.tsx [deleted file]
server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/ProfileActions-test.tsx
server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/ProfileModalForm-test.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/__snapshots__/DeleteProfileForm-test.tsx.snap
server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/__snapshots__/ExtendProfileForm-test.tsx.snap [deleted file]
server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/__snapshots__/ProfileActions-test.tsx.snap
server/sonar-web/src/main/js/apps/quality-profiles/components/__tests__/__snapshots__/ProfileModalForm-test.tsx.snap [new file with mode: 0644]
server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritanceBox.tsx
server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfileInheritanceBox-test.tsx.snap
server/sonar-web/src/main/js/apps/quality-profiles/types.ts
sonar-core/src/main/resources/org/sonar/l10n/core.properties