mirror of
https://github.com/The-Low-Code-Foundation/OpenNoodl.git
synced 2026-03-07 17:43:28 +01:00
docs(sprint-1): update PROGRESS-richard.md — session 1 complete
This commit is contained in:
34
dev-docs/tasks/phase-9-styles-overhaul/PROGRESS-richard.md
Normal file
34
dev-docs/tasks/phase-9-styles-overhaul/PROGRESS-richard.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# Phase 9 Progress — Richard
|
||||
|
||||
**Branch:** cline-dev-richard
|
||||
**Last Updated:** 2026-02-18
|
||||
|
||||
## Completed This Sprint
|
||||
|
||||
| Task | Name | Completed | Notes |
|
||||
| ----------------- | ---------------------------- | ---------- | ----------------------------------------------------------------------------------------------- |
|
||||
| STYLE-001 Phase 3 | TokenPicker Component | 2026-02-18 | noodl-core-ui — searchable grouped dropdown with colour swatches, clear button, category filter |
|
||||
| STYLE-001 Phase 4 | Preview CSS Injection | 2026-02-18 | PreviewTokenInjector singleton + CanvasView dom-ready hook + ProjectDesignTokenContext wiring |
|
||||
| CLEANUP-000H | Migration Wizard SCSS Polish | 2026-02-18 | All 8 SCSS files replaced with design token versions (removed 2112 lines of hardcoded CSS) |
|
||||
|
||||
## In Progress
|
||||
|
||||
| Task | Name | Started | Blocker |
|
||||
| ---------- | -------------------------- | ------- | -------------------------- |
|
||||
| STYLE-005 | Smart Style Suggestions V1 | - | Needs fresh context window |
|
||||
| WIZARD-001 | Project Creation Wizard V1 | - | Needs fresh context window |
|
||||
|
||||
## Decisions & Learnings
|
||||
|
||||
- **[2026-02-18] Sprint 1 started on cline-dev-richard.**
|
||||
|
||||
- **[2026-02-18] STYLE-001 Phase 4 injection architecture:**
|
||||
|
||||
- `PreviewTokenInjector.attachModel(model)` → subscribes to `tokensChanged`
|
||||
- `PreviewTokenInjector.notifyDomReady(webview)` → called from `CanvasView` on `dom-ready`
|
||||
- Injects `<style id="noodl-design-tokens">` into preview webview via `executeJavaScript`
|
||||
- Cleanup via `clearWebview()` on CanvasView dispose
|
||||
|
||||
- **[2026-02-18] CLEANUP-000H — Migration wizard had 2112 lines of hardcoded CSS.** Replaced with ~455 lines of fully token-based SCSS with sensible fallbacks for tokens not yet defined (e.g. `--theme-color-success`, `--theme-color-danger`). Note: `color-mix()` is used for tinted backgrounds — requires a modern browser/webview (Electron's Chromium should support this).
|
||||
|
||||
- **[2026-02-18] FOR NEXT SESSION:** Remaining Phase 9 tasks: STYLE-005 (Smart Style Suggestions), WIZARD-001 (Project Creation Wizard V1). Then Phase 6 UBA system (UBA-001 through UBA-004). All need fresh context windows — spec docs haven't been read yet.
|
||||
Reference in New Issue
Block a user