From e9503b62a9dc46e0d74783e9ad8cb3cae66469dd Mon Sep 17 00:00:00 2001 From: Dawson Toth Date: Fri, 10 Jul 2026 17:34:46 -0400 Subject: [PATCH] refactor(config): alphabetize the instance Config nav items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Overview stays pinned at the top (and keeps its divider); the remaining items — Certificates, Deployments, Domains, Roles, Secrets, SSH Keys, Users — are now ordered alphabetically instead of by when each was added. Co-Authored-By: Claude Opus 4.8 --- src/features/instance/config/index.tsx | 73 +++++++++++++------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/src/features/instance/config/index.tsx b/src/features/instance/config/index.tsx index d21f09550..0d91d7d5b 100644 --- a/src/features/instance/config/index.tsx +++ b/src/features/instance/config/index.tsx @@ -45,49 +45,30 @@ export function ConfigIndex() { ); const isSelfManaged = cluster === undefined || clusterIsSelfManaged(cluster); + // Overview lives at the top (rendered by the nav bars below); the rest are kept alphabetical. const children = canManage && ( <> -
  • - - Users - -
  • -
  • - - Roles - -
  • - {deploymentsAvailable && ( + {certsAvailable && (
  • - Deployments + Certificates
  • )} - {certsAvailable && ( + {deploymentsAvailable && (
  • - Certificates + Deployments
  • )} @@ -103,34 +84,54 @@ export function ConfigIndex() { )} - {certsAvailable && ( +
  • + + Roles + +
  • + { + /* Secrets (the replicated hdb_secret store): any instance or cluster on a supported + version — key custody may be file-based (self-hosted) or injected (Fabric). */ + } + {secretsSupported && (
  • - SSH Keys + Secrets
  • )} - { - /* Secrets (the replicated hdb_secret store): any instance or cluster on a supported - version — key custody may be file-based (self-hosted) or injected (Fabric). */ - } - {secretsSupported && ( + {certsAvailable && (
  • - Secrets + SSH Keys
  • )} +
  • + + Users + +
  • );