Skip to content

Refactor launch_action with enum dispatch#281

Merged
multiplex55 merged 2 commits intomasterfrom
codex/redesign-launch_action-for-structured-dispatch
Jul 19, 2025
Merged

Refactor launch_action with enum dispatch#281
multiplex55 merged 2 commits intomasterfrom
codex/redesign-launch_action-for-structured-dispatch

Conversation

@multiplex55
Copy link
Owner

@multiplex55 multiplex55 commented Jul 19, 2025

Summary

  • add ActionKind enum to categorize supported actions
  • parse action strings once with parse_action_kind
  • rewrite launch_action to match on ActionKind

Testing

  • cargo test --quiet (fails: search_add_returns_action, search_add_with_priority_and_tags, search_add_without_text_opens_dialog, search_plain_todo_opens_dialog, search_pset_and_tag_actions, search_view_opens_dialog, set_priority_and_tags_update_entry, set_priority_persists_to_file, set_tags_persists_to_file)

@multiplex55 multiplex55 merged commit 694b35d into master Jul 19, 2025
@multiplex55 multiplex55 deleted the codex/redesign-launch_action-for-structured-dispatch branch July 19, 2025 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant