Repository navigation
feat(roadmap): filter by work status, with Hide done - #307
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Roadmap gets a Status filter: In progress, Backlog, Done.
statusselector on the Roadmap listing and watch (unknown values are a 400), and on MCPlist_cards. Work entering or leaving a filtered view arrives as ADDED or DELETED, ancestors included.The work status rule is one table shared by the server and the client tests. Matrix row O14,
docs/api.md,ownership.md.