What problem does it solve?
Adding actions to Sentry's Command+K palette requires understanding its slot system, resource loading patterns, and registration lifecycle, which are easy to get wrong without guidance.
Core Features & Use Cases
- Action Registration Patterns: Covers navigation links, callbacks, static groups, async resource pickers, and render-prop children using the CMDKAction component.
- Slot Management: Explains the task, page, and global slots that control sort order and action lifetime, including how to register page-level and global actions.
- Advanced Patterns: Documents state-conditional actions, workflow state machines, capability configs, dynamic labels, and supplementary sections.
- Use Case: When adding a "Resolve Issue" action to the issue details page, wrap a CMDKAction in a page-level CommandPaletteSlot so it registers and deregisters with the page lifecycle.
Quick Start
Add a new page-level action to the Sentry command palette that resolves the current issue when selected.