From 658e0613c0d9a593079d66658dbb9ef1eb028c63 Mon Sep 17 00:00:00 2001 From: Ankit Dash Date: Thu, 7 Mar 2024 19:25:49 +0530 Subject: [PATCH 1/2] fix sidebar's color --- apps/studio/src/components/Navigation.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/studio/src/components/Navigation.tsx b/apps/studio/src/components/Navigation.tsx index b57725b27..22ccb1beb 100644 --- a/apps/studio/src/components/Navigation.tsx +++ b/apps/studio/src/components/Navigation.tsx @@ -283,11 +283,11 @@ export const Navigation: React.FunctionComponent = ({ if (!rawSpec || !document) { return ( -
+
{loading ?(
) : ( -

Empty or invalid document. Please fix errors/define AsyncAPI document.

+

Empty or invalid document. Please fix errors/define AsyncAPI document.

) }
From b52121116d7e3b54e1080e7d188fa19def20c655 Mon Sep 17 00:00:00 2001 From: Ankit Dash <100564488+helios2003@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:53:19 +0530 Subject: [PATCH 2/2] exclude studio-next from .sonarcloud.properties --- .sonarcloud.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.sonarcloud.properties b/.sonarcloud.properties index 298f574f2..ab1e6b0f3 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -1,4 +1,4 @@ # Disable specific file since it would introduce more complexity to reduce it - mainly code complexity and complex template literals sonar.exclusions=apps/studio/public/js/monaco/**,apps/studio/src/tailwind.css,apps/studio/src/components/SplitPane/** # Disable duplicate code in tests since it would introduce more complexity to reduce it. -sonar.cpd.exclusions=apps/studio/public/js/monaco/**,apps/studio/src/components/Template/HTMLWrapper.tsx,apps/studio/src/components/Visualiser/Visualiser.tsx,apps/studio/src/components/Navigationv3.tsx,apps/studio/src/components/Navigation.tsx \ No newline at end of file +sonar.cpd.exclusions=apps/studio/public/js/monaco/**,apps/studio/src/components/Template/HTMLWrapper.tsx,apps/studio/src/components/Visualiser/Visualiser.tsx,apps/studio/src/components/Navigationv3.tsx,apps/studio/src/components/Navigation.tsx,apps/studio-next/**