[GH-ISSUE #36] Extendable Slash Commands with Custom User Commands #16

Closed
opened 2026-03-01 14:39:31 +03:00 by kerem · 5 comments
Owner

Originally created by @BigDog1400 on GitHub (Jan 15, 2024).
Original GitHub issue: https://github.com/arikchakma/maily.to/issues/36

Right now, there isn't any way to add on to the commands that pop up when you type '/'. It might be great to have a feature that lets you do that

We could add a prop, let's call it 'slashCommands' (or any other name that sounds better). This prop can merge the default commands with any additional ones that the user wants.

I think we can make this happen by moving 'Command.configure({ suggestion })' over to extensions/index.ts and tweaking it a bit to 'Command.configure({ suggestion: getSlashCommandSuggestion })'.

Originally created by @BigDog1400 on GitHub (Jan 15, 2024). Original GitHub issue: https://github.com/arikchakma/maily.to/issues/36 Right now, there isn't any way to add on to the commands that pop up when you type '/'. It might be great to have a feature that lets you do that We could add a prop, let's call it 'slashCommands' (or any other name that sounds better). This prop can merge the default commands with any additional ones that the user wants. I think we can make this happen by moving 'Command.configure({ suggestion })' over to extensions/index.ts and tweaking it a bit to 'Command.configure({ suggestion: getSlashCommandSuggestion })'.
kerem closed this issue 2026-03-01 14:39:31 +03:00
Author
Owner

@arikchakma commented on GitHub (Jan 15, 2024):

Yes, we can do that. I think as you're already implementing i18n, we also have to think about that one.

<!-- gh-comment-id:1892030868 --> @arikchakma commented on GitHub (Jan 15, 2024): Yes, we can do that. I think as you're already implementing `i18n`, we also have to think about that one.
Author
Owner

@BigDog1400 commented on GitHub (Jan 18, 2024):

Let me know if you want me to tackle this, i can allocate some time this weekend to solve it

<!-- gh-comment-id:1897755054 --> @BigDog1400 commented on GitHub (Jan 18, 2024): Let me know if you want me to tackle this, i can allocate some time this weekend to solve it
Author
Owner

@arikchakma commented on GitHub (Jan 18, 2024):

@BigDog1400 Yes, please carry on. I'll review and merge the i18n support asap. Maybe next weekend.

<!-- gh-comment-id:1898707740 --> @arikchakma commented on GitHub (Jan 18, 2024): @BigDog1400 Yes, please carry on. I'll review and merge the `i18n` support asap. Maybe next weekend.
Author
Owner

@arikchakma commented on GitHub (Feb 1, 2024):

@BigDog1400 I'm gonna pick it up, what do you think?

<!-- gh-comment-id:1922004172 --> @arikchakma commented on GitHub (Feb 1, 2024): @BigDog1400 I'm gonna pick it up, what do you think?
Author
Owner

@BigDog1400 commented on GitHub (Feb 2, 2024):

Hey, sorry, i didn't have the time to do it. Thanks for you work

<!-- gh-comment-id:1922703217 --> @BigDog1400 commented on GitHub (Feb 2, 2024): Hey, sorry, i didn't have the time to do it. Thanks for you work
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/maily.to#16
No description provided.