Skip to content

tweak: plan interactions should match web (TUI) - #895

Merged
thdxr merged 1 commit into
anomalyco:devfrom
rekram1-node:tweak/plan-cards
Jul 11, 2025
Merged

thdxr merged 1 commit into
anomalyco:devfrom
rekram1-node:tweak/plan-cards

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Jul 11, 2025

Copy link
Copy Markdown
Collaborator

Fixes: #894

Example of what these changes look like (if you wanna compare to web see here)
Screenshot 2025-07-11 at 3 36 15 PM

Comment on lines +503 to +509
func getTodoPhase(metadata map[string]any) string {
todos, ok := metadata["todos"].([]any)
if !ok || len(todos) == 0 {
return "Plan"
}

counts := map[string]int{"pending": 0, "completed": 0}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mimics the same pattern done in part.tsx for TodoWriteTool

@rekram1-node rekram1-node changed the title tweak: adjust rendering of todos tweak: adjust rendering of todos (TUI) Jul 11, 2025
@rekram1-node rekram1-node changed the title tweak: adjust rendering of todos (TUI) tweak: plan interactions should match web (TUI) Jul 11, 2025
@thdxr
thdxr merged commit 97a31dd into anomalyco:dev Jul 11, 2025
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
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.

TUI: Plan interactions should match web.

2 participants