Skip to content

🐛 Fix: Cmd Palette not triggering new events#277

Merged
tyler-dane merged 1 commit intomainfrom
fix/274-someday-cmd
Mar 1, 2025
Merged

🐛 Fix: Cmd Palette not triggering new events#277
tyler-dane merged 1 commit intomainfrom
fix/274-someday-cmd

Conversation

@tyler-dane
Copy link
Contributor

@tyler-dane tyler-dane commented Feb 26, 2025

closes #274

After

works-cmdk.mov

Notes

Introduces a known bug: #283

- Extract draft event creation logic into separate utility functions
- Add `createTimedDraft` and `createSomedayDraft` for consistent draft event creation
- Improve type safety and reduce code duplication in draft event shortcuts
- Update event.util.ts to handle multiple case conditions more cleanly
- Simplify draft creation in CmdPalette and useShortcuts hooks
@tyler-dane tyler-dane force-pushed the fix/274-someday-cmd branch from 7b37d27 to 4e24ed8 Compare March 1, 2025 20:52
@tyler-dane tyler-dane marked this pull request as ready for review March 1, 2025 20:52
@tyler-dane tyler-dane merged commit ebb6a0d into main Mar 1, 2025
3 checks passed
@tyler-dane tyler-dane deleted the fix/274-someday-cmd branch March 1, 2025 21:01
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.

Creating someday events from command palette does not work

1 participant