Skip to content

Remote: the Tasks tab is drawn like this computer's - #550

Open
MopigamesYT wants to merge 1 commit into
devfrom
fix/542-remote-tasks-look
Open

MopigamesYT wants to merge 1 commit into
devfrom
fix/542-remote-tasks-look

Conversation

@MopigamesYT

Copy link
Copy Markdown
Member

Closes #542

What changed

  • drawTaskList is taken out of todoChanged: title, "N of N done", progress line, each task's ring, text and clock.
  • The remote view feeds it the server's tasks (todoItems) and ticks the clocks in place, instead of one status · text · time label per task. Rings stop before a redraw.
  • The remote tab has the local one's padding and kinetic scroll.
  • Test: TestRemoteTasksDrawnLikeLocalOnes.

Screenshots

Visible change: before/after screenshots still have to be attached (they couldn't be taken here, no desktop build).

Checked here: GOOS=js go vet ./internal/ui (tests compiled), cmd/1loop-web wasm build, go test ./internal/server. Not run here: the internal/ui tests and the desktop build (no C compiler or X11/GL headers in this environment); CI runs them.

Assisted-by: Claude Opus 5.5 medium

🤖 Generated with Claude Code

A server chat's tasks were one muted line each, "in_progress · text ·
0 min 09 s": no title, count, progress line or marks, the raw status in
front and a trailing " · " for a task without a time.

drawTaskList, taken out of todoChanged, draws the title, "N of N done",
the progress line, each task's ring, text and clock; the remote view
feeds it the server's tasks (todoItems) and ticks its clocks in place.
The tab has the local one's padding and kinetic scroll.

Test: TestRemoteTasksDrawnLikeLocalOnes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants