You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.
I'd like to have a component similar to the current mention handler for scripting use.
I would use such component for searching for text in the client.
For example, it could be populated with a list of friends names. We could use the fuzzy-finder to quickly narrow down the results, select a name, then be switched to the friends list layout to message that person.
This could also be used to search for servers, channels, certain text within the recent chat history, search all channels at once, etc. The script could then use the search result to perform some action involving the text.
Why
It would be an extremely useful tool, like having fzf built into cordless and being scriptable.
Implementation hints
Make the mention handler a modular component which takes a list of text and outputs a single result, using the built-in fuzzy finding algorithm in cordless.
We may also want to make it even more modular, and allow for the scripting interface to supply its own matching algorithm instead of using cordless' internal algorithm.
The text was updated successfully, but these errors were encountered:
so, you want a kind of commandline with an entity (member, user, friend, channel, server) selector?
E.g. that'd have to b added to the cli at the bottom? and those commands shall be forwarded to the JS api?
What do you want
I'd like to have a component similar to the current mention handler for scripting use.
I would use such component for searching for text in the client.
For example, it could be populated with a list of friends names. We could use the fuzzy-finder to quickly narrow down the results, select a name, then be switched to the friends list layout to message that person.
This could also be used to search for servers, channels, certain text within the recent chat history, search all channels at once, etc. The script could then use the search result to perform some action involving the text.
Why
It would be an extremely useful tool, like having
fzf
built into cordless and being scriptable.Implementation hints
Make the mention handler a modular component which takes a list of text and outputs a single result, using the built-in fuzzy finding algorithm in cordless.
We may also want to make it even more modular, and allow for the scripting interface to supply its own matching algorithm instead of using cordless' internal algorithm.
The text was updated successfully, but these errors were encountered: