From afceb7cc2eab0e3c5b3babf09b0c29649b4c83b7 Mon Sep 17 00:00:00 2001 From: chenchen Date: Mon, 11 May 2026 10:52:28 +0800 Subject: [PATCH] feat(manager-web): expand favicon ladder + hide unused 2FA/Passkey UI index.html: add png/ico/apple-touch favicon links, og:image, and brand theme-color (#7B6BE3) so all icon surfaces use the H glass mark. Hide unused auth UI: - profile page: drop PasskeyCard + TwoFACard - system-settings/auth: drop Passkey Authentication section These features aren't part of the Heicode platform flow (auth is delegated to the identity service / SSO); leaving them in the UI confuses tenants. Co-Authored-By: Claude Opus 4.7 (1M context) --- heicode/web/default/index.html | 8 ++++- .../default/src/features/profile/index.tsx | 4 --- .../system-settings/auth/section-registry.tsx | 30 ------------------- 3 files changed, 7 insertions(+), 35 deletions(-) diff --git a/heicode/web/default/index.html b/heicode/web/default/index.html index 2e5f267..5ee88c7 100644 --- a/heicode/web/default/index.html +++ b/heicode/web/default/index.html @@ -3,6 +3,9 @@ + + + @@ -12,8 +15,11 @@ name="description" content="Heicode Manager — multi-tenant control plane for Agnet deployments, events and audit." /> + + + - + diff --git a/heicode/web/default/src/features/profile/index.tsx b/heicode/web/default/src/features/profile/index.tsx index a4467b3..2aea090 100644 --- a/heicode/web/default/src/features/profile/index.tsx +++ b/heicode/web/default/src/features/profile/index.tsx @@ -6,12 +6,10 @@ import { CardStaggerItem, } from '@/components/page-transition' import { CheckinCalendarCard } from './components/checkin-calendar-card' -import { PasskeyCard } from './components/passkey-card' import { ProfileHeader } from './components/profile-header' import { ProfileSecurityCard } from './components/profile-security-card' import { ProfileSettingsCard } from './components/profile-settings-card' import { SidebarModulesCard } from './components/sidebar-modules-card' -import { TwoFACard } from './components/two-fa-card' import { useProfile } from './hooks' export function Profile() { @@ -56,8 +54,6 @@ export function Profile() { /> )} {canConfigureSidebar && } - - diff --git a/heicode/web/default/src/features/system-settings/auth/section-registry.tsx b/heicode/web/default/src/features/system-settings/auth/section-registry.tsx index baf093e..1347ee1 100644 --- a/heicode/web/default/src/features/system-settings/auth/section-registry.tsx +++ b/heicode/web/default/src/features/system-settings/auth/section-registry.tsx @@ -4,7 +4,6 @@ import { BasicAuthSection } from './basic-auth-section' import { BotProtectionSection } from './bot-protection-section' import { CustomOAuthSection } from './custom-oauth/custom-oauth-section' import { OAuthSection } from './oauth-section' -import { PasskeySection } from './passkey-section' const AUTH_SECTIONS = [ { @@ -61,35 +60,6 @@ const AUTH_SECTIONS = [ /> ), }, - { - id: 'passkey', - titleKey: 'Passkey Authentication', - descriptionKey: 'Configure Passkey (WebAuthn) login settings', - build: (settings: AuthSettings) => ( - - ), - }, { id: 'bot-protection', titleKey: 'Bot Protection',