Skip to content

feat: add the Taskflow panel with Flo, plus lint, type and version checks - #13

Merged
GuiMoraesDev merged 30 commits into
mainfrom
feat/taskflow-panel
Oct 17, 2026
Merged

GuiMoraesDev merged 30 commits into
mainfrom
feat/taskflow-panel

Conversation

@GuiMoraesDev

Copy link
Copy Markdown
Owner

Summary

  • Adds the Taskflow pane to the plugin: plans listed as cards, a detail page per plan with active tasks, open questions and pull requests by branch (linking the opened ones, with their worktree).
  • Adds Flo, a half-block pixel-art mascot whose mood and animation follow the plan's progress, with a status line, progress bar and a loading spinner; a header row forces any mood for preview.
  • Moves Refresh and Delete workspace into a ☰ menu drawn as a dialog over the plan; active tasks fill the pane's height, task summaries truncate to one row.
  • Adds dev tooling: ESLint (typescript-eslint strict), Prettier check and tsc run by a Husky pre-commit hook, plus a check that the staged plugin version is above the default branch's. A .husky/pre-push wrapper keeps running a local, untracked .git/hooks/pre-push.
  • Bumps the plugin to 0.7.0.

Test plan

  • npm run check (lint, format, type check, version check) passes
  • claude plugin test .: 13 pass
  • claude plugin validate . passes
  • Pre-commit hook blocks a lint error and a version equal to origin/main's
  • Open the pane and check the ☰ menu's frame, the task list height and truncation

A second plugin in the marketplace, under panel/. /taskflow opens a pane
listing every plan's task progress, active tasks, open questions and pull
requests with links, with keys for /next-task, refresh, and deleting a plan
folder after a confirmation. Plans are read from the git root's projectsDir.
The pane no longer ships as a separate taskflow-panel plugin. Its module
loads from the main plugin's hooks.json, and its code is split into
data, domain and ui folders.
Flo is now the portfolio robot's head in its own colors. Each terminal
row holds two pixel rows, and the eyes change with the plan's mood.
The pane opens on a card per plan: title, progress, the task in
progress, pull requests opened and open questions. A card's title or
its digit opens the plan's detail page, where each pull request shows
its branch and the worktree that has it checked out.
Adds a tsconfig with the plugin compiler settings, JSX through h and no
DOM. Claude Code's plugin API types are copied into
.claude-plugin/types/ locally and kept out of git, since each Claude
Code version writes its own.
Single quotes, no semicolons, 120 columns. Quoted keys stay quoted, so
the state key in types/index.d.ts keeps the shape sync.sh renames.
pane.tsx is the container: it reads the plugin state, picks the view
and hands each component its data and handlers. The components take the
surface's elements as a ui prop, since none of them is global. Flo now
heads every view, its mood following the rows it is shown.
On the first load, a timer moves a three-pixel arc around a ring where
Flo's eyes sit, one pixel every 100 ms. Refreshes keep showing the
board. The half-block drawing moves into MascotSprite, shared by the
mood header and the loader.
A row of buttons above Flo picks Auto, which follows the plan, or one
of idle, working, blocked, asking, done and loading. The pane draws the
header once, above every view.
Working glances and blinks, idle dozes, blocked flashes red, asking
looks up while the antenna blinks, done blinks with green eyes. One
clock, started with the session, advances every animation, the loading
spinner included, in place of the per-use timers.
The components move into atomic-design folders: atoms for ProgressBar
and MascotSprite, molecules for Mascot, Loading, PlanCard and
PullRequestItem, organisms for MascotHeader, PlanList and PlanDetail.
The pane's view switch becomes PaneContent, which gets its handlers as
actions built in renderPane, since the engine refuses $ as a prop.
On the plan list, Flo's status counts the plans, how many are active
(a task started, not every task done), the tasks in progress, blocked
tasks and open questions. On a plan's page it names the plan's folder,
its progress and the task that matters now. This replaces the mood
line.
The plan page's status shows tasks done with a progress bar and
percentage under the headline, in place of "nothing in progress", and
the title and bar block below the header is gone. Button labels put the
shortcut last, as in "← Plans (b)" and "Refresh (r)".
Each active task is a TaskItem: the status icon in its own column, then
the id, status and owner on one line and the summary below. A long
summary wraps under the task's text instead of back under the icon.
Each pull request shows its branch, then " - #490" linking to it once
opened. One not opened yet is drawn light gray. The worktree line stays,
only when the branch is checked out.
The pane's root takes at least the body's rows, and a spacer on the plan
page takes the room left, so Next task and Delete workspace sit at the
bottom. A page taller than the pane keeps them after its content.
@GuiMoraesDev GuiMoraesDev self-assigned this Oct 17, 2026
@GuiMoraesDev
GuiMoraesDev merged commit 861fb71 into main Oct 17, 2026
1 check passed
@GuiMoraesDev
GuiMoraesDev deleted the feat/taskflow-panel branch October 17, 2026 00:59
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.

1 participant