feat: added project layout and project select in breadcrumb

This commit is contained in:
=
2025-07-02 01:16:48 +05:30
parent e028b4e26d
commit 09cdd5ec91
165 changed files with 6253 additions and 5600 deletions
@@ -1,11 +1,11 @@
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { AWSParameterStoreAuthorizeIntegrationPage } from "./AwsParameterStoreAuthorizePage";
import { AWSParameterStoreAuthorizeIntegrationPage } from './AwsParameterStoreAuthorizePage'
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/secret-manager/$projectId/_secret-manager-layout/integrations/aws-parameter-store/authorize"
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/aws-parameter-store/authorize',
)({
component: AWSParameterStoreAuthorizeIntegrationPage,
beforeLoad: ({ context, params }) => {
@@ -13,19 +13,19 @@ export const Route = createFileRoute(
breadcrumbs: [
...context.breadcrumbs,
{
label: "Integrations",
label: 'Integrations',
link: linkOptions({
to: "/secret-manager/$projectId/integrations",
to: '/secret-manager/$projectId/integrations',
params,
search: {
selectedTab: IntegrationsListPageTabs.NativeIntegrations
}
})
selectedTab: IntegrationsListPageTabs.NativeIntegrations,
},
}),
},
{
label: "AWS Parameter Store"
}
]
};
}
});
label: 'AWS Parameter Store',
},
],
}
},
})