|
|
|
|
@@ -0,0 +1,51 @@
|
|
|
|
|
# Task: Show the teacher refresh control as an icon only
|
|
|
|
|
|
|
|
|
|
## Identity
|
|
|
|
|
|
|
|
|
|
- Task ID: 20260930-refresh-icon-2c6e81a4
|
|
|
|
|
- Mode: Feature
|
|
|
|
|
- Branch: codex/20260930-refresh-icon-2c6e81a4-refresh-icon
|
|
|
|
|
- Worktree: /Users/chillishark/Makelore 麦洛/.codex-worktrees/makelore/20260930-refresh-icon-2c6e81a4
|
|
|
|
|
- Base commit: 9f575e2c2fecad195fe08b3c4c2dcbd49b14f3e6
|
|
|
|
|
- Owner: codex
|
|
|
|
|
- Status: Ready for Integration
|
|
|
|
|
|
|
|
|
|
## Scope
|
|
|
|
|
|
|
|
|
|
- Remove the visible label from the upper-right teacher refresh button, keeping a compact icon control; continue the current temporary-app UI update.
|
|
|
|
|
|
|
|
|
|
## Intent And Constraints
|
|
|
|
|
|
|
|
|
|
- Keep refresh behavior, disabled/busy state, spinning icon, accessible name, status announcement and hover tooltip. Preserve the completed address-toolbar move and all latest composite trial changes. No merge or push.
|
|
|
|
|
|
|
|
|
|
## Outcome
|
|
|
|
|
|
|
|
|
|
- Removed the teacher refresh label and reduced its control to a 32px square icon button. Refresh handler, accessible label, tooltip, busy/disabled state, spinning icon and status announcement remain intact. README now describes the icon-only behavior. Updated the current temporary app on top of its latest composite source, preserving the previous full address-toolbar move.
|
|
|
|
|
|
|
|
|
|
## Verification
|
|
|
|
|
|
|
|
|
|
- Standard typecheck, focused ESLint, production build and all 49 existing teacher-companion unit tests passed. No new tests were added for the reversible label/style change.
|
|
|
|
|
- Separate composite trial build passed; byte comparison confirmed only TeacherCompanion.tsx and classroom-workspace.css changed from the previous trial source. Live PID remained 32583 and loaded `index-CwXrqibZ.js`. DOM and captured image confirm no button text, one refresh icon, a 32x32 target and the original tooltip; the full address toolbar remains visible.
|
|
|
|
|
- Restored the original Work tab and open teacher pane after the renderer refresh. Route, conversation, inputs, both draft stores, teacher turns, 22 operation messages, preview URL, sidebar, window bounds and fullscreen all match before. No generation was active and no messages were sent. Restored background throttling, released the update lease (0 remain) and closed the debugging listener. Main/preload, native window overlays and installed app were not replaced.
|
|
|
|
|
- Source check logs are `/tmp/refresh-icon-{typecheck,unit,lint,build}.log`. Composite source, rollback entry/manifests, `verification.json`, `cleanup.json` and `live-refresh-icon.png` are under `/var/folders/mx/ltbgwsks5_n8zllj69p_wbcw0000gn/T/makelore-trial-tdq_nuah/refresh-icon-2c6e81a4`.
|
|
|
|
|
|
|
|
|
|
## Follow-ups
|
|
|
|
|
|
|
|
|
|
- None recorded.
|
|
|
|
|
|
|
|
|
|
## Project Context Loaded
|
|
|
|
|
|
|
|
|
|
- Task ID/mode/branch/worktree/base match Identity; official start/status confirms isolated ownership. App worktree creation returned Not a git repository at the parent-directory chat root; official skill isolation succeeded from the preceding completed toolbar task `9f575e2`.
|
|
|
|
|
- Read own task record. All 12 previously loaded entry, positioning, integrated-state, decision/teacher ADR, architecture, domain/success, evidence/reflection/commitment files are byte-identical to the just-completed toolbar task. Product remains Main-owned project conversations and a shared browser; this is a Renderer presentation-only change.
|
|
|
|
|
- Read-only review of 27 peer records found no semantic conflict. Existing refresh task requires preserving refresh/drafts/version behavior. Prior toolbar task is ready; retain its changes. Old child-language scope remains undefined and unrelated. No canonical writes are needed.
|
|
|
|
|
- Files: TeacherCompanion.tsx, scoped workspace CSS and README. Remove the label span; reduce the button from 76px to 32px square. Existing status/aria/title and click handlers remain. Gate: Passed.
|
|
|
|
|
|
|
|
|
|
## Plan
|
|
|
|
|
|
|
|
|
|
1. Apply the small presentation change and document the icon/tooltip behavior.
|
|
|
|
|
2. Run existing focused refresh tests, typecheck and production build; no new tests are needed for this reversible label/style change.
|
|
|
|
|
3. Apply only the two product-file changes to a new copy of the latest trial source, update its renderer, verify the icon and preserved state, and record the result.
|
|
|
|
|
|
|
|
|
|
## Promotion Candidates
|
|
|
|
|
|
|
|
|
|
- None recorded.
|