Skip to content

Conversation

@holmboe
Copy link
Contributor

@holmboe holmboe commented Jan 21, 2026

Summary

  • Add helpful error messages when filter patterns have invalid syntax, showing expected format and valid types
  • Rename maniphest_transitions.py to column_transitions.py for clarity
  • Rename TransitionPattern to ColumnPattern for consistency with StatusPattern and PriorityPattern
  • Add constants for valid condition types, keywords, and directions in each transition module

Before

ERROR: Invalid status filter pattern: Invalid status condition syntax: 'Done'

After

ERROR: Invalid status filter pattern: Invalid status condition syntax: 'Done'. Expected format: TYPE:STATUS (e.g., 'in:Open', 'not:in:Done'). Valid types: from, to, in, been, never, raised, lowered

Test plan

  • All 262 tests pass
  • Verified error messages show valid types for --column, --status, and --priority

🤖 Generated with Claude Code

holmboe and others added 3 commits January 21, 2026 11:54
Rename throughout codebase for consistency with StatusPattern and
PriorityPattern naming:
- TransitionPattern -> ColumnPattern
- parse_transition_patterns -> parse_column_patterns
- transition_patterns variable -> column_patterns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@holmboe holmboe requested a review from Timpan4 January 21, 2026 11:03
Copy link
Contributor

@Timpan4 Timpan4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Real clean!

@holmboe holmboe merged commit 7657115 into master Jan 21, 2026
15 checks passed
@holmboe holmboe deleted the error-with-suggestions branch January 21, 2026 15:05
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.

3 participants