Repository navigation
feat!: drop Task.planned_start and planned_end - #66
Merged
Merged
Conversation
No calendar client reads a planned start or end on a VTODO; time planned for a task belongs in a VEVENT linked to it with RELATED-TO, which every client shows as an event. The properties came in with the first draft of the API design without a deliberate decision. Removes Task.planned_start/planned_end, the X-PYCAL-PLANNED-START/-END mapping and the task.planned capability, with its memory, CalDAV and conformance entries, and the design document's mentions of them. Prompt: [pick from the task list: "calendaring: drop planned_start/planned_end from Task"] Assisted-By: Claude Opus 5.5 Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
API_DESIGN §3.6 promised a registry of the X- properties the library writes, each with the standard property that would replace it, for the user documentation of roadmap 4.1. That does not exist yet, so the table starts as docs/x-properties.md, and lists the retired planned times as well, so data written by 0.1.0 can be explained. Prompts: > (on a review comment about X-PYCAL-PLANNED-* now being dropped > silently) What is the X-PYCAL-PLANNED-* for? We should start building > a [registry]. Assisted-By: Claude Opus 5.5 Reviewed-by: Tobias Brox <tobias@redpill-linpro.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.
Disclaimer: code and text below the line are AI-generated, by Claude Opus 5.5 (reviewed by a second Claude Opus 5.5 instance), from the prompts:
Task.planned_start,Task.planned_endand thetask.plannedcapability are removed, along with theX-PYCAL-PLANNED-START/-ENDmapping and its memory, CalDAV and conformance entries. No calendar client reads a planned start or end on a VTODO; time planned for a task belongs in a VEVENT linked to it withRELATED-TO, which every client shows as an event. The properties came in with the first API design draft without a deliberate decision.Tasks written by 0.1.0 that still carry the properties keep them as ordinary X- properties, and where a backend drops X- properties that is now planned as a loss, like for any other X- property (previously, every
X-PYCAL-name was exempt from that).The second commit starts the registry of
X-PYCAL-properties promised in API_DESIGN §3.6, asdocs/x-properties.md: the time-tracking properties, plus the planned times listed as retired.Tested: full suite (3504 passed), mypy, ruff, lychee.
🤖 Generated with Claude Code