chore: optimize import path, add comment context and removed commented out code

This commit is contained in:
Scott Wilson
2025-01-15 22:37:20 -08:00
parent 8b3e3152a4
commit 65f2e626ae
5 changed files with 4 additions and 6 deletions

View File

@@ -0,0 +1 @@
export * from "./GitHubSyncSelectedRepositoriesTooltipContent";

View File

@@ -62,6 +62,7 @@ export type OrgPermissionSet =
| [OrgPermissionActions, OrgPermissionSubjects.AuditLogs]
| [OrgPermissionActions, OrgPermissionSubjects.ProjectTemplates]
| [OrgPermissionActions, OrgPermissionSubjects.AppConnections];
// TODO(scott): add back once org UI refactored
// | [
// OrgPermissionAppConnectionActions,
// (

View File

@@ -86,10 +86,6 @@ export const NativeIntegrationsTab = () => {
isIntegrationsEmpty
]);
// useEffect(() => {
// setView(integrations?.length ? IntegrationView.List : IntegrationView.New);
// }, [isIntegrationsFetched]);
const handleProviderIntegration = async (provider: string) => {
const selectedCloudIntegration = cloudIntegrations?.find(({ slug }) => provider === slug);
if (!selectedCloudIntegration) return;

View File

@@ -1,4 +1,4 @@
import { GitHubSyncSelectedRepositoriesTooltipContent } from "@app/components/secret-syncs/github/GitHubSyncSelectedRepositoriesTooltipContent";
import { GitHubSyncSelectedRepositoriesTooltipContent } from "@app/components/secret-syncs/github";
import {
GitHubSyncScope,
GitHubSyncVisibility,

View File

@@ -3,7 +3,7 @@ import { faInfoCircle } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { SecretSyncLabel } from "@app/components/secret-syncs";
import { GitHubSyncSelectedRepositoriesTooltipContent } from "@app/components/secret-syncs/github/GitHubSyncSelectedRepositoriesTooltipContent";
import { GitHubSyncSelectedRepositoriesTooltipContent } from "@app/components/secret-syncs/github";
import { Tooltip } from "@app/components/v2";
import {
GitHubSyncScope,