Skip to content

fix: render {CATEGORIES} as a comma-separated list - #77

Merged
tobixen merged 1 commit into
masterfrom
fix-categories-template
Oct 19, 2026
Merged

tobixen merged 1 commit into
masterfrom
fix-categories-template

Conversation

@tobixen

@tobixen tobixen commented Oct 19, 2026

Copy link
Copy Markdown
Member

Commit message:

A list template with {CATEGORIES} printed the repr of the icalendar
vCategory object, or of a list of them when the property occurs more
than once. Templates now format the component itself, taking
CATEGORIES from icalendar's component.categories joined with commas.
A field lookup that fails, like {CATEGORIES.cats}, renders empty
instead of crashing the listing.

Prompt: (...) Fix the plann bug (...) (Claude found it while working with other things)
Prompts (comments made inline in the document while reviewing it):

(on the review findings) Use event.categories
(on the comma ambiguity finding) Would this be solved by using
event.categories ?

Assisted-By: Claude Opus 5.5 (1M context) noreply@anthropic.com
Reviewed-by: Tobias Brox tobias@redpill-linpro.com

🤖 Generated with Claude Code

A list template with {CATEGORIES} printed the repr of the icalendar
vCategory object, or of a list of them when the property occurs more
than once.  Templates now format the component itself, taking
CATEGORIES from icalendar's component.categories joined with commas.
A field lookup that fails, like {CATEGORIES.cats}, renders empty
instead of crashing the listing.

Prompt: (...) Fix the plann bug (...) (Claude found it while working with other things)
Prompts (comments made inline in the document while reviewing it):
> (on the review findings) Use `event.categories`
> (on the comma ambiguity finding) Would this be solved by using
> `event.categories` ?

Assisted-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
@tobixen
tobixen merged commit c565036 into master Oct 19, 2026
9 checks passed
@tobixen
tobixen deleted the fix-categories-template branch October 19, 2026 21:04
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