-
+
Cloud account
-
+
{!data && (
)}
@@ -118,10 +119,10 @@ function InventorySidePanel({
-
+
Region
-
+
{!data && (
)}
@@ -129,7 +130,7 @@ function InventorySidePanel({
-
+
Cost
@@ -145,10 +146,10 @@ function InventorySidePanel({
-
+
Relations
-
+
{!data && (
)}
@@ -160,6 +161,7 @@ function InventorySidePanel({
)}
+
{/* Tags form */}
{tabs.includes('tags') && (
@@ -233,6 +235,13 @@ function InventorySidePanel({
)}
+
+ {/* Relations */}
+ {tabs.includes('relations') && (
+
+
+
+ )}
{page === 'delete' && (
<>
diff --git a/dashboard/components/inventory/hooks/useInventory/helpers/getCustomViewInventoryListAndStats.ts b/dashboard/components/inventory/hooks/useInventory/helpers/getCustomViewInventoryListAndStats.ts
index add4ed428..d8a4827e2 100644
--- a/dashboard/components/inventory/hooks/useInventory/helpers/getCustomViewInventoryListAndStats.ts
+++ b/dashboard/components/inventory/hooks/useInventory/helpers/getCustomViewInventoryListAndStats.ts
@@ -110,7 +110,7 @@ function getCustomViewInventoryListAndStats({
}
}
});
- }
+ }
// TODO: https://github.com/tailwarden/komiser/issues/1208
// else {
// setTimeout(() => router.push(router.pathname), 5000);
diff --git a/dashboard/components/inventory/hooks/useInventory/useInventory.tsx b/dashboard/components/inventory/hooks/useInventory/useInventory.tsx
index ceb6fb4ba..6d11770a6 100644
--- a/dashboard/components/inventory/hooks/useInventory/useInventory.tsx
+++ b/dashboard/components/inventory/hooks/useInventory/useInventory.tsx
@@ -55,7 +55,9 @@ function useInventory() {
const isVisible = useIsVisible(reloadDiv);
const batchSize: number = 50;
const router = useRouter();
-
+ useEffect(() => {
+ console.log('use inventory', { isOpen });
+ }, [isOpen]);
/** Reset most of the UI states:
* - skipped (used to skip results in the data fetch call)
* - skippedSearch (same, but used to skip results in the searched data fetch call)
diff --git a/dashboard/components/onboarding-wizard/OnboardingWizardLayout.tsx b/dashboard/components/onboarding-wizard/OnboardingWizardLayout.tsx
index 8c949264d..0c230817c 100644
--- a/dashboard/components/onboarding-wizard/OnboardingWizardLayout.tsx
+++ b/dashboard/components/onboarding-wizard/OnboardingWizardLayout.tsx
@@ -4,11 +4,7 @@ import OnboardingWizardHeader from './PageHeaders';
import OnboardingWizardProgressBar from './ProgressBar';
function OnboardingWizardLayout({ children }: { children: ReactNode }) {
- return (
-
- {children}
-
- );
+ return
{children}
;
}
type LeftSideLayoutProps = {
diff --git a/dashboard/components/sidepanel/SidepanelHeader.tsx b/dashboard/components/sidepanel/SidepanelHeader.tsx
index eea94dcd3..6b713d2c5 100644
--- a/dashboard/components/sidepanel/SidepanelHeader.tsx
+++ b/dashboard/components/sidepanel/SidepanelHeader.tsx
@@ -38,7 +38,7 @@ function SidepanelHeader({
{cloudProvider &&
}
-
+
{title}
-
- {subtitle}
-
+
{subtitle}
)}
@@ -62,7 +60,7 @@ function SidepanelHeader({
diff --git a/dashboard/components/sidepanel/SidepanelPage.tsx b/dashboard/components/sidepanel/SidepanelPage.tsx
index 3fe551318..1656d937b 100644
--- a/dashboard/components/sidepanel/SidepanelPage.tsx
+++ b/dashboard/components/sidepanel/SidepanelPage.tsx
@@ -21,7 +21,7 @@ function SidepanelPage({
container ? 'rounded-lg bg-gray-50 p-6' : ' h-full overflow-auto'
}
>
-
{children}
+
{children}
)}
>
diff --git a/dashboard/pages/cloud-accounts.tsx b/dashboard/pages/cloud-accounts.tsx
index 7164ccdb9..82450bc0e 100644
--- a/dashboard/pages/cloud-accounts.tsx
+++ b/dashboard/pages/cloud-accounts.tsx
@@ -91,7 +91,7 @@ function CloudAccounts() {
{/* Wraps the cloud account page and handles the custom views sidebar */}
-
+
{filteredCloudAccounts.map(account => (
= 2 && !isTailwardenBannerDismissed && (
-
+
For deeper insights and account-level alerts, make the switch to
Tailwarden — our recommended cloud version for production use.{' '}
{/* Error state */}
diff --git a/dashboard/services/settingsService.ts b/dashboard/services/settingsService.ts
index 59d48e463..4490dd034 100644
--- a/dashboard/services/settingsService.ts
+++ b/dashboard/services/settingsService.ts
@@ -95,7 +95,6 @@ const settingsService = {
return Error;
}
},
-
async getGlobalResources(payload: string) {
try {
const res = await fetch(
diff --git a/dashboard/styles/globals.css b/dashboard/styles/globals.css
index 1578917f7..ab6bc5284 100644
--- a/dashboard/styles/globals.css
+++ b/dashboard/styles/globals.css
@@ -55,14 +55,8 @@
}
.popper-div {
- text-shadow:
- 0 0 5px #f4f9f9,
- 0 0 5px #f4f9f9,
- 0 0 5px #f4f9f9,
- 0 0 5px #f4f9f9,
- 0 0 5px #f4f9f9,
- 0 0 5px #f4f9f9,
- 0 0 5px #f4f9f9,
+ text-shadow: 0 0 5px #f4f9f9, 0 0 5px #f4f9f9, 0 0 5px #f4f9f9,
+ 0 0 5px #f4f9f9, 0 0 5px #f4f9f9, 0 0 5px #f4f9f9, 0 0 5px #f4f9f9,
0 0 5px #f4f9f9;
position: relative;
color: #000;