8000 feat(roadmap): filter by work status, with Hide done by kvaps · Pull Request #307 · aenix-io/aeman · GitHub
[go: up one dir, main page]

Skip to content

feat(roadmap): filter by work status, with Hide done - #307

Merged
kvaps merged 16 commits into
mainfrom
feat/roadmap-status-filter
Nov 8, 2026
Merged

kvaps merged 16 commits into
mainfrom
feat/roadmap-status-filter

Conversation

@kvaps
@kvaps kvaps commented Nov 8, 2026
Copy link
Copy Markdown
Member

The Roadmap gets a Status filter: In progress, Backlog, Done.

  • A task matches by where it stands: done when complete, backlog when parked or not placed anywhere, in progress when it has a date or a sprint (review and locked included, they are in someone's hands). A subtask follows its parent task, a review its task, and a plan item shows when a task under it matches.
  • Several statuses are OR. With Team, Customer and Owner it is AND, judged on one task: a plan item no longer shows up empty because one task matched the team and another the status. This also fixes the older team and customer pair.
  • While nothing is chosen, the foot of the menu offers "Hide done" in place of "All": one click for in progress and backlog.
  • The server applies it: status selector on the Roadmap listing and watch (unknown values are a 400), and on MCP list_cards. Work entering or leaving a filtered view arrives as ADDED or DELETED, ancestors included.
  • A card created on the Roadmap stays in view under the filter until the filter changes.

The work status rule is one table shared by the server and the client tests. Matrix row O14, docs/api.md, ownership.md.

kvaps added 16 commits November 8, 2026 09:00
A task's work status is done when complete, backlog when parked and in
progress when in work (a date or a sprint, whatever its stage); a task
nobody has placed reads as backlog. The roadmap selector status (a
comma set) keeps a task by its own, a subtask by its parent task's, a
review card by the task it reviews, and a plan item when any task
under it matche
8000
s; matches come with their ancestors, AND with team,
customer and owner.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
A task is done when complete, in a backlog when parked or placed
nowhere, else in progress — review, locked and refused included, since
somebody holds them — mirroring the server's work status. The
Roadmap's filters carry a status set, remembered with the others, and
the listing and the watch send it as the status selector.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
A Status filter (In progress, Backlog, Done) joins Team, Customer and
Owner in the Roadmap's toolbar. Its menu opens with a Hide done choice
that keeps everything but done work, and pressed again clears the
filter. A status chosen counts as a filter for the empty state and is
cleared with the rest.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
The roadmap listing and watch routes document a status query parameter
(a comma set of in-progress, backlog and done); an unknown status is
400 invalidSelector. A status-filtered roadmap watch sends a task and
its plan items ADDED when the task enters that status and DELETED when
it leaves.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
list_cards takes the same status filter as the roadmap listing, and an
unknown status is refused through the one check both doors share.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
The selector, the work-status rule (unplaced reads as backlog), how
subtasks, reviews and plan items match, and the new matrix row O14.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
The quick choice sat at the top of the menu; it now sits at its foot,
drawn like the way back to all beside it.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
While nothing is chosen the foot of the Status menu offers Hide done;
once something is, All stands there instead. It is a shortcut, not an
option, so it carries no check.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
The Roadmap row's badge and the Status filter decided a task's status
separately and could drift. The badge now starts from the filter's
work status and only names a holding stage (review, locked, refused)
on top of it. The edges are pinned: parked is backlog whatever dates
or stage it carries, a recurrent card at 100 is done, a held card at
100 is still in progress.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
The quick choice sat where All appears once something is chosen, so a
double click hid done and showed it again, and the focus fell on the
page. Pressing it now closes the menu first and gives the focus back
to the filter's button.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
A plan item passed each filter by whichever task under it matched it,
so team=portal&status=in-progress drew an epic whose portal task was
done and whose task in progress was another team's, with nothing under
it that matched. A plan item now passes by one task that passes every
filter, its own team, customers or owner standing in where they apply;
the status is always the task's. The older team, customer and owner
pairs had the same hole and are closed by the same rule.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
The status filter follows placement: a parked task is backlog whatever
its dates or stage say, a task placed nowhere is backlog on review or
not, only Complete makes done (locked or on review at 100 is still in
progress, recurrent at 100 is done), and an end date alone is in work.
The table is a fixture the TS mirror reads too.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Under a status filter a plan item stays while any task under it still
matches, so one of two tasks finishing sends the epic no DELETED; the
task's subtask and its review card leave with it.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
A task made on the Roadmap is born parked, so under "In progress" it
left the board the moment the server answered. A card made here now
stays drawn when it only leaves the selection, until the reader picks
another filter or view; one deleted outright still goes.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
The work-status mirror now answers every case of the server's
fixture, so the filter's reading cannot drift between the two.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
@kvaps
kvaps merged commit 837244b into main Nov 8, 2026
2 checks passed
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

0