Skip to content

FIX: Accept category slugs and group field values in actions - #333

Merged
angusmcleod merged 1 commit into
mainfrom
fix/category-slugs-group-recipients
Nov 7, 2026
Merged

angusmcleod merged 1 commit into
mainfrom
fix/category-slugs-group-recipients

Conversation

@angusmcleod

Copy link
Copy Markdown
Member

Problem

  • Category slugs: a category field can store slugs instead of ids. Category settings turned slugs into 0, so watch categories with "mute remainder" muted every category for the user, and create topic, open composer and the parent category of create category ignored or rejected the category.
  • Group fields: once a step with a group field was saved, rebuilding the wizard crashed, so the wizard stopped working for that user. A group field used as a message recipient also crashed the action.

Change

  • Category values are looked up by id or slug in one place, used by watch categories, the topic and composer category, and the parent category.
  • When none of the given categories exist, watch categories logs an error and changes nothing, instead of muting everything. With no categories given, "mute remainder" still mutes the rest, as before.
  • Group field values load correctly, and a group id works as a message recipient.

Tests

Specs for slugs in each category setting, missing categories, and a group field recipient across two steps.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DSz8MWXii43sifu8gH46aE

A category field can store slugs. Category settings turned values into
numbers, so a slug became 0: watch categories with mute remainder muted
every category, and the topic, composer and parent category ignored or
rejected it. Category values are now looked up by id or slug in one
place. Watch categories logs an error and changes nothing when none of
the given categories exist.

Rebuilding a wizard after a group field was saved crashed, as the saved
group id was treated as a list. A group id used as a message recipient
also crashed the action. Both now work.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DSz8MWXii43sifu8gH46aE
@angusmcleod
angusmcleod force-pushed the fix/category-slugs-group-recipients branch from 1b9af82 to 5f6484a Compare November 7, 2026 08:35
@angusmcleod
angusmcleod merged commit 2326857 into main Nov 7, 2026
10 checks passed
@angusmcleod
angusmcleod deleted the fix/category-slugs-group-recipients branch November 7, 2026 08:42
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