T3.5: Move display helpers to src/app/format.go
Extract pure display/formatting functions from the GUI: - StatusText, EventText, DisplayFolder, DisplayArguments, DisplaySuccessExitCodes, DisplayRunMode, DisplayInvocation, DisplayIndex. These have no Fyne dependencies and serve as a shared formatting layer for the service to use (e.g. StatusText in the tests when mocking the GUI). The GUI imports them as app.DisplayFolder(...) etc. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -264,7 +264,7 @@ Track progress here. Mark tasks complete as they land and pass review.
|
||||
- [x] T3.2 — Add `src/app/events.go`; Event types + Observer
|
||||
- [x] T3.3 — Add state-mutating operations to service
|
||||
- [x] T3.4 — Convert `scheduler` to use service; inject Clock
|
||||
- [ ] T3.5 — Move display helpers to `src/app/format.go`
|
||||
- [x] T3.5 — Move display helpers to `src/app/format.go`
|
||||
- [ ] T3.6 — Add `src/app` unit tests (no Fyne)
|
||||
|
||||
### Phase 4 — Carve up the GUI
|
||||
|
||||
Reference in New Issue
Block a user