Show icon-only Code return above sidebar branding
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
- Worktree: /Users/chillishark/Makelore 麦洛/.codex-worktrees/makelore/20260929-empty-work-merge-39c633d0
|
||||
- Base commit: a77ddbd6813bb71d490544edfef6e1f35240070f
|
||||
- Owner: codex
|
||||
- Status: Ready for Integration
|
||||
- Status: Planning
|
||||
|
||||
## Scope
|
||||
|
||||
- Move the existing “编程 Code” module-home return entry from the project configuration sidebar into the Coding chat/workspace sidebar navigation row immediately below the topmost brand. Retain its `/module-select` target and the configuration page's own back action.
|
||||
- Move the existing “编程 Code” module-home return entry from the project configuration sidebar into the Coding chat/workspace sidebar as an icon-only arrow in the top navigation row above the brand. Retain its `/module-select` target and the configuration page's own back action.
|
||||
|
||||
## Intent And Constraints
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
## Outcome
|
||||
|
||||
- Reused the existing ModuleSwitcher at the left of the navigation row below the topmost brand in the `/chat` sidebar, aligned with the collapse control on the right, retaining its accessible return-home label and `/module-select` action. Project configuration and nested resource pages omit the entire sidebar header block, so no empty placeholder remains. Existing configuration back action, sidebar resizing/peek and other module controls are unchanged. README synchronized.
|
||||
- Reused the existing ModuleSwitcher as an icon-only arrow at the left of the top navigation row above the brand in the `/chat` sidebar, aligned with the collapse control on the right, retaining its accessible return-home label and `/module-select` action. Project configuration and nested resource pages omit the entire sidebar header block, so no empty placeholder remains. Existing configuration back action, sidebar resizing/peek and other module controls are unchanged. README synchronized.
|
||||
|
||||
## Verification
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- Target: canonical classroom navigation when next integrated. Proposal: Code module-home return is visible below the topmost chat sidebar brand, aligned with the right-side collapse control and omitted from project configuration/resource sidebars; original configuration back remains. Evidence: explicit user confirmation, existing component reuse, actual Electron navigation and screenshots. No architecture or module-target change; no further product confirmation required.
|
||||
- Target: canonical classroom navigation when next integrated. Proposal: the icon-only module-home return is visible above the chat sidebar brand, aligned with the right-side collapse control and omitted from project configuration/resource sidebars; original configuration back remains. Evidence: explicit user confirmation, existing component reuse, actual Electron navigation and screenshots. No architecture or module-target change; no further product confirmation required.
|
||||
|
||||
## Follow-up: Update The Temporary Renderer
|
||||
|
||||
@@ -99,3 +99,13 @@
|
||||
|
||||
- Final composite publication completed after the peer finalized fd0b720. Current source is `sidebar-groups-33d87a81/source-with-text-shortcuts`, JS `index-Cyy0gXYn.js`, common CSS `index-CA1PKQZ_.css`, classroom route CSS `index-BwzfBikL.css`. Applied only the two-file sidebar patch to the published teacher-text-shortcuts source; composite typecheck/lint/build passed and full source comparison confirmed no unrelated delta.
|
||||
- Final live verification confirms both changes together: exact sidebar grouping/20px separation and teacher shortcut text has transparent background, no shadow/border and the new route stylesheet loaded. Account, current conversation/messages, 14 drafts, open teacher panel/content and Work tab match this final pre-refresh snapshot; all 34 data hashes unchanged and no alerts. This final user-visible panel/tab state supersedes the earlier snapshot because the user/peer changed it during concurrent work. Main remains PID 32583. Finalization updated launch/guidance/build provenance with fd0b720 + 774f1b7, released the lease, restored throttling and closed the inspector opened for this second refresh. No required work remains for the temporary-app request.
|
||||
|
||||
|
||||
## Follow-up: Icon-Only Return Above Branding
|
||||
|
||||
- User now explicitly supersedes the prior brand-first ordering: remove the visible Code return text, retain only its arrow, and place the control row above Makelore at the top. Keep the right-side collapse icon aligned and preserve the public-navigation/personal-project grouping.
|
||||
- Project Context Loaded / Planning Gate: Passed. Exact same-task feature ownership, worktree, branch and base verified. Shared context unchanged from a57d073; active record and all peer scopes reread. Teacher shortcut task is active and teacher composer height work is active but scoped away from navigation. Use current published Renderer, check for concurrent publication and retain existing overlays.
|
||||
- Plan: add an icon-only presentation to the existing ModuleSwitcher for this Code toolbar only, move the toolbar ahead of the brand, preserve accessible label/tooltip/return target, adapt existing layout/navigation verification, build and update the same trial/profile. No main merge, remote push or formal-app replacement.
|
||||
|
||||
- Implemented an icon-only 32px ModuleSwitcher in the top Code toolbar above branding. Existing return target, accessible name/tooltip, right collapse alignment, Works Square and personal-project grouping are retained. Updated README and the existing navigation scenario. Typecheck, scoped lint, production build and 26 unit tests passed; the existing Electron scenario passed (1/1) with icon text absence, 32px geometry, above-brand/top placement, 128px width, config/nested absence and collapsed hover return. Default-width screenshot inspected; independent review passed.
|
||||
- Trial preparation detected a newer teacher-text-depth publication while our candidate was being validated. Rebase the generated candidate onto the actually served source before updating; no live files changed by this task yet.
|
||||
|
||||
Reference in New Issue
Block a user