From: stanislavh Date: Tue, 27 Jun 2023 11:31:08 +0000 (+0200) Subject: SONAR-19711 Implement new layout X-Git-Tag: 10.2.0.77647~482 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=54d481bd526212e4c2a7fd776c706f7f02123426;p=sonarqube.git SONAR-19711 Implement new layout --- diff --git a/server/sonar-web/design-system/src/components/Link.tsx b/server/sonar-web/design-system/src/components/Link.tsx index 0234c858928..7ec8470de21 100644 --- a/server/sonar-web/design-system/src/components/Link.tsx +++ b/server/sonar-web/design-system/src/components/Link.tsx @@ -51,7 +51,6 @@ function BaseLinkWithRef(props: LinkProps, ref: React.ForwardedRef {icon} {children} diff --git a/server/sonar-web/design-system/src/components/buttons.tsx b/server/sonar-web/design-system/src/components/buttons.tsx index a92028afbfd..c037c533d27 100644 --- a/server/sonar-web/design-system/src/components/buttons.tsx +++ b/server/sonar-web/design-system/src/components/buttons.tsx @@ -36,8 +36,10 @@ export interface ButtonProps extends AllowedButtonAttributes { children?: React.ReactNode; className?: string; disabled?: boolean; + download?: string; icon?: React.ReactNode; innerRef?: React.Ref; + isExternal?: LinkProps['isExternal']; onClick?: (event?: React.MouseEvent) => unknown; preventDefault?: boolean; diff --git a/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx b/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx index 2a3d7ec742b..9989a282df5 100644 --- a/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx +++ b/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx @@ -45,6 +45,7 @@ const TEMP_PAGELIST_WITH_NEW_BACKGROUND = [ '/project/issues', '/project/activity', '/code', + '/project/extension/securityreport/securityreport', ]; export default function GlobalContainer() {