Rotonde / rotonde-client

Rotonde Base Client
https://client-neauoire.hashbase.io/
MIT License
227 stars 49 forks source link

Feature request/Discussion: have all the commands follow a format #59

Open vanessayuenn opened 7 years ago

vanessayuenn commented 7 years ago

I propose the following format to standardize all currently available commands:

/command param1 param2 ... paramN

So it will be less confusing for end users, and easier for future development. We can then also implement the autocomplete for commands like we have for @ mentions.

aeonofdiscord commented 7 years ago

Yeah, at the rate new commands are being added I think it makes sense to namespace them so people don't trip over them by accident.

lsjroberts commented 7 years ago

Would also mean you could hotkey it to /, so you can enter a command without having to click in the box.

webdesserts commented 7 years ago

I would like to see a consistent command pattern as well. Here is what I recommend based on the current set of commands:

Commands

/follow <$url>
/unfollow <$url>
/filter <$user>
/filter clear
/edit <$field> <$value>
/edit <$entry> <$message>
/delete <$field>
/delete <$entry>
/whisper <$user> <$message>
/quote <$user> <$entry> [$message]
/help

Message Symbols

I think one thing that will help keep these commands simple (and possibly reduce the number of commands) is to make sure that pretty much anything that can be attached to a message has a corresponding symbol. This includes mentions, quotes, media, links, etc.. etc...


Feedback is welcome.

aeonofdiscord commented 7 years ago

Not totally sure about using file:// for media, since it looks like a valid URL but isn't one. The current setup uses >> (signifying "attachment", I guess) so maybe that or something close to it?

eelfroth commented 7 years ago

I happen to like the commands as they are. how about a configuration json that lets us define custom keybindings and command-aliases?

webdesserts commented 7 years ago

Not totally sure about using file:// for media, since it looks like a valid URL but isn't one. The current setup uses >> (signifying "attachment", I guess) so maybe that or something close to it?

@aeonofdiscord Yeah, I see your point about the url issue. I have some more thoughts on all of this that I'm going to mull over. I think a lot of this depends on who we're catering to and what we want the final interface to look like.

neauoire commented 7 years ago

The idea here is that media would be wrapped in {%path.jpg%} to follow {*bold*} and {_italic_}. I never got around to implement it tho.