top | item 37535352

(no title)

wakahiu | 2 years ago

This is very cool and I can see how it'd be helpful for users. How did you arrive at this feature? Slash command's discoverability is key. The commands serve as documentation and hints. Additionally, love the fact that users can create customized commands as shortcuts for frequent workflows or other logic. Reduces repetitive clicking/navigating.

As the builder of LeapTable (https://github.com/peterwnjenga/leaptable), an open-source low-code database powered by AI agents, one of the first pieces of feedback I received from early users was the desire for slash commands similar to Notion.

After evaluating different options, I settled on incorporating PlateJS (https://platejs.org/docs/mention) to enable @mention-style slash commands in LeapTable's React-based interface.

PlateJS proved to be a great fit for easily bringing robust slash command capabilities into our webapp. The @mention commands allow for convenient execution of actions, integration with external services, and automation workflows.

For any other React developers looking to incorporate flexible, Notion-style slash commands into their webapps, I highly recommend checking out PlateJS. It provided the perfect building block for enabling rich slash command interactions in LeapTable.

discuss

order

No comments yet.