style: emphasize teacher shortcuts and tighten composer spacing
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
## Outcome
|
||||
|
||||
- Configured teacher shortcuts sit outside and directly above the composer. Latest approved styling uses 13px normal green text, no fill/border/shadow, a small chevron and hover underline; wrapping/overflow/keyboard focus supported.
|
||||
- Configured teacher shortcuts sit outside and directly above the composer. Latest approved styling uses 13px/600 green text with a subtle text shadow, no fill/border/box shadow, a small chevron and hover underline. The target-to-composer gap is 8px; wrapping/overflow/keyboard focus supported.
|
||||
- Adapted product/tests dependency from main 53d5b6b (bb96941); original source task record remains in its source commit, excluded from this feature boundary. Explicit empty arrays hide prompts; absent historical field retains approved fallback. Published label and prompt are unchanged.
|
||||
- Trial Renderer updated in place in PID 32583; Main and empty-work preview overlay remain intact. Live Alice cloud v53 supplies “继续看看咯”.
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- Target: integrated classroom UI documentation. Proposal: configured prompts live above the composer as borderless body-size buttons with soft shadows; exact cloud labels/prompts, absent/empty compatibility and send guards retained. Evidence: user approval, 75 unit / 23 browser tests and live trial comparison. No product-policy conflict; canonical promotion belongs to integration.
|
||||
- Target: integrated classroom UI documentation. Proposal: configured prompts live 8px above the composer as transparent 13px/600 clickable text with a subtle text shadow and hover underline; exact cloud labels/prompts, absent/empty compatibility and send guards retained. Evidence: user approval, 75 unit / 23 browser tests and live trial comparison. No product-policy conflict; canonical promotion belongs to integration.
|
||||
|
||||
## Project Context Loaded
|
||||
|
||||
@@ -96,3 +96,14 @@
|
||||
- Verification: four existing shortcut/layout scenarios passed at 319px and 508px (including click/prompt contract, eight long labels, focus, hover/pressed/reduced-motion, empty config and input/send position). Typecheck, full lint (0 errors / 8 existing warnings), source and combined trial production builds passed. Inspected browser screenshot. Task-aware docs drift and diff whitespace checks passed.
|
||||
- Updated only the live stylesheet to index-_6TMWSCY.css in PID 32583; no Renderer reload, Main restart, prompt or native focus call. Copied the latest Code-brand/hidden-model/group-intro composite before applying this CSS so peer work remains. Served index/assets also prepared for subsequent normal reload. Immediate swap remained unfocused. Read-only check confirmed transparent/none/13px/30px rules; route unchanged and no localStorage changes beyond normal auth state. The app loaded 14 messages after the initial empty snapshot and later became focused with its consultation open, so live message/input snapshots were not stationary and are not claimed byte-identical. No history or draft writes were performed. Inspector closed.
|
||||
- Evidence: /tmp/teacher-text-link-{browser,typecheck,lint,build,trial-build}.log, /tmp/teacher-text-link-results and trial teacher-text-shortcuts-a682d30f/verification.json. No main merge/push or cloud publication in this follow-up.
|
||||
|
||||
|
||||
## Text Weight and Spacing Follow-up
|
||||
|
||||
- Same-task ownership resumed at fd0b720; verified task/feature/branch/worktree and read peer scopes. Existing design/planning context reused unchanged. Latest trial sidebar-group overlay is unrelated and must be retained. No subagents or native activation; scope is only shortcut typography/spacing. Gate passed.
|
||||
- User asks for bolder text, a text shadow, and closer placement above the composer. Plan: use 600 weight and a subtle 1px green text shadow; reduce group bottom margin from 10px to 2px while keeping focus-ring clearance (button-to-composer gap 16px to 8px). Preserve transparent background, no box shadow, labels, click behavior, 30px target and wrapping. Update existing layout assertions, run checks/build and hot-swap CSS from a copy of the latest composite trial.
|
||||
|
||||
- Completed: 600 weight, 1px subtle green text shadow and 8px target-to-composer gap. Transparent background, no box shadow, cloud text/prompt, input visibility and click behavior unchanged.
|
||||
- Verification: four existing browser scenarios at 319/508px passed, including exact shortcut sends, long-label overflow and focus/hover/pressed behavior. Browser screenshot inspected. Typecheck, full lint (0 errors / 8 existing warnings), source and composite production builds passed.
|
||||
- Trial: copied the latest sidebar-groups composite and changed only shortcut CSS. Built stylesheet index-DLG7JTx3.css was activated in PID 32583 without Renderer reload or Main restart; installed composite assets for later normal reload. Read-only verification confirmed 13px/600 and rgba(83,105,73,0.25) text shadow. Route, storage, drafts, 14 operation messages and teacher contents are unchanged; focused=false before/after. Inspector closed. No live prompts, cloud publication or main merge/push.
|
||||
- Evidence: /tmp/teacher-text-depth-{browser,typecheck,lint,build,trial-build}.log, /tmp/teacher-text-depth-results and temporary trial teacher-text-depth-a682d30f/verification.json. Task-aware docs and whitespace checks passed before commit.
|
||||
|
||||
Reference in New Issue
Block a user