From e2d97d1ee93a44f98ac4b0ce21971a670f638c7b Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Sun, 19 Jul 2026 22:59:26 +0400 Subject: [PATCH] fix(editor): remove dangling Header 'Profile' toggle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit P0-7: the Project Editor's header-section exposed a 'Profile' toggle (HeaderConfig.showProfile) with no corresponding UI anywhere in the storefront header — confirmed dead per docs/KNOWN-ISSUES.md item 5. Toggling it implied a feature (an account/profile menu) that doesn't exist, which is misleading in the editor. Building the actual account/profile surface is real feature work (out of scope for this polish pass), so removed the toggle from the editor's items list and the field-schema registry instead of building UI a merchant would flip with no visible effect. The underlying HeaderConfig.showProfile field and its false default are unchanged (data model untouched, still available if a future account feature wires it up). Co-Authored-By: Claude Sonnet 5 --- src/app/features/project-editor/schema/editor-schema.ts | 1 - .../features/project-editor/sections/header-section.component.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/app/features/project-editor/schema/editor-schema.ts b/src/app/features/project-editor/schema/editor-schema.ts index 83823e7..eb2ebbe 100644 --- a/src/app/features/project-editor/schema/editor-schema.ts +++ b/src/app/features/project-editor/schema/editor-schema.ts @@ -47,7 +47,6 @@ export const SECTION_FIELD_SCHEMAS: Record