ui: move Code gallery above the account footer
This commit is contained in:
1 parent
4eb3efa3d1
commit
8cd7b59792
4 files changed
+51
-5
No files matched your search
@@ -0,0 +1,40 @@
|
||||
# Task: Move Code gallery entry above the account footer
|
||||
|
||||
## Identity
|
||||
|
||||
- Task ID: 20261014-code-gallery-footer-7c91a2e4
|
||||
- Mode: Feature
|
||||
- Branch: codex/20261014-code-gallery-footer-7c91a2e4-code-gallery-footer
|
||||
- Worktree: /Users/chillishark/Makelore 麦洛/.codex-worktrees/makelore/20261014-code-gallery-footer-7c91a2e4
|
||||
- Base commit: 4eb3efa3d1b4700a89fac4e7d1124c7a53c9ae90
|
||||
- Owner: codex
|
||||
- Status: In Progress
|
||||
|
||||
## Scope
|
||||
|
||||
- Move only the Code sidebar Works Square entry to a fixed footer slot above the account, preserving horizontal alignment and about38px button-to-account spacing. New Project and My Projects naturally shift into the former upper gallery space. Preserve the central welcome link and existing visual/data behavior.
|
||||
|
||||
## Intent And Constraints
|
||||
|
||||
- User explicitly requested this sidebar positioning refinement and continuing trial update. Preserve current full-runtime Canvas/Agent changes, existing palette, handlers, real data, Main, profile and unsent input. No cloud mutations or model requests.
|
||||
- Concurrent Task Gate Passed: official check/start/status match task20261014-code-gallery-footer-7c91a2e4, feature/planning, owned worktree/branch and current runtime base4eb3efa3d1b4700a89fac4e7d1124c7a53c9ae90. Prior task was returned to ready without edits. Independent read-only review read all58 peer records/174 Scope, Intent And Constraints and Promotion sections; no concrete conflict. Old child-language placeholder scope remains unknown and unrelated.
|
||||
- Project Context Loaded / Planning Gate Passed: read startup memory-index, own record, positioning, integrated current-state snapshot, decision index, system overview, community collaboration, domain rules, success criteria, evidence/reflection/commitment indexes and repository development guidance. Product is a single light creative client; Main owns auth/project/shell access. Community remains an external existing URL, no course/gallery API additions. Integrated memory is older than the authoritative current trial source. UI implementation only Sidebar.tsx/classroom-workspace.css; README and owned record follow the localized behavior.
|
||||
- Plan: move the existing gallery component outside the scrolling project area into a shrink-0 footer sibling, retain12px horizontal padding;27px bottom padding plus existing11px account border/top padding provides38px gap. No absolute positioning. Verify focused sidebar/layout behavior, typecheck/lint and full default build, then prepare an immutable Renderer-only overlay preserving current Main25170 and all inherited feature metadata. Fresh native saved/idle guard and actual Code screenshot are required before activation/finalization.
|
||||
|
||||
## Outcome
|
||||
|
||||
- Implemented the existing CommunityLink in a Code-only fixed flex footer sibling, outside project scrolling; retained its original icon/text, horizontal inset, pending/error/open behavior. Removed the former header instance so New Project/My Projects naturally shift upward. Central welcome gallery is unchanged. README now describes the new placement.
|
||||
- Current runtime remains untouched while native UI is busy or unsaved state is unresolved; immutable overlay preparation and final native verification are pending.
|
||||
|
||||
## Verification
|
||||
|
||||
- Pinned corepack pnpm10.33.4 typecheck and scoped Sidebar ESLint passed;19 focused sidebar project/actions, main-layout peek, and community unit cases passed. Full default env -u NIANCODE_RENDERER_ONLY corepack pnpm run build:vite passed (actual log /tmp/makelore-footer-build-7c91a2e4.log).
|
||||
- git diff --check and owned-document drift check passed. Exactly Sidebar.tsx and classroom-workspace.css differ under src from current runtime4eb3efa; no Main/shared/resources/package/lock/build-config delta. Final layout and native update proof pending.
|
||||
|
||||
## Follow-ups
|
||||
|
||||
- None recorded.
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- None recorded.
|
||||
Reference in new issue
Block a user