Repository navigation
Add an optional due date to tasks (#270) - #271
Open
bnivanov-true wants to merge 1 commit into
Open
bnivanov-true wants to merge 1 commit into
bnivanov-true wants to merge 1 commit into
Conversation
A task can carry a due day, YYYY-MM-DD with no time of day. - tsk add --due, tsk edit --due / --clear-due, and a plan item's `due`. A bad day is refused with invalid-due (exit 1, store untouched). - tsk list --sort due: earliest first, undated last. The same sort reaches the board's sort picker and config.toml. - The task page footer and text rows show the day; --json carries it only when set. - Store format 16. MIGRATIONS gains v6 -> v7 plus identity steps for the Dispatch dev formats v7..v15, so DEV_FORMAT_VERSIONS is gone. Older tsk refuses format 16; roll back with the tsk.json.v6 copy. - Docs, CHANGELOG (Breaking + Added), skills tsk-cli and tsk-coordinator 1.7.0 with refreshed hash pins.
|
@bnivanov-true is attempting to deploy a commit to the smarzban Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
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.
Summary
Adds an optional due day to a task, as proposed in #270. Calendar dates only (
YYYY-MM-DD, no time of day).tsk add --due,tsk edit --due/--clear-due, anddueon a plan item. A bad day is refused withinvalid-due(exit 1, store untouched).tsk list --sort due: earliest first, undated last.SortBy::Dueis shared, so the board's sort picker andconfig.tomlsort = "due"accept it too.--jsoncarriesdueonly when set. A due edit appears in the paper trail as "due edited".duedoes not affectafteror dispatch.tsk-cliandtsk-coordinatorskills (1.7.0, hash pins refreshed).Decision for the maintainer: store format 16
This bumps the store format to 16:
MIGRATIONSgains v6 to v7 plus identity steps for the Dispatch dev formats v7 to v15, andDEV_FORMAT_VERSIONSis deleted. I first tried staying on v6 (the optional-field precedent in 50280d4), but that commit landed before v0.13.0 shipped. After release, 0.13.0 can silently drop a trashed dated task it cannot parse, and notsk.json.v6copy exists to roll back to. With the bump, 0.13.0 refuses a format 16 store (as it does v5 stores today) and the rollback is thetsk.json.v6copy.Questions:
store.rsandstore_persist.rschanges; say so and I'll rework it.Not in this PR
A due editor on the task page, a quick-add token, due on board rows, and priority, importance or urgency. Say if you want any of them as follow-ups.
Test plan
cargo fmt --checkcargo clippy --all-targets -- -D warningscargo testcargo build --releasecd site && npm ci && npm test && npm run buildtests/cli_due.rs: all 14 tests fail onmain(8d714a2) and pass on this branchnpm run test:parity(Playwright): not run