Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
chore(ui): remove unused v2 component families (#8422)
Andrew Huang8c07debe1142
diff --git a/frontend/scripts/audit-v2-ui.mjs b/frontend/scripts/audit-v2-ui.mjsnew file mode 100644index 0000000000..4a225be8d8--- /dev/null+++ b/frontend/scripts/audit-v2-ui.mjs@@ -0,0 +1,270 @@+import { execFileSync } from "node:child_process";+import { existsSync, readFileSync } from "node:fs";+import path from "node:path";+import { fileURLToPath } from "node:url";+import picomatch from "picomatch";+import ts from "typescript";++const frontend = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");+const root = path.resolve(frontend, "..");+const relative = (file) => path.relative(root, file).split(path.sep).join("/");+const tracked = execFileSync(+ "git",+ ["ls-files", "--cached", "--others", "--exclude-standard", "-z", "--", "frontend"],+ { cwd: root, encoding: "utf8", maxBuffer: 16 * 1024 * 1024 }+)+ .split("\0")+ .filter((file) => file && existsSync(path.join(root, file)));+const sourcePaths = tracked.filter(+ (file) => file.startsWith("frontend/") && /\.[cm]?[jt]sx?$/.test(file)+);+const configPath = path.join(frontend, "tsconfig.app.json");+const config = ts.readConfigFile(configPath, ts.sys.readFile);+if (config.error) throw new Error(ts.flattenDiagnosticMessageText(config.error.messageText, "\n"));+const parsed = ts.parseJsonConfigFileContent(config.config, ts.sys, frontend);+if (parsed.errors.length) {+ throw new Error(+ parsed.errors+ .map((error) => ts.flattenDiagnosticMessageText(error.messageText, "\n"))+ .join("\n")+ );+}+const resolveSourcePath = (specifier, sourceFile) => {+ const appPath = parsed.options.paths?.["@app/*"]?.[0];+ if (specifier.startsWith("@app/") && appPath)+ return path.resolve(frontend, appPath.replace("*", specifier.slice(5)));+ if (specifier.startsWith("/")) return path.resolve(frontend, `.${specifier}`);+ if (specifier.startsWith(".")) return path.resolve(path.dirname(sourceFile), specifier);+ return null;+};+const program = ts.createProgram(+ sourcePaths.map((file) => path.join(root, file)),+ {+ ...parsed.options,+ allowJs: true,+ checkJs: false,+ incremental: false+ }+);+const checker = program.getTypeChecker();+const legacyPrefix = "frontend/src/components/v2/";+const legacyFiles = tracked.filter((file) => file.startsWith(legacyPrefix));+const families = [+ ...new Set(legacyFiles.map((file) => file.slice(legacyPrefix.length).split("/")[0]))+]+ .filter((name) => !name.includes("."))+ .sort();+const edges = [];+const computedImports = [];+const literalGlobs = [];++for (const sourcePath of sourcePaths) {+ const source = program.getSourceFile(path.join(root, sourcePath));+ if (!source) throw new Error(`Could not parse ${sourcePath}`);+ const location = (node) =>+ `${sourcePath}:${source.getLineAndCharacterOfPosition(node.getStart(source)).line + 1}`;+ const origin = (name) => {+ let symbol = checker.getSymbolAtLocation(name);+ if (symbol?.flags & ts.SymbolFlags.Alias) symbol = checker.getAliasedSymbol(symbol);+ return [+ ...new Set(+ (symbol?.declarations ?? []).map((declaration) =>+ relative(declaration.getSourceFile().fileName)+ )+ )+ ];+ };+ const addEdge = (node, specifier, kind, bindings = []) => {+ const resolved = ts.resolveModuleName(+ specifier,+ source.fileName,+ parsed.options,+ ts.sys+ ).resolvedModule;+ const target = resolved ? relative(resolved.resolvedFileName) : null;+ const candidate = resolveSourcePath(specifier, source.fileName);+ const candidatePath = candidate ? relative(candidate) : null;+ if (+ target?.startsWith(legacyPrefix) ||+ candidatePath === legacyPrefix.slice(0, -1) ||+ candidatePath?.startsWith(legacyPrefix) ||+ bindings.some((binding) => binding.origins.some((file) => file.startsWith(legacyPrefix))) ||+ specifier.includes("components/v2")+ ) {+ edges.push({+ source: sourcePath,+ location: location(node),+ kind,+ specifier,+ target,+ bindings+ });+ }+ };+ const visit = (node) => {+ if (ts.isImportDeclaration(node) && ts.isStringLiteralLike(node.moduleSpecifier)) {+ const clause = node.importClause;+ const names = clause?.namedBindings;+ const bindings = [];+ if (clause?.name)+ bindings.push({+ imported: "default",+ local: clause.name.text,+ typeOnly: clause.isTypeOnly,+ origins: origin(clause.name)+ });+ if (names && ts.isNamespaceImport(names))+ bindings.push({+ imported: "*",+ local: names.name.text,+ typeOnly: clause.isTypeOnly,+ origins: origin(names.name)+ });+ if (names && ts.isNamedImports(names)) {+ for (const item of names.elements)+ bindings.push({+ imported: (item.propertyName ?? item.name).text,+ local: item.name.text,+ typeOnly: clause.isTypeOnly || item.isTypeOnly,+ origins: origin(item.name)+ });+ }+ addEdge(node, node.moduleSpecifier.text, "import", bindings);+ } else if (+ ts.isExportDeclaration(node) &&+ node.moduleSpecifier &&+ ts.isStringLiteralLike(node.moduleSpecifier)+ ) {+ addEdge(node, node.moduleSpecifier.text, "export");+ } else if (+ ts.isImportEqualsDeclaration(node) &&+ ts.isExternalModuleReference(node.moduleReference) &&+ node.moduleReference.expression &&+ ts.isStringLiteralLike(node.moduleReference.expression)+ ) {+ addEdge(node, node.moduleReference.expression.text, "import-equals");+ } else if (+ ts.isImportTypeNode(node) &&+ ts.isLiteralTypeNode(node.argument) &&+ ts.isStringLiteralLike(node.argument.literal)+ ) {+ addEdge(node, node.argument.literal.text, "import-type");+ } else if (+ ts.isCallExpression(node) &&+ (node.expression.kind === ts.SyntaxKind.ImportKeyword ||+ (ts.isIdentifier(node.expression) && node.expression.text === "require") ||+ (ts.isPropertyAccessExpression(node.expression) &&+ node.expression.getText(source).startsWith("import.meta.glob")))+ ) {+ const argument = node.arguments[0];+ if (argument && node.expression.getText(source).startsWith("import.meta.glob")) {+ const literals = ts.isStringLiteralLike(argument)+ ? [argument]+ : ts.isArrayLiteralExpression(argument) && argument.elements.every(ts.isStringLiteralLike)+ ? argument.elements+ : null;+ const baseOption =+ node.arguments[1] && ts.isObjectLiteralExpression(node.arguments[1])+ ? node.arguments[1].properties.some(+ (property) =>+ ts.isSpreadAssignment(property) ||+ (property.name &&+ ((!ts.isIdentifier(property.name) && !ts.isStringLiteralLike(property.name)) ||+ property.name.text === "base"))+ )+ : Boolean(node.arguments[1] && !ts.isObjectLiteralExpression(node.arguments[1]));+ const patterns = literals?.map((literal) => {+ const negative = literal.text.startsWith("!");+ const pattern = negative ? literal.text.slice(1) : literal.text;+ const resolved = resolveSourcePath(pattern, source.fileName);+ return resolved ? { negative, pattern: relative(resolved) } : null;+ });+ if (!patterns || patterns.some((pattern) => !pattern) || baseOption) {+ computedImports.push({ location: location(node), expression: node.getText(source) });+ } else {+ const included = patterns.filter((pattern) => !pattern.negative);+ const excluded = patterns.filter((pattern) => pattern.negative);+ const matches = tracked.filter(+ (file) =>+ included.some((pattern) => picomatch.isMatch(file, pattern.pattern)) &&+ !excluded.some((pattern) => picomatch.isMatch(file, pattern.pattern))+ );+ literalGlobs.push({ location: location(node), patterns, matches });+ for (const target of matches.filter((file) => file.startsWith(legacyPrefix))) {+ edges.push({+ source: sourcePath,+ location: location(node),+ kind: "glob",+ specifier: argument.getText(source),+ target,+ bindings: []+ });+ }+ for (const pattern of included.filter((item) => item.pattern.startsWith(legacyPrefix))) {+ if (!matches.some((file) => file.startsWith(legacyPrefix)))+ edges.push({+ source: sourcePath,+ location: location(node),+ kind: "glob",+ specifier: pattern.pattern,+ target: null,+ bindings: []+ });+ }+ }+ } else if (argument && ts.isStringLiteralLike(argument))+ addEdge(node, argument.text, node.expression.getText(source));+ else computedImports.push({ location: location(node), expression: node.getText(source) });+ }+ ts.forEachChild(node, visit);+ };+ visit(source);+}++const outsideLegacy = [+ "frontend/src/components/basic/InputField.tsx",+ "frontend/src/components/basic/Error.tsx",+ "frontend/src/components/integrations/NoEnvironmentsBanner.tsx",+ "frontend/src/components/navigation/SecretDashboardPathBreadcrumb.tsx",+ "frontend/src/components/tags/CreateTagModal/CreateTagModal.tsx",+ "frontend/src/pages/secret-manager/OverviewPage/components/SecretSearchInput/SecretSearchInput.tsx",+ "frontend/src/pages/secret-manager/OverviewPage/components/SecretSearchInput/index.tsx",+ "frontend/src/legacy.css"+].filter((file) => existsSync(path.join(root, file)));+const result = {+ head: execFileSync("git", ["rev-parse", "HEAD"], { cwd: root, encoding: "utf8" }).trim(),+ workingTree: execFileSync("git", ["status", "--porcelain"], {+ cwd: root,+ encoding: "utf8"+ }).trim()+ ? "modified"+ : "clean",+ typescript: ts.version,+ sourceFiles: sourcePaths.length,+ legacyFiles,+ families,+ externalConsumerFiles: [+ ...new Set(+ edges+ .filter((edge) => edge.kind !== "export" && !edge.source.startsWith(legacyPrefix))+ .map((edge) => edge.source)+ )+ ].sort(),+ v3Ingress: edges.filter((edge) => edge.source.startsWith("frontend/src/components/v3/")),+ edges,+ computedImports,+ literalGlobs,+ outsideLegacy,+ compatibilitySelectors: tracked.filter((file) =>+ file.startsWith("frontend/src/components/v3/generic/ReactSelect/")+ ),+ legacyPaletteBytes: existsSync(path.join(root, "frontend/src/legacy.css"))+ ? readFileSync(path.join(root, "frontend/src/legacy.css")).length+ : 0+};+console.log(JSON.stringify(result, null, 2));+if (+ process.argv.includes("--assert-zero") &&+ (legacyFiles.length || edges.length || outsideLegacy.length || computedImports.length)+)+ process.exitCode = 1;diff --git a/frontend/src/components/COMPONENT_LIFECYCLE.md b/frontend/src/components/COMPONENT_LIFECYCLE.mdindex 00ae569abc..e26ea4f11d 100644--- a/frontend/src/components/COMPONENT_LIFECYCLE.md+++ b/frontend/src/components/COMPONENT_LIFECYCLE.md@@ -2,22 +2,24 @@This ledger records lifecycle decisions that aren't obvious from component source or Storybook. Use the V2 and V3 barrel exports to find the current component catalog, and use V3 stories as the API and usage reference. A component not listed here has no special lifecycle decision recorded.+The [V3 migration ledger](V3_MIGRATION.md) tracks source removal, coverage, and validation. A blocked replacement is work to complete, not a permanent exemption. Keep supported behavior until its replacement is verified; completion requires deleting the legacy implementation and export surface.+## V2| Components | Status | Direction || -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------- || `FilterableSelect` | Deprecated | Use V3 `Combobox` where its contract fits. || `Button`, `Card`, `Checkbox`, `EmptyState`, `IconButton`, `Input`, `Pagination`, `Select`, `Switch`, `TextArea`, `Tooltip` | Ready for focused deprecation | Supported V3 replacements exist. Check representative consumers before adding component-specific guidance. |-| `Accordion`, `Alert`, `Blur`, `Breadcrumb`, `CopyButton`, `Dropdown`, `HoverCardv2`, `Skeleton`, `Spinner`, `Stepper`, `Table`, `Tabs` | Blocked | Composition, interaction, or state parity still needs verification. |+| `Accordion`, `Alert`, `Breadcrumb`, `CopyButton`, `Dropdown`, `HoverCardv2`, `Skeleton`, `Spinner`, `Table`, `Tabs` | Blocked | Composition, interaction, or state parity still needs verification. || `ConfirmActionModal`, `DeleteActionModal`, `Menu`, `Modal` | Blocked | Verify confirmation, menu-item, nested-overlay, and close behavior before directing consumers to V3 overlays. |-| `ContentLoader`, `Divider`, `FormControl`, `GenericFieldLabel`, `PageHeader`, `Tag` | Blocked | The V3 replacements require consumer-specific composition or accessibility changes. |-| `DatePicker` | Blocked | V3 `Calendar` doesn't replace the composed input, popover, and date-value contract. |-| `Editor`, `InfisicalSecretInput`, `SecretInput`, `SecretPathInput`, `PasswordGenerator` | Blocked | Security-sensitive or specialist behavior needs workflow-level parity validation. |+| `ContentLoader`, `FormControl`, `GenericFieldLabel`, `PageHeader`, `Tag` | Blocked | The V3 replacements require consumer-specific composition or accessibility changes. |+| `SecretInput`, `SecretPathInput` | Blocked | Security-sensitive or specialist behavior needs workflow-level parity validation. || `NoticeBannerV2` | Blocked | Verify that V3 `Alert` covers existing layout and action requirements. || `Lottie` | Blocked | V3 `Loader` is the replacement, but the application entry point still needs the V2 compatibility path. |-| `Popoverv2` | Blocked | Migrate the V2 `DatePicker` composition first. |-| `FontAwesomeSymbol`, `HighlightText`, `Slider` | Retained | No supported V3 primitive replaces the distinct capability. `HighlightText` re-exports the shared utility. |-| `CreatableSelect`, `Drawer`, `HeaderResizer`, `HoverCard`, `NoticeBanner`, `Popover`, `RadioGroup` | Removal candidate | Confirm indirect use, then handle removal as separate cleanup work. |++### Removed unused V2 families++The 2026-10-04 source audit found no external consumers of `Blur`, `CreatableSelect`, `DatePicker`, `Divider`, `Drawer`, `Editor`, `FontAwesomeSymbol`, `HeaderResizer`, `HighlightText`, `HoverCard`, `NoticeBanner`, `PasswordGenerator`, `Popover`, `RadioGroup`, or `Stepper`. `Popoverv2` was used only by the unused `DatePicker`; `Slider` was used only by the unused `PasswordGenerator`. Their implementations, private helpers, and exports have been deleted. The canonical shared `utilities/HighlightText` remains; only its unused V2 re-export was removed. No active date-input or specialist editor contract was replaced in this cleanup.## V3diff --git a/frontend/src/components/V3_MIGRATION.md b/frontend/src/components/V3_MIGRATION.mdnew file mode 100644index 0000000000..fd3cd6b6ca--- /dev/null+++ b/frontend/src/components/V3_MIGRATION.md@@ -0,0 +1,147 @@+# V3 UI removal ledger++The migration is complete only when the legacy UI implementations, exports, imports, aliases, and private dependencies are removed from the latest `main`. Migrating a consumer in an open PR does not mean its legacy family is removed on `main`. Moving an implementation into V3, renaming it, or wrapping it does not establish parity or removal.++## Baseline and measurement++Baseline: `infisical/infisical` `origin/main` **70e06365043ae3b6f49ef6c95a8b9997b20f4a34**, fetched **2026-10-04**. The September 24 design audit is historical context, not current acceptance evidence.++The baseline contains **52 V2 families**, **106 family source files plus the root barrel**, and **312 distinct external consumer files**. Of those consumer files, 311 have runtime references; the remaining file uses a legacy menu type. Counts include layouts, shared features, entry code, and type dependencies, not just JSX tags. Families overlap across consumers, so table rows must not be summed into a consumer-file total.++Inventory used TypeScript 5.6.3 module resolution with the frontend tsconfig, compiler-resolved symbol declarations, import/export edges, and actual identifier references. Both alias and relative paths, deep imports, re-exports, namespace imports, stories, tests, JS/config sources, and dynamic imports were inspected. No V3-to-V2 import/export ingress or computed dynamic import was found at this baseline. This proves source relationships, not interaction parity or authenticated acceptance.++Regenerate the current import/export and family inventory from the repository root:++```sh+node frontend/scripts/audit-v2-ui.mjs > v2-ui-inventory.json+node frontend/scripts/audit-v2-ui.mjs --assert-zero > v2-ui-completion.json+```++The script inspects tracked and nonignored untracked frontend JS/TS sources. It resolves imports through the configured aliases and records original declarations for named/default bindings, including aliases through another barrel. Its JSON includes every legacy module edge and binding, external consumers, V3 ingress, unresolved/computed dynamic imports, literal glob matches, and additional known legacy source paths. Literal Vite globs with standard relative/root/`@app` paths are matched against source paths; unrelated globs do not fail the gate, but explicit stale V2 glob paths do. Nonliteral imports or globs with an unclassified base/alias remain manual-review blockers. Its `head` and `workingTree` fields distinguish a clean baseline from a local candidate. Outputs are local audit artifacts, not files to commit.++`--assert-zero` is expected to fail during migration. It requires zero V2 files, zero legacy module edges, zero known unversioned legacy paths, and zero unclassified computed imports. It does not replace review for copied/renamed legacy implementations, new feature-specific legacy code, behavior, or security. Review the source and diff alongside the machine gate.++## Family coverage++In the table, E is the number of external consumer files and I is the number of other V2 consumer files at the baseline. Implementation paths are relative to `frontend/src/components/v2/`; each family includes its own barrel and private helpers. Consumer references are repository-relative at the baseline commit, not guaranteed current line numbers.++| Family / implementation | E / I | Replacement and parity work | Baseline consumer example or deletion proof |+| --- | --- | --- | --- |+| `Accordion/Accordion.tsx` | 4 / 0 | V3 Accordion; verify collapsible/default state and form section semantics. | `frontend/src/pages/cert-manager/PkiSubscribersPage/components/PkiSubscriberModal.tsx:521` |+| `Alert/Alert.tsx` | 2 / 0 | V3 Alert composition; preserve rich descriptions/actions. | `frontend/src/pages/secret-manager/integrations/FlyioConfigurePage/FlyioConfigurePage.tsx:135` |+| `Blur/Blur.tsx` | 0 / 0 | Deleted in first wave; no external or internal consumer. | No incoming non-export edge or external symbol reference. |+| `Breadcrumb/Breadcrumb.tsx` | 6 / 0 | V3 Breadcrumb and layout metadata; preserve links and accessible navigation. | `frontend/src/pages/pam/layout.tsx:60` |+| `Button/Button.tsx` | 141 / 4 | V3 Button; map intent, disabled/loading, type, refs, and permissions per flow. | `frontend/src/pages/middlewares/restrict-login-signup.tsx:61` |+| `Card/Card.tsx` | 66 / 2 | V3 Card slots; preserve layout and state-bearing children. | `frontend/src/pages/secret-manager/integrations/SelectIntegrationAuthPage/SelectIntegrationAuthPage.tsx:164` |+| `Checkbox/Checkbox.tsx` | 11 / 1 | V3 Checkbox + Field; verify controlled/indeterminate state and labels. | `frontend/src/pages/organization/AccessManagementPage/components/UpgradePrivilegeSystemModal/UpgradePrivilegeSystemModal.tsx:180` |+| `ConfirmActionModal/ConfirmActionModal.tsx` | 2 / 0 | V3 AlertDialog; verify async confirmation, errors, focus, and close. | `frontend/src/pages/auth/AccountRecoveryResetPage/AccountRecoveryResetPage.tsx:94` |+| `ContentLoader/ContentLoader.tsx` | 12 / 0 | V3 Loader/PageLoader composition; preserve pending boundaries. | `frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx:446` |+| `CopyButton/CopyButton.tsx` | 2 / 0 | V3 CopyButton; verify exact copy, failure feedback, and labels. | `frontend/src/pages/cert-manager/CertificateDetailsByIDPage/components/CertificateDetailsSection.tsx:275` |+| `CreatableSelect/CreatableSelect.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming non-export edge or external symbol reference. |+| `DatePicker/DatePicker.tsx` | 0 / 0 | Deleted in first wave; no active date contract replaced. | Only its own barrel exported it. |+| `DeleteActionModal/DeleteActionModal.tsx` | 56 / 0 | V3 AlertDialog; preserve confirmation gates, mutations, cleanup, and error recovery. | `frontend/src/pages/organization/AccessManagementPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsSection.tsx:121` |+| `Divider/Divider.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. |+| `Drawer/Drawer.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. |+| `Dropdown/Dropdown.tsx` | 23 / 2 | V3 DropdownMenu; check checkbox/radio, submenu, disabled actions, and focus. | `frontend/src/pages/secret-scanning/SecretScanningFindingsPage/components/SecretScanningFindingRow.tsx:137` |+| `Editor/Editor.tsx` and private plugins | 0 / 0 | Deleted in first wave; no specialist workflow replaced. | No external reference to Editor or EditorHighlightPlugin. |+| `EmptyState/EmptyState.tsx` | 27 / 0 | V3 Empty; distinguish collection-empty, filtered-zero, loading, and permissions. | `frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx:172` |+| `FilterableSelect/FilterableSelect.tsx` | 20 / 0 | V3 Combobox; retain grouping, option rendering, async/loading, creation, and focus contracts. | `frontend/src/pages/organization/UserDetailsByIDPage/components/UserOrgMembershipModal.tsx:136` |+| `FontAwesomeSymbol/FontAwesomeSymbol.tsx` | 0 / 0 | Deleted in first wave; a previously retained capability has no consumer. | Only its own/root barrels exported it. |+| `FormControl/FormControl.tsx` | 123 / 2 | V3 Field composition; preserve IDs, labels, help/error associations, validation, and RHF integration. | `frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/MetadataForm.tsx:25` |+| `GenericFieldLabel/GenericFieldLabel.tsx` | 12 / 0 | V3 FieldLabel/Detail composition; verify label/control association and tooltips. | `frontend/src/pages/secret-scanning/SecretScanningFindingsPage/components/SecretScanningFindingRow.tsx:171` |+| `HeaderResizer/HeaderResizer.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming module edge or external symbol reference. |+| `HighlightText/index.tsx` | 0 / 0 | Deleted unused V2 re-export; canonical shared utility stays. | No incoming module edge; utility has independent consumers. |+| `HoverCard/HoverCard.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming module edge or external symbol reference. |+| `HoverCardv2/HoverCardv2.tsx` | 1 / 0 | V3 HoverCard; verify trigger, rich content, placement, and focus access. | `frontend/src/pages/cert-manager/DiscoveryPage/components/DiscoveryJobsTab.tsx:154` |+| `IconButton/IconButton.tsx` | 40 / 6 | V3 IconButton; preserve accessible names, disabled/pending state and triggers. | `frontend/src/pages/auth/CliRedirectPage/CliRedirectPage.tsx:66` |+| `Input/Input.tsx` | 100 / 4 | V3 Input/InputGroup; preserve refs, validation, type and adornment behavior. | `frontend/src/pages/secret-manager/SecretDashboardPage/components/DynamicSecretListView/MetadataForm.tsx:58` |+| `Lottie/Lottie.tsx` | 1 / 0 | V3 Loader; remove entry/barrel chunk-order dependency with a production boot proof. | `frontend/src/main.tsx:83` |+| `Menu/Menu.tsx` | 1 / 0 | One remaining type reference; replace with actual V3 contract, then delete source/exports. | `frontend/src/layouts/OrganizationLayout/components/MenuIconButton/MenuIconButton.tsx:19` |+| `Modal/Modal.tsx` | 55 / 2 | V3 Dialog/Sheet chosen by form size; verify nested overlays, portal lifetime, close/discard, mutation errors, and focus. | `frontend/src/pages/organization/AccessManagementPage/components/UpgradePrivilegeSystemModal/UpgradePrivilegeSystemModal.tsx:65` |+| `NoticeBanner/NoticeBanner.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. |+| `NoticeBannerV2/NoticeBannerV2.tsx` | 2 / 0 | V3 Alert composition; preserve warnings and associated actions. | `frontend/src/components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx:273` |+| `PageHeader/PageHeader.tsx` | 32 / 0 | V3 PageHeader; preserve action slots, scope icons, responsive behavior, and caller spacing. | `frontend/src/pages/organization/ProjectsPage/ProjectsPage.tsx:53` |+| `Pagination/Pagination.tsx` | 12 / 0 | V3 Pagination; preserve page origin, size change, counts, and filtering/reset behavior. | `frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx:163` |+| `PasswordGenerator/PasswordGenerator.tsx` | 0 / 0 | Deleted in first wave; V3 generator remains independent. | No external consumer; its private Slider also deleted. |+| `Popover/Popover.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming module edge or external symbol reference. |+| `Popoverv2/Popoverv2.tsx` | 0 / 1 | Deleted with unused DatePicker in first wave. | Only DatePicker referenced it outside its own family. |+| `RadioGroup/RadioGroup.tsx` | 0 / 0 | Deleted in first wave, including an obsolete commented import. | No actual incoming module edge or external symbol reference. |+| `SecretInput/SecretInput.tsx` | 1 / 0 | V3 specialist input; preserve masking, permission boundaries, reveal, copy, and ref behavior. | `frontend/src/pages/auth/CliRedirectPage/CliRedirectPage.tsx:64` |+| `SecretPathInput/SecretPathInput.tsx` | 12 / 0 | V3 SecretPathInput; verify environment/path selection, permission filtering, loading, and controlled values. | `frontend/src/pages/secret-manager/integrations/RundeckConfigurePage/RundeckConfigurePage.tsx:161` |+| `Select/Select.tsx` and components | 58 / 0 | V3 Select/Combobox chosen by interaction; preserve option values and form semantics. | `frontend/src/pages/secret-scanning/SecretScanningFindingsPage/components/SecretScanningUpdateFindingModal.tsx:94` |+| `Skeleton/Skeleton.tsx` | 3 / 1 | V3 Skeleton; preserve meaningful loading shape and table ownership. | `frontend/src/views/PkiAlertsV2Page/components/ViewPkiAlertV2Modal.tsx:54` |+| `Slider/Slider.tsx` | 0 / 1 | Deleted with unused PasswordGenerator in first wave. | PasswordGenerator was its only external-family consumer. |+| `Spinner/Spinner.tsx` | 19 / 1 | V3 Spinner; preserve wait semantics, sizing, and caller disabling. | `frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx:346` |+| `Stepper/Stepper.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. |+| `Switch/Switch.tsx` | 20 / 0 | V3 Toggle; preserve checked/value contract, labels, disabled and mutation state. | `frontend/src/components/secret-rotations-v2/DeleteSecretRotationV2Modal.tsx:66` |+| `Table/Table.tsx` | 30 / 0 | V3 Table/DataGrid chosen by workflow; preserve selection, sort, resize, virtualization and pagination state. | `frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx:109` |+| `Tabs/Tabs.tsx` | 10 / 0 | V3 Tabs; preserve controlled/default state, URL state, panel lifetime and keyboard navigation. | `frontend/src/pages/kms/SettingsPage/SettingsPage.tsx:33` |+| `Tag/Tag.tsx` | 3 / 0 | V3 Badge composition; preserve diff/status intent and accessible text. | `frontend/src/components/secrets/diff/FieldDiffRenderers.tsx:128` |+| `TextArea/TextArea.tsx` | 15 / 0 | V3 TextArea + Field; preserve controlled values, multiline input and validation. | `frontend/src/pages/organization/SettingsPage/components/ProjectTemplatesTab/components/ProjectTemplateDetailsModal.tsx:159` |+| `Tooltip/Tooltip.tsx` | 64 / 3 | V3 Tooltip; preserve providers, disabled triggers, long text and focus access. | `frontend/src/pages/root.tsx:53` |++First wave deletes **17 families / 35 files** plus their root exports. The candidate retains **35 families / 72 V2 files including the barrel**, and the same 312 external consumer files. These are candidate-worktree numbers until the PR is explicitly merged; the baseline does not change because a PR was opened.++## Product-surface coverage and order++Counts below are baseline runtime consumer files, excluding the one menu type-only consumer. Shared feature rows are separate from route rows, so a product migration must consider both. Follow the generated inventory for every file; the references below establish representative scope rather than an acceptance claim.++| Surface | Files | Source anchor | Migration unit and required checks |+| --- | ---: | --- | --- |+| Certificate Manager routes | 81 | `pages/cert-manager/PkiSubscribersPage/components/PkiSubscriberModal.tsx` | Split subscribers/issuance, authorities, applications, discovery and settings; preserve certificate mutations, validation, selection and permissions. |+| Secret Manager routes | 80 | `pages/secret-manager/integrations/SelectIntegrationAuthPage/SelectIntegrationAuthPage.tsx` | Integrations, settings, old dashboard, approvals; preserve hidden values, leases, bulk/table state and environment/path semantics. Held secret edit forms remain owned separately. |+| Organization routes | 53 | `pages/organization/SettingsPage/components/ProjectTemplatesTab/components/ProjectTemplateDetailsModal.tsx` | Groups/membership, projects/settings, auth policies; preserve RBAC and async form recovery. UpgradeGate held choices stay separate. |+| Secret Scanning routes | 23 | `pages/secret-scanning/SecretScanningFindingsPage/components/SecretScanningFindingRow.tsx` | Tables/detail/settings; preserve filtering, finding states, and mutations. Include the shared provider forms below. |+| PAM routes | 18 | `pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsx` | Focused page headers, loading and confirmations; preserve org-scoped project resolution and access gates. |+| KMS routes | 13 | `pages/kms/OverviewPage/components/CmekEncryptModal.tsx` | Crypto operation overlays/settings; preserve operation-specific validation, masking and permission checks. |+| Authentication routes | 5 | `pages/auth/CliRedirectPage/CliRedirectPage.tsx` | Token display and recovery confirmations; verify masking, exact copy, no unintended reveal, and redirect lifetime. |+| Project routes | 2 | `pages/project/AuditLogsPage/AuditLogsPage.tsx` | PageHeader consumers; retain action placement and scope. |+| Agent Vault layout | 1 | `pages/agent-vault/layout.tsx` | Breadcrumb metadata; preserve implicit-project route contract. |+| Middleware and root | 2 | `pages/root.tsx` | Restriction action and TooltipProvider; prove application boot/provider lifetime. |+| Shared Secret Scanning features | 16 | `components/secret-scanning/forms/SecretScanningDataSourceForm.tsx` | Provider setup and connection/config fields; preserve RHF/Zod validation, async option lists and creation. |+| Shared rotation features | 6 | `components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx` | Warnings/credentials/confirmations; preserve masking, delete constraints and rotation contracts. Product API version is not a legacy UI exemption. |+| Shared PKI alerts view | 3 | `views/PkiAlertsV2Page/components/ViewPkiAlertV2Modal.tsx` | Tables/details and confirmations; preserve counts, filtering and modal state. |+| Shared approvals | 1 | `components/approvals/PolicyApprovalSteps.tsx` | Step configuration; preserve approver ordering, selections and validation. |+| Shared feature helpers | 1 | `components/features/TtlFormLabel.tsx` | Label composition; preserve TTL help and accessibility. |+| Shared integrations | 1 | `components/integrations/NoEnvironmentsBanner.tsx` | Remaining legacy action; preserve navigation and disabling. |+| Shared navigation | 1 | `components/navigation/SecretDashboardPathBreadcrumb.tsx` | Trigger/tooltip; preserve path selection and keyboard behavior. |+| Shared secret diff | 1 | `components/secrets/diff/FieldDiffRenderers.tsx` | Tags/tooltips; preserve before/after and hidden-value representation. |+| Shared tags | 1 | `components/tags/CreateTagModal/CreateTagModal.tsx` | Form/overlay; preserve validation, submit errors and caller selection. |+| Shared utilities | 1 | `components/utilities/certificateDisplayUtils.tsx` | Certificate status tooltip; preserve warning/status semantics and accessible content. |+| Application entry | 1 | `main.tsx` | Loader removal unit; production build and boot, not only dev/HMR/types. |++All source anchors in this surface table are relative to `frontend/src/`. Refresh the file inventory before allocating a unit; do not infer ownership from a product name alone.++### Additional legacy and compatibility boundaries++- `components/basic/InputField.tsx` is an unversioned legacy input, and `components/basic/Error.tsx` is a legacy error presentation used by `components/auth/Mfa.tsx`. Remove unused source or migrate the live caller; neither may be hidden by a rename.+- `components/integrations/NoEnvironmentsBanner.tsx`, `components/navigation/SecretDashboardPathBreadcrumb.tsx`, and `components/tags/CreateTagModal/CreateTagModal.tsx` are V2-dependent feature wrappers with no consuming module/symbol references at the baseline. Reverify and delete their unused implementation/export closure in a separate focused unit. The known outside-path completion gate includes these files.+- `pages/secret-manager/OverviewPage/components/SecretSearchInput/SecretSearchInput.tsx` and its barrel are an old Headless UI search control. Its sibling quick-search components are also consumed by the newer `ResourceSearchInput`; preserve those workflows while removing or replacing the old control.+- `legacy.css`, imported by `index.css`, is the legacy palette. Migrate all remaining utility consumers before deleting it; deleting V2 React files alone is not a token cleanup proof.+- V3 `ReactSelect` is an independently implemented, token-based compatibility family, not a wrapper importing V2. Its deprecated status does not make every current consumer a V2 import. Do not use it as a cosmetic shortcut to avoid verifying Combobox behavior. Record custom option/group/creation/portal contracts and any replacement work before retiring `react-select`.+- V3 `SecretInput`, `InfisicalSecretInput`, `SecretPathInput`, and `PasswordGenerator` have their own implementations. Compare security-sensitive behavior, not names. Removing unused V2 Editor/PasswordGenerator does not certify every active V3 editor flow.+- API/data versions such as `hooks/api/secretRotationsV2`, `BillingV2Page`, `PkiAlertsV2Page`, backend secret-v2 services and migration files are not automatically legacy UI. Their actual UI imports and implementations remain in scope; their legitimate API versions are not renamed.+- Third-party Radix, Lexical, Lottie, Font Awesome and react-select packages have current non-V2 consumers. A dependency is deleted only after its remaining ownership is proved; no package-name-based purge.++## Execution sequence and ownership++One owner controls each implementation family or domain unit. Domain writes run on isolated branches and may proceed in parallel only when their consumer files and shared replacements do not overlap. Shared primitives, the root barrel, and lifecycle decisions have an explicit owner. Recheck reservations and fetch `main` before each wave.++1. **Dead-source removal:** delete the proven 17-family closure and exports. Risk is low for functionality but the entry's known chunk-order coupling makes production build/boot mandatory. Do not change live defaults or dependencies.+2. **Startup and small-family closure:** replace entry Lottie, obsolete menu type, focused PageHeader/Breadcrumb and low-fanout presentation consumers. Verify local composition, theme and keyboard contracts, then remove a family only once every incoming path is gone.+3. **Isolated product waves:** migrate KMS, Secret Scanning, certificate subdomains, organization settings/membership, Secret Manager integrations/legacy dashboard and shared feature forms in separately owned reviewable slices. Bring missing V3 behavior into a prerequisite PR rather than widening every consumer PR.+4. **Overlays and high-fanout primitives:** resolve portal/toast/focus contracts, confirmation and discard behavior before bulk modal/menu work. Drain Button/Input/Field/Select/Table/Tabs/Tooltip consumers with their domains, then delete their implementation/export closure. No mass find-replace.+5. **Security and final closure:** validate specialist input/path/credentials and representative permission-denied/edit-without-value-read flows. Remove unnamed legacy source, old style dependencies, stale stories/docs and the final V2 barrel. Re-run completion checks on latest merged `main`.++At mission creation, held/reserved work is UpgradeGate (#8182, INFS-647), secret edit/comment sheets (#8407, INFS-643), AlertDialog/Button text (#8416, INFS-652), ESLint configuration (#8398, INFS-607), and toast/dialog selection and reverse-Tab proof (INFS-656). Do not duplicate their changes or resolve their held product decisions indirectly. The reported Sonner reverse-Tab issue is a parity blocker to solve, not permission to weaken accessibility.++Before each wave, record changed source paths, risk, state/security contracts, needed replacements, validation evidence and limits. Escalate real product/policy/security tradeoffs; mechanical migrations do not require redundant permission. Never remove user functionality to meet a source count.++## Completion acceptance++- All implementation PRs have landed through explicitly authorized merges. Refresh latest `origin/main`; report its exact commit and check a clean worktree, not a combined set of open branches.+- `audit-v2-ui.mjs --assert-zero` passes on that main commit. Review its detailed output and re-audit unversioned wrappers/feature primitives so the explicit outside-path list cannot conceal newly discovered legacy.+- The V2 source tree/barrel and every dead V2 helper are absent. No direct/deep/relative/dynamic/re-export path, alias, type dependency or V3 wrapper reaches a legacy implementation. Review file history/diffs for copied or cosmetically renamed code.+- Legacy styles and component-owned dependencies are removed after proving remaining consumer ownership. Legitimate API versions and independently supported V3 capabilities are disclosed rather than counted as UI exceptions.+- Focused lint/types/build checks pass at the accepted head. Representative real rendered flows establish RBAC, hidden-value security, mutations, validation, keyboard/focus, nested overlay and portal lifetime, table/virtualization state and any active date/editor contracts. Synthetic screenshots and fixtures are distinguished from authenticated acceptance.+- This ledger, lifecycle guidance, stories and design references reflect actual removed-on-main progress. An unresolved V2 family means the mission is **not complete**. Merge, preview deployment and production rollout are reported separately; no rollout claim follows from CI alone.diff --git a/frontend/src/components/v2/Blur/Blur.tsx b/frontend/src/components/v2/Blur/Blur.tsxdeleted file mode 100644index 5a27a76401..0000000000--- a/frontend/src/components/v2/Blur/Blur.tsx+++ /dev/null@@ -1,22 +0,0 @@-import { twMerge } from "tailwind-merge";--import { Tooltip } from "../Tooltip/Tooltip";--interface IProps {- className?: string;- tooltipText?: string;-}--export const Blur = ({ className, tooltipText }: IProps) => {- return (- <Tooltip content={tooltipText} className="max-w-md" isDisabled={!tooltipText}>- <div- className={twMerge("flex w-80 grow items-center py-1 pr-2 pl-4", className)}- tabIndex={0}- role="button"- >- <span className="blur-sm">xxxxxxxxxxxx</span>- </div>- </Tooltip>- );-};diff --git a/frontend/src/components/v2/Blur/index.tsx b/frontend/src/components/v2/Blur/index.tsxdeleted file mode 100644index 50fb7ccc64..0000000000--- a/frontend/src/components/v2/Blur/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { Blur } from "./Blur";diff --git a/frontend/src/components/v2/CreatableSelect/CreatableSelect.tsx b/frontend/src/components/v2/CreatableSelect/CreatableSelect.tsxdeleted file mode 100644index f9a5adb983..0000000000--- a/frontend/src/components/v2/CreatableSelect/CreatableSelect.tsx+++ /dev/null@@ -1,71 +0,0 @@-import { GroupBase } from "react-select";-import ReactSelectCreatable, { CreatableProps } from "react-select/creatable";-import { twMerge } from "tailwind-merge";--import { ClearIndicator, DropdownIndicator, MultiValueRemove, Option } from "../Select/components";--export const CreatableSelect = <T,>({- isMulti,- closeMenuOnSelect,- ...props-}: CreatableProps<T, boolean, GroupBase<T>>) => {- return (- <ReactSelectCreatable- isMulti={isMulti}- closeMenuOnSelect={closeMenuOnSelect ?? !isMulti}- hideSelectedOptions={false}- unstyled- styles={{- input: (base) => ({- ...base,- "input:focus": {- boxShadow: "none"- }- }),- multiValueLabel: (base) => ({- ...base,- whiteSpace: "normal",- overflow: "visible"- }),- control: (base) => ({- ...base,- transition: "none"- })- }}- components={{ DropdownIndicator, ClearIndicator, MultiValueRemove, Option }}- classNames={{- container: () => "w-full font-sans",- control: ({ isFocused }) =>- twMerge(- isFocused- ? "border-project/50"- : "border-border-control hover:border-border-cool-emphasis",- "w-full rounded-md border bg-surface-base p-0.5 font-sans text-foreground-secondary hover:cursor-pointer"- ),- placeholder: () => "text-muted text-sm pl-1 py-0.5",- input: () => "pl-1 py-0.5",- valueContainer: () => `p-1 max-h-56 ${isMulti ? "overflow-y-auto!" : ""} gap-1`,- singleValue: () => "leading-7 ml-1",- multiValue: () => "bg-surface-active rounded-sm items-center py-0.5 px-2 gap-1.5",- multiValueLabel: () => "leading-6 text-sm",- multiValueRemove: () => "hover:text-danger text-muted-secondary",- indicatorsContainer: () => "p-1 gap-1",- clearIndicator: () => "p-1 hover:text-danger text-muted-secondary",- indicatorSeparator: () => "bg-muted-secondary",- dropdownIndicator: () => "text-foreground-soft p-1",- menu: () =>- "mt-2 border text-sm text-foreground-secondary bg-surface-base border-border-control rounded-md",- groupHeading: () => "ml-3 mt-2 mb-1 text-muted text-sm",- option: ({ isFocused, isSelected }) =>- twMerge(- isFocused && "bg-surface-hover active:bg-surface-active",- isSelected && "text-foreground-secondary",- "px-3 py-2 text-xs hover:cursor-pointer"- ),- noOptionsMessage: () => "text-muted p-2 rounded-md",- loadingMessage: () => "text-muted p-2 rounded-md"- }}- {...props}- />- );-};diff --git a/frontend/src/components/v2/CreatableSelect/index.tsx b/frontend/src/components/v2/CreatableSelect/index.tsxdeleted file mode 100644index 7a8676c3b6..0000000000--- a/frontend/src/components/v2/CreatableSelect/index.tsx+++ /dev/null@@ -1 +0,0 @@-export * from "./CreatableSelect";diff --git a/frontend/src/components/v2/DatePicker/DatePicker.tsx b/frontend/src/components/v2/DatePicker/DatePicker.tsxdeleted file mode 100644index 20748cda4d..0000000000--- a/frontend/src/components/v2/DatePicker/DatePicker.tsx+++ /dev/null@@ -1,163 +0,0 @@-import { ChangeEventHandler, useState } from "react";-import { DayPicker, DayPickerProps, getDefaultClassNames, TZDate, UI } from "react-day-picker";-import { faCalendar } from "@fortawesome/free-solid-svg-icons";-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";-import { PopoverContentProps, PopoverProps } from "@radix-ui/react-popover";-import { format, setHours, setMinutes } from "date-fns";-import { twMerge } from "tailwind-merge";--import { cn } from "@app/components/v3/utils";-import { formatDateTime, Timezone } from "@app/helpers/datetime";--import { Button } from "../Button";-import { Input } from "../Input";-import { Popover, PopoverContent, PopoverTrigger } from "../Popoverv2";--const defaultClassNames = getDefaultClassNames();--export type DatePickerProps = Omit<DayPickerProps, "selected"> & {- value?: Date;- onChange: (date?: Date) => void;- popUpProps: PopoverProps;- popUpContentProps: PopoverContentProps;- dateFormat?: "PPP" | "PP" | "P"; // extend as needed- hideTime?: boolean;- buttonClassName?: string;- timezone?: Timezone;-};--const localTimeToUTC = (timeString: string) => {- const today = new Date();- const [hours, minutes] = timeString.split(":").map(Number);-- today.setHours(hours, minutes, 0, 0);-- const utcHours = today.getUTCHours().toString().padStart(2, "0");- const utcMinutes = today.getUTCMinutes().toString().padStart(2, "0");-- return `${utcHours}:${utcMinutes}`;-};--const utcTimeToLocal = (utcTimeString: string) => {- const today = new Date();- const [hours, minutes] = utcTimeString.split(":").map(Number);-- today.setUTCHours(hours, minutes, 0, 0);-- const localHours = today.getHours().toString().padStart(2, "0");- const localMinutes = today.getMinutes().toString().padStart(2, "0");-- return `${localHours}:${localMinutes}`;-};--// Doc: https://react-day-picker.js.org/-export const DatePicker = ({- value,- onChange,- popUpProps,- popUpContentProps,- dateFormat = "PPP",- hideTime = false,- buttonClassName,- timezone,- ...props-}: DatePickerProps) => {- const [timeValue, setTimeValue] = useState<string>(value ? format(value, "HH:mm") : "00:00");- const displayUtc = timezone === Timezone.UTC;-- const handleTimeChange: ChangeEventHandler<HTMLInputElement> = (e) => {- const time = displayUtc ? utcTimeToLocal(e.target.value) : e.target.value;-- if (time) {- setTimeValue(time);- if (value) {- const [hours, minutes] = time.split(":").map((str) => parseInt(str, 10));- const newSelectedDate = setHours(setMinutes(value, minutes), hours);- onChange(newSelectedDate);- }- }- };-- const handleDaySelect = (date: Date | undefined) => {- if (!timeValue || !date) {- onChange(date);- return;- }-- const [hours, minutes] = timeValue.split(":").map((str) => parseInt(str, 10));- const newDate = new Date(date.getFullYear(), date.getMonth(), date.getDate(), hours, minutes);- onChange(newDate);- };-- return (- <Popover {...popUpProps}>- <PopoverTrigger asChild>- <Button- className={buttonClassName}- variant="outline_bg"- leftIcon={<FontAwesomeIcon icon={faCalendar} />}- >- {value- ? formatDateTime({ timestamp: value, timezone, dateFormat })- : `Select Date${hideTime ? "" : " and Time"}`}- </Button>- </PopoverTrigger>- <PopoverContent- {...popUpContentProps}- className={twMerge(- "w-fit border border-border-control bg-surface-raised p-2 font-sans",- popUpContentProps.className- )}- >- <div className="px-2 pt-4">- <DayPicker- {...props}- mode="single"- selected={value ? new TZDate(value, displayUtc ? "UTC" : undefined) : undefined}- onSelect={(date) => handleDaySelect(date ? new TZDate(date, undefined) : undefined)}- className="font-sans text-foreground-secondary"- timeZone={displayUtc ? "UTC" : undefined}- classNames={{- today: "text-project border-project",- selected: " text-foreground bg-surface-selected",- root: `text-label ${defaultClassNames}`,- [UI.DayButton]:- "p-3 w-full cursor-pointer text-center rounded-sm hover:text-foreground",- [UI.Weekday]: "px-3 pt-3",- [UI.Chevron]: "fill-label/70 hover:fill-label",- disabled: "text-muted pointer-events-none",- nav: cn(- "flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",- defaultClassNames.nav- ),- months: cn("flex gap-4 flex-col md:flex-row relative", defaultClassNames.months),- month: cn("flex flex-col w-full gap-4", defaultClassNames.month),- button_previous: cn(- "aria-disabled:opacity-50 p-0 cursor-pointer select-none",- defaultClassNames.button_previous- ),- button_next: cn(- "aria-disabled:opacity-50 p-0 cursor-pointer select-none",- defaultClassNames.button_next- ),- month_caption: cn(- "flex items-center justify-center w-full ",- defaultClassNames.month_caption- )- }}- />- </div>- {!hideTime && (- <div className="mx-4 my-4">- <Input- type="time"- value={displayUtc ? localTimeToUTC(timeValue) : timeValue}- onChange={handleTimeChange}- className="bg-surface-hover text-foreground-inverse scheme-dark"- />- </div>- )}- </PopoverContent>- </Popover>- );-};diff --git a/frontend/src/components/v2/DatePicker/index.tsx b/frontend/src/components/v2/DatePicker/index.tsxdeleted file mode 100644index 86fa9e298e..0000000000--- a/frontend/src/components/v2/DatePicker/index.tsx+++ /dev/null@@ -1,2 +0,0 @@-export type { DatePickerProps } from "./DatePicker";-export { DatePicker } from "./DatePicker";diff --git a/frontend/src/components/v2/Divider/Divider.tsx b/frontend/src/components/v2/Divider/Divider.tsxdeleted file mode 100644index 85bd7c83c8..0000000000--- a/frontend/src/components/v2/Divider/Divider.tsx+++ /dev/null@@ -1,13 +0,0 @@-import { twMerge } from "tailwind-merge";--interface IProps {- className?: string;-}--export const Divider = ({ className }: IProps): JSX.Element => {- return (- <div className={twMerge("flex items-center px-2 opacity-50", className)}>- <div aria-hidden="true" className="h-1 w-full grow border-t border-border-bright" />- </div>- );-};diff --git a/frontend/src/components/v2/Divider/index.tsx b/frontend/src/components/v2/Divider/index.tsxdeleted file mode 100644index ac407aa37d..0000000000--- a/frontend/src/components/v2/Divider/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { Divider } from "./Divider";diff --git a/frontend/src/components/v2/Drawer/Drawer.tsx b/frontend/src/components/v2/Drawer/Drawer.tsxdeleted file mode 100644index acfd512afd..0000000000--- a/frontend/src/components/v2/Drawer/Drawer.tsx+++ /dev/null@@ -1,113 +0,0 @@-import { forwardRef, ReactNode } from "react";-import { faTimes } from "@fortawesome/free-solid-svg-icons";-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";-import * as DialogPrimitive from "@radix-ui/react-dialog";-import { cva, VariantProps } from "cva";-import { twMerge } from "tailwind-merge";--import { Card, CardBody, CardFooter, CardTitle } from "../Card";-import { IconButton } from "../IconButton";--export type DrawerContentProps = DialogPrimitive.DialogContentProps & {- title?: ReactNode;- subTitle?: ReactNode;- footerContent?: ReactNode;- onClose?: () => void;- cardBodyClassName?: string;-} & VariantProps<typeof drawerContentVariation>;--const drawerContentVariation = cva(- "fixed ease-in-out duration-300 z-90 border border-border-control drop-shadow-2xl",- {- variants: {- direction: {- right: [- "right-0 top-0",- "h-full w-96",- "data-[state=open]:animate-drawer-right-in data-[state=closed]:animate-drawer-right-out"- ]- }- }- }-);--export const DrawerContent = forwardRef<HTMLDivElement, DrawerContentProps>(- (- {- children,- title,- subTitle,- className,- footerContent,- direction = "right",- onClose,- cardBodyClassName,- ...props- },- forwardedRef- ) => (- <DialogPrimitive.Portal>- <DialogPrimitive.Overlay- className="fixed inset-0 z-20 h-full w-full"- style={{ backgroundColor: "rgba(0, 0, 0, 0.7)" }}- />- <DialogPrimitive.Content- {...props}- ref={forwardedRef}- className={twMerge(drawerContentVariation({ direction, className }))}- onPointerDownOutside={(e) => {- const target = e.target as HTMLElement;- const toastElement = target.closest("[data-sonner-toast]");- if (toastElement) {- e.preventDefault();- return;- }-- if (onClose) {- onClose();- }- props.onPointerDownOutside?.(e);- }}- >- <Card isRounded={false} className="dark h-full w-full bg-surface-raised">- {title && (- <CardTitle subTitle={subTitle} className="mb-0 px-4">- {title}- </CardTitle>- )}- <CardBody- className={twMerge(- "grow overflow-x-hidden overflow-y-auto px-4 pt-4 dark:scheme-dark",- cardBodyClassName- )}- >- {children}- </CardBody>- {footerContent && <CardFooter>{footerContent}</CardFooter>}{" "}- <DialogPrimitive.Close aria-label="Close" asChild onClick={onClose}>- <IconButton- variant="plain"- ariaLabel="close"- className="absolute top-4 right-6 rounded-sm text-muted-secondary hover:text-foreground-emphasis"- >- <FontAwesomeIcon icon={faTimes} size="lg" className="cursor-pointer" />- </IconButton>- </DialogPrimitive.Close>- </Card>- </DialogPrimitive.Content>- </DialogPrimitive.Portal>- )-);--DrawerContent.displayName = "ModalContent";--export type DrawerProps = Omit<DialogPrimitive.DialogProps, "open"> & { isOpen?: boolean };-export const Drawer = ({ isOpen, ...props }: DrawerProps) => (- <DialogPrimitive.Root open={isOpen} {...props} />-);--export const DrawerTrigger = DialogPrimitive.Trigger;-export type DrawerTriggerProps = DialogPrimitive.DialogTriggerProps;--export const DrawerClose = DialogPrimitive.Close;-export type DrawerCloseProps = DialogPrimitive.DialogCloseProps;diff --git a/frontend/src/components/v2/Drawer/index.tsx b/frontend/src/components/v2/Drawer/index.tsxdeleted file mode 100644index 4f1a34981a..0000000000--- a/frontend/src/components/v2/Drawer/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { Drawer, DrawerClose, DrawerContent, DrawerTrigger } from "./Drawer";diff --git a/frontend/src/components/v2/Editor/Editor.tsx b/frontend/src/components/v2/Editor/Editor.tsxdeleted file mode 100644index d59c4dbb5f..0000000000--- a/frontend/src/components/v2/Editor/Editor.tsx+++ /dev/null@@ -1,159 +0,0 @@-/* eslint-disable no-underscore-dangle */-import { forwardRef, InputHTMLAttributes } from "react";-import { InitialConfigType, LexicalComposer } from "@lexical/react/LexicalComposer";-import { ContentEditable } from "@lexical/react/LexicalContentEditable";-import { LexicalErrorBoundary } from "@lexical/react/LexicalErrorBoundary";-import { OnChangePlugin } from "@lexical/react/LexicalOnChangePlugin";-import { PlainTextPlugin } from "@lexical/react/LexicalPlainTextPlugin";-import { ReactNode } from "@tanstack/react-router";-import { cva, VariantProps } from "cva";-import { EditorState, LexicalEditor } from "lexical";-import { twMerge } from "tailwind-merge";--import { HighlightNode } from "./EditorHighlight";-import { EditorPlaceholderPlugin } from "./EditorPlaceholderPlugin";--// Catch any errors that occur during Lexical updates and log them-// or throw them as needed. If you don't throw them, Lexical will-// try to recover gracefully without losing user data.-function onError(error: Error) {- console.error(error);-}--const inputVariants = cva(- "input w-full py-1.5 text-muted-cool placeholder:text-sm placeholder:text-muted-cool-secondary/50 outline-hidden focus:ring-2 hover:ring-muted-secondary/60 duration-100",- {- variants: {- size: {- xs: ["text-xs"],- sm: ["text-sm"],- md: ["text-md"],- lg: ["text-lg"]- },- isRounded: {- true: ["rounded-md"],- false: ""- },- variant: {- filled: ["bg-surface-base", "text-muted-cool"],- outline: ["bg-transparent"],- plain: "bg-transparent outline-hidden"- },- isError: {- true: "focus:ring-danger/50 placeholder:text-danger",- false: "focus:ring-project/50 focus:ring-1"- }- },- compoundVariants: []- }-);--const inputParentContainerVariants = cva("inline-flex font-sans items-center border relative", {- variants: {- isRounded: {- true: ["rounded-md"],- false: ""- },- isError: {- true: "border-danger",- false: "border-border-strong"- },- isFullWidth: {- true: "w-full",- false: ""- },- variant: {- filled: ["bg-page", "text-muted-cool"],- outline: ["bg-transparent"],- plain: "border-none"- }- }-});--type Props = Omit<- InputHTMLAttributes<HTMLDivElement>,- "size" | "onChange" | "placeholder" | "aria-placeholder"-> &- VariantProps<typeof inputVariants> & {- children?: ReactNode;- namespace?: string;- placeholder?: string;- isFullWidth?: boolean;- isRequired?: boolean;- leftIcon?: ReactNode;- rightIcon?: ReactNode;- isDisabled?: boolean;- isReadOnly?: boolean;- containerClassName?: string;- onChange: (editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => void;- initialValue?: string;- };--export const Editor = forwardRef<HTMLDivElement, Props>(- (- {- children,- namespace = "infisical-editor",- className,- containerClassName,- isRounded = true,- isFullWidth = true,- isDisabled,- isError = false,- isRequired,- leftIcon,- rightIcon,- variant = "filled",- size = "md",- isReadOnly,- placeholder,- onChange,- ...props- },- ref- ) => {- const initialConfig: InitialConfigType = {- namespace,- onError,- nodes: [HighlightNode]- };-- return (- <div- className={inputParentContainerVariants({- isRounded,- isError,- isFullWidth,- variant,- className: containerClassName- })}- >- {leftIcon && <span className="absolute left-0 ml-3 text-sm">{leftIcon}</span>}- <LexicalComposer initialConfig={initialConfig}>- <PlainTextPlugin- contentEditable={- <ContentEditable- ref={ref}- aria-required={isRequired}- readOnly={isReadOnly}- disabled={isDisabled}- className={twMerge(- leftIcon ? "pl-10" : "pl-2.5",- rightIcon ? "pr-10" : "pr-2.5",- inputVariants({ className, isError, size, isRounded, variant })- )}- {...props}- placeholder={null}- />- }- ErrorBoundary={LexicalErrorBoundary}- />- <OnChangePlugin onChange={onChange} />- <EditorPlaceholderPlugin placeholder={placeholder} />- {children}- </LexicalComposer>- {rightIcon && <span className="absolute right-0 mr-3">{rightIcon}</span>}- </div>- );- }-);diff --git a/frontend/src/components/v2/Editor/EditorHighlight.tsx b/frontend/src/components/v2/Editor/EditorHighlight.tsxdeleted file mode 100644index ea929fa047..0000000000--- a/frontend/src/components/v2/Editor/EditorHighlight.tsx+++ /dev/null@@ -1,127 +0,0 @@-/* eslint-disable no-underscore-dangle,@typescript-eslint/class-methods-use-this */-import { useCallback, useEffect } from "react";-import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";-import { useLexicalTextEntity } from "@lexical/react/useLexicalTextEntity";-import {- $applyNodeReplacement,- EditorConfig,- LexicalNode,- SerializedTextNode,- Spread,- TextNode-} from "lexical";--type HighlightTheme = { contentClassName: string };-type Trigger = { startTrigger: string; endTrigger: string };--export type SerializedHighlightNode = Spread<- {- __highlightTheme: HighlightTheme;- __trigger: Trigger;- },- SerializedTextNode->;--export class HighlightNode extends TextNode {- __highlightTheme: HighlightTheme;- __trigger: Trigger;-- constructor(- text: string,- highlightTheme: HighlightTheme = {- contentClassName: "ph-no-capture text-warning/80"- },- trigger: Trigger = { startTrigger: "${", endTrigger: "}" },- key?: string- ) {- super(text, key);- this.__highlightTheme = highlightTheme;- this.__trigger = trigger;- }-- static getType(): string {- return "highlight";- }-- static clone(node: HighlightNode): HighlightNode {- return new HighlightNode(node.__text, node.__highlightTheme, node.__trigger, node.__key);- }-- static importJSON(serializedNode: SerializedHighlightNode): HighlightNode {- return $applyNodeReplacement(new HighlightNode("")).updateFromJSON(serializedNode);- }-- createDOM(config: EditorConfig): HTMLElement {- const dom = super.createDOM(config);- dom.style.cursor = "default";- dom.className = this.__highlightTheme.contentClassName;- return dom;- }-- canInsertTextBefore(): boolean {- return false;- }-- canInsertTextAfter(): boolean {- return false;- }-- isTextEntity(): true {- return true;- }-}--export function $createKeywordNode(keyword: string = ""): HighlightNode {- return $applyNodeReplacement(new HighlightNode(keyword));-}--export function $isKeywordNode(node: LexicalNode | null | undefined): boolean {- return node instanceof HighlightNode;-}--type Props = {- contentClassName?: string;- startTrigger?: string;- endTrigger?: string;-};--export const EditorHighlightPlugin = ({- endTrigger = "}",- startTrigger = "${",- contentClassName = "ph-no-capture text-warning/80"-}: Props) => {- const [editor] = useLexicalComposerContext();-- useEffect(() => {- if (!editor.hasNodes([HighlightNode])) {- throw new Error("HighlightsPlugin: HighlightsNode not registered on editor");- }- }, [editor]);-- const createKeywordNode = useCallback((textNode: TextNode): HighlightNode => {- return $applyNodeReplacement(- new HighlightNode(- textNode.getTextContent(),- { contentClassName },- { startTrigger, endTrigger }- )- );- }, []);-- const getKeywordMatch = useCallback((text: string) => {- for (let i = 0; i < text.length; i += 1) {- if (text.slice(i, i + 2) === startTrigger) {- const closingBracketIndex = text.indexOf(endTrigger, i + 2);- if (closingBracketIndex !== -1) {- return { start: i, end: closingBracketIndex + 1 };- }- return null;- }- }- return null;- }, []);-- useLexicalTextEntity<HighlightNode>(getKeywordMatch, HighlightNode, createKeywordNode);-- return null;-};diff --git a/frontend/src/components/v2/Editor/EditorPlaceholderPlugin.tsx b/frontend/src/components/v2/Editor/EditorPlaceholderPlugin.tsxdeleted file mode 100644index 7bddf17de8..0000000000--- a/frontend/src/components/v2/Editor/EditorPlaceholderPlugin.tsx+++ /dev/null@@ -1,22 +0,0 @@-import { useEffect } from "react";-import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";-import { useLexicalIsTextContentEmpty } from "@lexical/react/useLexicalIsTextContentEmpty";--export const EditorPlaceholderPlugin = ({ placeholder }: { placeholder: string | undefined }) => {- const [editor] = useLexicalComposerContext();- const isEmpty = useLexicalIsTextContentEmpty(editor);-- /* Set the placeholder on root. */- useEffect(() => {- const rootElement = editor.getRootElement() as HTMLElement;- if (rootElement) {- if (isEmpty && placeholder) {- rootElement.setAttribute("placeholder", placeholder);- } else {- rootElement.removeAttribute("placeholder");- }- }- }, [editor, isEmpty]); // eslint-disable-line-- return null;-};diff --git a/frontend/src/components/v2/Editor/index.tsx b/frontend/src/components/v2/Editor/index.tsxdeleted file mode 100644index 6da88bf750..0000000000--- a/frontend/src/components/v2/Editor/index.tsx+++ /dev/null@@ -1,2 +0,0 @@-export { Editor } from "./Editor";-export { EditorHighlightPlugin } from "./EditorHighlight";diff --git a/frontend/src/components/v2/FontAwesomeSymbol/FontAwesomeSymbol.tsx b/frontend/src/components/v2/FontAwesomeSymbol/FontAwesomeSymbol.tsxdeleted file mode 100644index 6e0a3c01d1..0000000000--- a/frontend/src/components/v2/FontAwesomeSymbol/FontAwesomeSymbol.tsx+++ /dev/null@@ -1,19 +0,0 @@-import { forwardRef, HTMLAttributes } from "react";--type Props = {- symbolName: string;-} & HTMLAttributes<HTMLDivElement>;--export const FontAwesomeSymbol = forwardRef<HTMLDivElement, Props>(- ({ symbolName, ...props }, ref) => {- return (- <div ref={ref} {...props}>- <svg className="h-inherit w-inherit">- <use href={`#${symbolName}`} />- </svg>- </div>- );- }-);--FontAwesomeSymbol.displayName = "FontAwesomeSymbol";diff --git a/frontend/src/components/v2/FontAwesomeSymbol/index.tsx b/frontend/src/components/v2/FontAwesomeSymbol/index.tsxdeleted file mode 100644index baaa34e7e3..0000000000--- a/frontend/src/components/v2/FontAwesomeSymbol/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { FontAwesomeSymbol } from "./FontAwesomeSymbol";diff --git a/frontend/src/components/v2/HeaderResizer/HeaderResizer.tsx b/frontend/src/components/v2/HeaderResizer/HeaderResizer.tsxdeleted file mode 100644index bb9f09369e..0000000000--- a/frontend/src/components/v2/HeaderResizer/HeaderResizer.tsx+++ /dev/null@@ -1,36 +0,0 @@-import { MouseEventHandler } from "react";--export const HeaderResizer = ({- onMouseDown,- isActive,- scrollOffset,- heightOffset-}: {- onMouseDown: MouseEventHandler<HTMLDivElement>;- isActive: boolean;- scrollOffset: number;- heightOffset: number;-}) => {- return (- <>- <div- tabIndex={-1}- role="button"- className={`absolute left-0 z-40 h-0.5 w-full cursor-ns-resize hover:bg-info/20 ${- isActive ? "bg-info/75" : "bg-transparent"- }`}- onMouseDown={onMouseDown}- style={{- transform: "translateY(50%)",- top: heightOffset- }}- />- <div- style={{ left: `calc(50% + ${scrollOffset}px)`, top: heightOffset }}- className="pointer-events-none absolute z-30 -translate-x-1/2"- >- <div className="h-1 w-8 rounded-sm bg-muted-cool opacity-50" />- </div>- </>- );-};diff --git a/frontend/src/components/v2/HeaderResizer/index.tsx b/frontend/src/components/v2/HeaderResizer/index.tsxdeleted file mode 100644index e69de29bb2..0000000000diff --git a/frontend/src/components/v2/HighlightText/index.tsx b/frontend/src/components/v2/HighlightText/index.tsxdeleted file mode 100644index 851fe96842..0000000000--- a/frontend/src/components/v2/HighlightText/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { HighlightText } from "@app/components/utilities/HighlightText";diff --git a/frontend/src/components/v2/HoverCard/HoverCard.tsx b/frontend/src/components/v2/HoverCard/HoverCard.tsxdeleted file mode 100644index 648dc5b05a..0000000000--- a/frontend/src/components/v2/HoverCard/HoverCard.tsx+++ /dev/null@@ -1,36 +0,0 @@-import { IconProp } from "@fortawesome/fontawesome-svg-core";-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";-import * as HoverCard from "@radix-ui/react-hover-card";--type Props = {- text: string;- icon: IconProp;- color: string;-};--export type HoverCardProps = Props;--export const HoverObject = ({ text, icon, color }: Props): JSX.Element => (- <HoverCard.Root openDelay={50}>- <HoverCard.Trigger asChild>- <a className="ImageTrigger z-20">- <FontAwesomeIcon icon={icon} className={`text-${color}`} />- </a>- </HoverCard.Trigger>- <HoverCard.Portal>- <HoverCard.Content className="HoverCardContent z-300" sideOffset={5}>- <div className="rounded-md border border-border-control bg-surface-sunken p-2 text-label-secondary drop-shadow-xl">- <div style={{ display: "flex", flexDirection: "column", gap: 15 }}>- <div>- <div className="Text bold">{text}</div>- </div>- </div>- </div>-- <HoverCard.Arrow className="border-border-control" />- </HoverCard.Content>- </HoverCard.Portal>- </HoverCard.Root>-);--HoverObject.displayName = "HoverCard";diff --git a/frontend/src/components/v2/HoverCard/index.tsx b/frontend/src/components/v2/HoverCard/index.tsxdeleted file mode 100644index 13b7ee520c..0000000000--- a/frontend/src/components/v2/HoverCard/index.tsx+++ /dev/null@@ -1,2 +0,0 @@-export type { HoverCardProps } from "./HoverCard";-export { HoverObject } from "./HoverCard";diff --git a/frontend/src/components/v2/NoticeBanner/NoticeBanner.tsx b/frontend/src/components/v2/NoticeBanner/NoticeBanner.tsxdeleted file mode 100644index 92f9bda2ba..0000000000--- a/frontend/src/components/v2/NoticeBanner/NoticeBanner.tsx+++ /dev/null@@ -1,26 +0,0 @@-import { ReactNode } from "react";-import { faWarning, IconDefinition } from "@fortawesome/free-solid-svg-icons";-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";-import { twMerge } from "tailwind-merge";--type Props = {- icon?: IconDefinition;- title: string;- children: ReactNode;- className?: string;-};--export const NoticeBanner = ({ icon = faWarning, title, children, className }: Props) => (- <div- className={twMerge(- "flex w-full flex-row items-center rounded-md border border-project/70 bg-project/[.07] p-4 text-base text-foreground-inverse",- className- )}- >- <FontAwesomeIcon icon={icon} className="pr-6 text-4xl text-foreground-inverse/80" />- <div className="flex w-full flex-col text-sm">- <div className="mb-2 text-lg font-medium">{title}</div>- <div>{children}</div>- </div>- </div>-);diff --git a/frontend/src/components/v2/NoticeBanner/index.tsx b/frontend/src/components/v2/NoticeBanner/index.tsxdeleted file mode 100644index 0006c75a57..0000000000--- a/frontend/src/components/v2/NoticeBanner/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { NoticeBanner } from "./NoticeBanner";diff --git a/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx b/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsxdeleted file mode 100644index b5ff9f7133..0000000000--- a/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx+++ /dev/null@@ -1,273 +0,0 @@-import { useEffect, useMemo, useRef, useState } from "react";-import { faCheck, faCopy, faKey, faRefresh } from "@fortawesome/free-solid-svg-icons";-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";--import { Button, Checkbox, IconButton, Slider } from "@app/components/v2";-import { useTimedReset } from "@app/hooks";--type PasswordOptionsType = {- length: number;- useUppercase: boolean;- useLowercase: boolean;- useNumbers: boolean;- useSpecialChars: boolean;-};--type PasswordGeneratorModalProps = {- isOpen: boolean;- onClose: () => void;- onUsePassword?: (password: string) => void;- minLength?: number;- maxLength?: number;-};--const PasswordGeneratorModal = ({- isOpen,- onClose,- onUsePassword,- minLength = 12,- maxLength = 64-}: PasswordGeneratorModalProps) => {- const [copyText, isCopying, setCopyText] = useTimedReset<string>({- initialState: "Copy"- });- const [refresh, setRefresh] = useState(false);- const [passwordOptions, setPasswordOptions] = useState<PasswordOptionsType>({- length: minLength,- useUppercase: true,- useLowercase: true,- useNumbers: true,- useSpecialChars: true- });-- const modalRef = useRef<HTMLDivElement>(null);-- const generatePassword = () => {- const charset = {- uppercase: "ABCDEFGHIJKLMNOPQRSTUVWXYZ",- lowercase: "abcdefghijklmnopqrstuvwxyz",- numbers: "0123456789",- specialChars: "-_.~!*"- };-- let availableChars = "";- if (passwordOptions.useUppercase) availableChars += charset.uppercase;- if (passwordOptions.useLowercase) availableChars += charset.lowercase;- if (passwordOptions.useNumbers) availableChars += charset.numbers;- if (passwordOptions.useSpecialChars) availableChars += charset.specialChars;-- if (availableChars === "") availableChars = charset.lowercase + charset.numbers;-- let newPassword = "";- for (let i = 0; i < passwordOptions.length; i += 1) {- const randomIndex = Math.floor(Math.random() * availableChars.length);- newPassword += availableChars[randomIndex];- }-- return newPassword;- };-- useEffect(() => {- if (isOpen) {- const handleClickOutside = (event: MouseEvent) => {- if (modalRef.current && !modalRef.current.contains(event.target as Node)) {- onClose();- }- };-- document.addEventListener("mousedown", handleClickOutside);- return () => document.removeEventListener("mousedown", handleClickOutside);- }- return () => {};- }, [isOpen, onClose]);-- const password = useMemo(() => {- return generatePassword();- }, [passwordOptions, refresh]);-- const copyToClipboard = () => {- navigator.clipboard- .writeText(password)- .then(() => {- setCopyText("Copied");- })- .catch(() => {- setCopyText("Copy failed");- });- };-- const usePassword = () => {- if (onUsePassword) {- onUsePassword(password);- onClose();- }- };-- if (!isOpen) return null;-- return (- <div className="bg-opacity-50 fixed inset-0 z-50 flex items-center justify-center bg-black p-4">- <div- ref={modalRef}- className="w-full max-w-lg rounded-lg border border-border-control bg-surface-raised shadow-xl"- >- <div className="p-6">- <h2 className="mb-1 text-xl font-normal text-foreground-soft">Generate Random Value</h2>- <p className="mb-6 text-sm text-muted-secondary">Generate strong unique values</p>- <div className="relative mb-4 rounded-md bg-surface-base p-4">- <div className="flex items-center justify-between">- <div className="w-4/5 pr-2 font-mono text-lg break-all select-all">{password}</div>- <div className="flex flex-col gap-1">- <Button- size="xs"- colorSchema="secondary"- variant="outline_bg"- onClick={() => setRefresh((prev) => !prev)}- className="w-full text-label-secondary hover:text-foreground-default"- >- <FontAwesomeIcon icon={faRefresh} className="mr-1 h-3 w-3" />- Refresh- </Button>-- <Button- size="xs"- colorSchema="secondary"- variant="outline_bg"- onClick={copyToClipboard}- className="w-full text-label-secondary hover:text-foreground-default"- >- <FontAwesomeIcon icon={isCopying ? faCheck : faCopy} className="mr-1 h-3 w-3" />- {copyText}- </Button>- </div>- </div>- </div>-- <div className="mb-6">- <div className="mb-1 flex items-center justify-between">- <label htmlFor="value-length" className="text-sm text-label-secondary">- Length: {passwordOptions.length}- </label>- </div>- <Slider- id="value-length"- min={minLength}- max={maxLength}- value={passwordOptions.length}- onChange={(value) => setPasswordOptions({ ...passwordOptions, length: value })}- className="mb-1"- aria-labelledby="value-length-label"- />- </div>-- <div className="mb-6 flex flex-row justify-between gap-2">- <Checkbox- id="useUppercase"- className="mr-2"- isChecked={passwordOptions.useUppercase}- onCheckedChange={(checked) =>- setPasswordOptions({ ...passwordOptions, useUppercase: checked as boolean })- }- >- A-Z- </Checkbox>-- <Checkbox- id="useLowercase"- className="mr-2"- isChecked={passwordOptions.useLowercase}- onCheckedChange={(checked) =>- setPasswordOptions({ ...passwordOptions, useLowercase: checked as boolean })- }- >- a-z- </Checkbox>-- <Checkbox- id="useNumbers"- className="mr-2"- isChecked={passwordOptions.useNumbers}- onCheckedChange={(checked) =>- setPasswordOptions({ ...passwordOptions, useNumbers: checked as boolean })- }- >- 0-9- </Checkbox>-- <Checkbox- id="useSpecialChars"- className="mr-2"- isChecked={passwordOptions.useSpecialChars}- onCheckedChange={(checked) =>- setPasswordOptions({ ...passwordOptions, useSpecialChars: checked as boolean })- }- >- -_.~!*- </Checkbox>- </div>-- <div className="flex justify-end">- <Button size="sm" colorSchema="primary" variant="outline_bg" onClick={onClose}>- Close- </Button>- {onUsePassword && (- <Button- size="sm"- colorSchema="primary"- variant="outline_bg"- onClick={usePassword}- className="ml-2"- >- Use Value- </Button>- )}- </div>- </div>- </div>- </div>- );-};--export type PasswordGeneratorProps = {- onUsePassword?: (password: string) => void;- isDisabled?: boolean;- minLength?: number;- maxLength?: number;-};--export const PasswordGenerator = ({- onUsePassword,- isDisabled = false,- minLength = 12,- maxLength = 64-}: PasswordGeneratorProps) => {- const [showGenerator, setShowGenerator] = useState(false);-- const toggleGenerator = () => {- setShowGenerator(!showGenerator);- };-- return (- <>- <IconButton- ariaLabel="generate value"- colorSchema="primary"- variant="outline_bg"- size="sm"- onClick={toggleGenerator}- isDisabled={isDisabled}- className="rounded-sm"- >- <FontAwesomeIcon icon={faKey} />- </IconButton>-- <PasswordGeneratorModal- isOpen={showGenerator}- onClose={() => setShowGenerator(false)}- onUsePassword={onUsePassword}- minLength={minLength}- maxLength={maxLength}- />- </>- );-};diff --git a/frontend/src/components/v2/PasswordGenerator/index.tsx b/frontend/src/components/v2/PasswordGenerator/index.tsxdeleted file mode 100644index 058a80158e..0000000000--- a/frontend/src/components/v2/PasswordGenerator/index.tsx+++ /dev/null@@ -1,2 +0,0 @@-export type { PasswordGeneratorProps } from "./PasswordGenerator";-export { PasswordGenerator } from "./PasswordGenerator";diff --git a/frontend/src/components/v2/Popover/Popover.tsx b/frontend/src/components/v2/Popover/Popover.tsxdeleted file mode 100644index b16f310e75..0000000000--- a/frontend/src/components/v2/Popover/Popover.tsx+++ /dev/null@@ -1,52 +0,0 @@-import { faXmark } from "@fortawesome/free-solid-svg-icons";-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";-import * as Popover from "@radix-ui/react-popover";--type Props = {- children: any;- text: string;- onChangeHandler: (value: string, id: string) => void;- id: string;-};--export type PopoverProps = Props;--export const PopoverObject = ({ children, text, onChangeHandler, id }: Props) => (- <Popover.Root>- <Popover.Trigger- asChild- className="data-[state=closed]:hover:outline-muted data-[state=closed]:hover:outline-solid data-[state=open]:outline-project data-[state=open]:outline-solid"- >- {children}- </Popover.Trigger>- <Popover.Portal>- <Popover.Content- className="data-[state=open]:data-[side=bottom]:animate-slide-up-and-fade data-[state=open]:data-[side=left]:animate-slide-right-and-fade data-[state=open]:data-[side=right]:animate-slide-left-and-fade data-[state=open]:data-[side=top]:animate-slide-down-and-fade focus:shadow-[0_10px_38px_-10px_hsla(206,22%,7%,.35),0_10px_20px_-15px_hsla(206,22%,7%,.2),0_0_0_2px_theme(colors.violet7)] z-100 min-h-fit w-[460px] rounded-sm border border-border-secondary bg-surface-active p-3 shadow-[0_10px_38px_-10px_hsla(206,22%,7%,.35),0_10px_20px_-15px_hsla(206,22%,7%,.2)] will-change-[transform,opacity]"- sideOffset={5}- hideWhenDetached- side="left"- >- <div className="dark flex flex-col pt-2">- <p className="mb-5 text-[15px] leading-[0px] font-medium text-foreground-soft">Comment</p>- <textarea- onChange={(e) => onChangeHandler(e.target.value, id)}- // type={type}- value={text}- className="ph-no-capture placeholder peer z-10 h-80 w-full rounded-md border border-border-strong bg-surface-inset px-2 py-2.5 text-sm text-label-secondary caret-foreground outline-hidden duration-200 placeholder:text-muted-secondary focus:text-foreground-default focus:placeholder:text-transparent dark:scheme-dark"- spellCheck="false"- placeholder="–"- />- </div>- <Popover.Close- className="hover:bg-violet4 focus:shadow-violet7 absolute top-[5px] right-[5px] inline-flex h-[25px] w-[25px] cursor-default items-center justify-center rounded-full text-label-secondary outline-hidden hover:text-foreground-inverse focus:shadow-[0_0_0_2px]"- aria-label="Close"- >- <FontAwesomeIcon icon={faXmark} />- </Popover.Close>- <Popover.Arrow className="fill-border-secondary" />- </Popover.Content>- </Popover.Portal>- </Popover.Root>-);--PopoverObject.displayName = "Popover";diff --git a/frontend/src/components/v2/Popover/index.tsx b/frontend/src/components/v2/Popover/index.tsxdeleted file mode 100644index fa1d769981..0000000000--- a/frontend/src/components/v2/Popover/index.tsx+++ /dev/null@@ -1,2 +0,0 @@-export type { PopoverProps } from "./Popover";-export { PopoverObject } from "./Popover";diff --git a/frontend/src/components/v2/Popoverv2/Popoverv2.tsx b/frontend/src/components/v2/Popoverv2/Popoverv2.tsxdeleted file mode 100644index 8b82bc1c8e..0000000000--- a/frontend/src/components/v2/Popoverv2/Popoverv2.tsx+++ /dev/null@@ -1,58 +0,0 @@-import { ReactNode } from "react";-import { faTimes } from "@fortawesome/free-solid-svg-icons";-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";-import * as PopoverPrimitive from "@radix-ui/react-popover";-import { twMerge } from "tailwind-merge";--import { IconButton } from "../IconButton";--export const PopoverTrigger = PopoverPrimitive.Trigger;--export const Popover = PopoverPrimitive.Root;--export type PopoverContentProps = {- children?: ReactNode;- arrowClassName?: string;- hideCloseBtn?: boolean;-} & PopoverPrimitive.PopoverContentProps;--export const PopoverContent = ({- children,- className,- hideCloseBtn,- arrowClassName,- ...props-}: PopoverContentProps) => (- <PopoverPrimitive.Portal>- <PopoverPrimitive.Content- className={twMerge(- [- "relative z-100 w-64 rounded-md bg-surface-active fill-surface-active p-4 pt-6 font-sans text-foreground-cool shadow-md",- // animation- "data-[state=open]:data-[side=bottom]:animate-slide-up-and-fade",- "data-[state=open]:data-[side=top]:animate-slide-down-and-fade",- "data-[state=open]:data-[side=left]:animate-slide-right-and-fade",- "data-[state=open]:data-[side=right]:animate-slide-left-and-fade"- ],- className- )}- {...props}- >- {children}- {!hideCloseBtn && (- <PopoverPrimitive.Close aria-label="Close" asChild>- <IconButton- variant="plain"- ariaLabel="close"- className="absolute top-0 right-1 rounded-sm text-muted-secondary hover:text-foreground-emphasis"- >- <FontAwesomeIcon icon={faTimes} size="lg" className="cursor-pointer" />- </IconButton>- </PopoverPrimitive.Close>- )}- <div className="pointer-events-none">- <PopoverPrimitive.Arrow className={twMerge("fill-inherit", arrowClassName)} />- </div>- </PopoverPrimitive.Content>- </PopoverPrimitive.Portal>-);diff --git a/frontend/src/components/v2/Popoverv2/index.tsx b/frontend/src/components/v2/Popoverv2/index.tsxdeleted file mode 100644index ffad09cdcc..0000000000--- a/frontend/src/components/v2/Popoverv2/index.tsx+++ /dev/null@@ -1 +0,0 @@-export { Popover, PopoverContent, PopoverTrigger } from "./Popoverv2";diff --git a/frontend/src/components/v2/RadioGroup/RadioGroup.tsx b/frontend/src/components/v2/RadioGroup/RadioGroup.tsxdeleted file mode 100644index f0d7bdf8a9..0000000000--- a/frontend/src/components/v2/RadioGroup/RadioGroup.tsx+++ /dev/null@@ -1,40 +0,0 @@-/* eslint-disable jsx-a11y/label-has-associated-control */-import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";-import { twMerge } from "tailwind-merge";--export type RadioGroupProps = RadioGroupPrimitive.RadioGroupProps;--// Note this component is not customizable (Heroku integration and potentially other pages depend on it)-export const RadioGroup = ({ className, children, ...props }: RadioGroupProps) => (- <RadioGroupPrimitive.Root- className={twMerge("mb-6 flex flex-row gap-5 px-6", className)}- defaultValue="App"- aria-label="View density"- {...props}- >- <div className="flex items-center">- <RadioGroupPrimitive.Item- className="h-[20px] w-[20px] cursor-default rounded-full border border-border-secondary-strong/60 bg-muted-secondary/20 outline-hidden duration-200 hover:bg-muted-secondary/40"- value="App"- id="r1"- >- <RadioGroupPrimitive.Indicator className="relative flex h-full w-full items-center justify-center after:block after:h-[11px] after:w-[11px] after:rounded-[50%] after:bg-project after:content-['']" />- </RadioGroupPrimitive.Item>- <label className="pl-2 text-sm leading-none text-foreground-soft" htmlFor="r1">- App- </label>- </div>- <div className="flex items-center">- <RadioGroupPrimitive.Item- className="h-[22px] w-[22px] cursor-default rounded-full border border-border-secondary-strong/60 bg-muted-secondary/20 outline-hidden duration-200 hover:bg-muted-secondary/40"- value="Pipeline"- id="r2"- >- <RadioGroupPrimitive.Indicator className="relative flex h-full w-full items-center justify-center after:block after:h-[13px] after:w-[13px] after:rounded-[50%] after:bg-project after:content-['']" />- </RadioGroupPrimitive.Item>- <label className="pl-2 text-sm leading-none text-foreground-soft" htmlFor="r2">- Pipeline- </label>- </div>- </RadioGroupPrimitive.Root>-);diff --git a/frontend/src/components/v2/RadioGroup/index.tsx b/frontend/src/components/v2/RadioGroup/index.tsxdeleted file mode 100644index bf62b2e6dd..0000000000--- a/frontend/src/components/v2/RadioGroup/index.tsx+++ /dev/null@@ -1,2 +0,0 @@-export type { RadioGroupProps } from "./RadioGroup";-export { RadioGroup } from "./RadioGroup";diff --git a/frontend/src/components/v2/Slider/Slider.tsx b/frontend/src/components/v2/Slider/Slider.tsxdeleted file mode 100644index e945ca738c..0000000000--- a/frontend/src/components/v2/Slider/Slider.tsx+++ /dev/null@@ -1,237 +0,0 @@-import {- forwardRef,- InputHTMLAttributes,- useCallback,- useEffect,- useImperativeHandle,- useRef,- useState-} from "react";-import { cva, VariantProps } from "cva";-import { twMerge } from "tailwind-merge";--type Props = {- min: number;- max: number;- step?: number;- isDisabled?: boolean;- isRequired?: boolean;- showValue?: boolean;- valuePosition?: "top" | "right";- containerClassName?: string;- trackClassName?: string;- fillClassName?: string;- thumbClassName?: string;- onChange?: (value: number) => void;- onChangeComplete?: (value: number) => void;-};--const sliderTrackVariants = cva("h-1 w-full bg-surface-active rounded-full relative", {- variants: {- variant: {- default: "",- thin: "h-0.5",- thick: "h-1.5"- },- isDisabled: {- true: "opacity-50 cursor-not-allowed",- false: ""- }- }-});--const sliderFillVariants = cva("absolute h-full rounded-full", {- variants: {- variant: {- default: "bg-project",- secondary: "bg-secondary-500",- danger: "bg-danger"- },- isDisabled: {- true: "opacity-50",- false: ""- }- }-});--const sliderThumbVariants = cva(- "absolute w-4 h-4 rounded-full shadow-sm transform -translate-x-1/2 -mt-1.5 focus:outline-hidden",- {- variants: {- variant: {- default: "bg-project focus:ring-2 focus:ring-project/50",- secondary: "bg-secondary-500 focus:ring-2 focus:ring-secondary-400/50",- danger: "bg-danger focus:ring-2 focus:ring-danger/50"- },- isDisabled: {- true: "opacity-50 cursor-not-allowed",- false: "cursor-pointer"- },- size: {- sm: "w-3 h-3 -mt-1",- md: "w-4 h-4 -mt-1.5",- lg: "w-5 h-5 -mt-2"- }- }- }-);--const sliderContainerVariants = cva("relative inline-flex font-sans", {- variants: {- isFullWidth: {- true: "w-full",- false: ""- }- }-});--export type SliderProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "onChange"> &- VariantProps<typeof sliderTrackVariants> &- VariantProps<typeof sliderThumbVariants> &- VariantProps<typeof sliderContainerVariants> &- Props;--export const Slider = forwardRef<HTMLInputElement, SliderProps>(- (- {- className,- containerClassName,- trackClassName,- fillClassName,- thumbClassName,- min = 0,- max = 100,- step = 1,- value,- defaultValue,- isDisabled = false,- isFullWidth = true,- isRequired = false,- showValue = false,- valuePosition = "top",- variant = "default",- size = "md",- onChange,- onChangeComplete,- ...props- },- ref- ): JSX.Element => {- let initialValue = min;- if (value !== undefined) {- initialValue = Number(value);- } else if (defaultValue !== undefined) {- initialValue = Number(defaultValue);- }-- const [currentValue, setCurrentValue] = useState<number>(initialValue);- const [isDragging, setIsDragging] = useState(false);- const inputRef = useRef<HTMLInputElement>(null);- const percentage = Math.max(0, Math.min(100, ((currentValue - min) / (max - min)) * 100));-- useImperativeHandle(ref, () => inputRef.current as HTMLInputElement, []);-- useEffect(() => {- if (value !== undefined && Number(value) !== currentValue) {- setCurrentValue(Number(value));- }- }, [value, currentValue]);-- const handleChange = useCallback(- (e: React.ChangeEvent<HTMLInputElement>) => {- const newValue = Number(e.target.value);- setCurrentValue(newValue);- onChange?.(newValue);- },- [onChange]- );-- const handleMouseDown = useCallback(() => {- if (!isDisabled) {- setIsDragging(true);- }- }, [isDisabled]);-- const handleChangeComplete = useCallback(() => {- if (isDragging) {- onChangeComplete?.(currentValue);- setIsDragging(false);- }- }, [isDragging, currentValue, onChangeComplete]);-- useEffect(() => {- if (isDragging) {- const handleGlobalMouseUp = () => handleChangeComplete();-- document.addEventListener("mouseup", handleGlobalMouseUp);- document.addEventListener("touchend", handleGlobalMouseUp);-- return () => {- document.removeEventListener("mouseup", handleGlobalMouseUp);- document.removeEventListener("touchend", handleGlobalMouseUp);- };- }- return () => {};- }, [isDragging, handleChangeComplete]);-- const ValueDisplay = showValue ? (- <div className="text-xs text-label-secondary">{currentValue}</div>- ) : null;-- return (- <div- className={twMerge(- sliderContainerVariants({ isFullWidth, className: containerClassName }),- "my-2"- )}- >- {showValue && valuePosition === "top" && ValueDisplay}-- <div className="relative flex w-full items-center">- <div- className={twMerge(- sliderTrackVariants({ variant, isDisabled, className: trackClassName })- )}- >- <div- className={twMerge(- sliderFillVariants({ variant, isDisabled, className: fillClassName }),- "left-0"- )}- style={{ width: `${percentage}%` }}- />-- <div- className={twMerge(- sliderThumbVariants({ variant, isDisabled, size, className: thumbClassName })- )}- style={{ left: `${percentage}%` }}- />- </div>-- <input- type="range"- min={min}- max={max}- step={step}- value={currentValue}- onChange={handleChange}- onMouseDown={handleMouseDown}- onTouchStart={handleMouseDown}- disabled={isDisabled}- required={isRequired}- ref={inputRef}- className="absolute inset-0 h-full w-full cursor-pointer opacity-0"- {...props}- />-- {showValue && valuePosition === "right" && (- <div className="ml-2 text-xs text-label-secondary">{currentValue}</div>- )}- </div>- </div>- );- }-);--Slider.displayName = "Slider";diff --git a/frontend/src/components/v2/Slider/index.tsx b/frontend/src/components/v2/Slider/index.tsxdeleted file mode 100644index 2bd94b5587..0000000000--- a/frontend/src/components/v2/Slider/index.tsx+++ /dev/null@@ -1,2 +0,0 @@-export type { SliderProps } from "./Slider";-export { Slider } from "./Slider";diff --git a/frontend/src/components/v2/Stepper/Stepper.tsx b/frontend/src/components/v2/Stepper/Stepper.tsxdeleted file mode 100644index b99b9f766e..0000000000--- a/frontend/src/components/v2/Stepper/Stepper.tsx+++ /dev/null@@ -1,73 +0,0 @@-import { Children, cloneElement, ReactElement, ReactNode } from "react";-import { faCheck } from "@fortawesome/free-solid-svg-icons";-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";-import { twMerge } from "tailwind-merge";--export type StepperProps = {- activeStep: number;- children: ReactNode;- direction: "vertical" | "horizontal";- className?: string;-};--export const Stepper = ({ activeStep, children, direction, className }: StepperProps) => {- return (- <div- className={twMerge(- "flex w-full items-center space-x-3 rounded-md border border-border-secondary-bright/30 p-2",- className- )}- >- {Children.map(children as ReactNode, (child: ReactNode, index) => {- const isCompleted = activeStep > index;- const isActive = index === activeStep;- const isNotLast = index + 1 !== (children as Array<ReactNode>).length;- return (- <div className={twMerge("flex shrink-0 items-center space-x-3", isNotLast && "grow")}>- <div className="flex shrink-0 items-center space-x-2">- <div- className={twMerge(- "flex h-7 w-7 items-center justify-center rounded-full text-sm font-medium text-surface-raised transition-all",- isCompleted ? "bg-project" : "border border-project/30 text-label-secondary",- isActive && "bg-project text-surface-raised"- )}- >- {isCompleted ? <FontAwesomeIcon icon={faCheck} /> : index + 1}- </div>- {cloneElement(child as ReactElement, {- direction,- activeStep,- isCompleted,- isActive- })}- </div>- {isNotLast && (- <div- style={{ height: "1px" }}- className={twMerge("grow bg-label-secondary/30", isCompleted && "bg-project")}- />- )}- </div>- );- })}- </div>- );-};--export type StepProps = {- title: string;- description?: ReactNode;- // isActive?: boolean;- // isCompleted?: boolean;- // activeStep?: number;- // direction?: "vertical" | "horizontal";-};--export const Step = ({ title, description }: StepProps) => {- return (- <div className="flex flex-col text-label-cool">- <div className="text-sm font-medium">{title}</div>- {description && <div className="text-xs">{description}</div>}- </div>- );-};diff --git a/frontend/src/components/v2/Stepper/index.tsx b/frontend/src/components/v2/Stepper/index.tsxdeleted file mode 100644index a3d7aa3f84..0000000000--- a/frontend/src/components/v2/Stepper/index.tsx+++ /dev/null@@ -1,2 +0,0 @@-export type { StepperProps, StepProps } from "./Stepper";-export { Step, Stepper } from "./Stepper";diff --git a/frontend/src/components/v2/index.tsx b/frontend/src/components/v2/index.tsxindex 874552d5a3..ff5640c071 100644--- a/frontend/src/components/v2/index.tsx+++ b/frontend/src/components/v2/index.tsx@@ -7,15 +7,10 @@ export * from "./Card";export * from "./Checkbox";export * from "./ConfirmActionModal";export * from "./ContentLoader";-export * from "./DatePicker";export * from "./DeleteActionModal";-export * from "./Divider";-export * from "./Drawer";export * from "./Dropdown";-export * from "./Editor";export * from "./EmptyState";export * from "./FilterableSelect";-export * from "./FontAwesomeSymbol";export * from "./FormControl";export * from "./GenericFieldLabel";export * from "./HoverCardv2";@@ -24,18 +19,13 @@ export * from "./Input";export * from "./Lottie";export * from "./Menu";export * from "./Modal";-export * from "./NoticeBanner";export * from "./NoticeBannerV2";export * from "./PageHeader";export * from "./Pagination";-export * from "./PasswordGenerator";-export * from "./Popoverv2";export * from "./SecretInput";export * from "./Select";export * from "./Skeleton";-export * from "./Slider";export * from "./Spinner";-export * from "./Stepper";export * from "./Switch";export * from "./Table";export * from "./Tabs";diff --git a/frontend/src/pages/secret-manager/integrations/HerokuConfigurePage/HerokuConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/HerokuConfigurePage/HerokuConfigurePage.tsxindex e20f232f76..96c163fce0 100644--- a/frontend/src/pages/secret-manager/integrations/HerokuConfigurePage/HerokuConfigurePage.tsx+++ b/frontend/src/pages/secret-manager/integrations/HerokuConfigurePage/HerokuConfigurePage.tsx@@ -11,7 +11,6 @@ import { Button, Card, CardTitle, FormControl, Select, SelectItem } from "@app/cimport { SecretPathInput } from "@app/components/v2/SecretPathInput";import { ROUTE_PATHS } from "@app/const/routes";import { useOrganization, useProject } from "@app/context";-// import { RadioGroup } from "@app/components/v2/RadioGroup";import { useCreateIntegration } from "@app/hooks/api";import {useGetIntegrationAuthApps,