docs: Correct widgets doc discussion of slash commands.

This commit is contained in:
Tim Abbott
2021-06-04 09:23:32 -07:00
parent 20c629f327
commit bb83aab860

View File

@@ -397,15 +397,9 @@ And then we are basically done!
## Slash commands ## Slash commands
This document is more about "widget" behavior than This document is more about "widget" behavior than "slash command"
"slash command" interfaces, but there is indeed a interfaces, but there is indeed a lot of overlap between the two
lot of overlap between the two concepts. concepts.
We will soon introduce typeahead capability for slash Typeahead for slash commands is implemented via the `slash_commands`
syntax, including things that are somewhat outliers object in `static/js/composebox_typeahead.js`.
such as the "/me" command.
If certain widget features are behind feature flags,
this will slightly complicate the typeahead
implementation. Mostly we just need the server
to share any relevant settings with the client.