Element-android: Text Composer: slash commands

Created on 17 Dec 2018  Â·  7Comments  Â·  Source: vector-im/element-android

The editor must manage slash command:

  • [x] manage completion
  • [x] display help
  • [x] convert the command into action

(legacy) commands to handle

  • [x] "/me"
  • [x] "/ban"
  • [x] "/unban"
  • [x] "/op"
  • [x] "/deop"
  • [x] "/invite"
  • [x] "/join"
  • [ ] "/part"
  • [x] "/topic"
  • [x] "/kick"
  • [x] "/nick"
  • [x] "/markdown"
  • [ ] "/clear_scalar_token"
  • [ ] "/myroomnick"
  • [ ] "/myroomavatar"
  • [x] "/rainbow"
  • [x] "/rainbowme"
  • [x] "/shrug"
  • [ ] "/rainbowshrug"
p2

Most helpful comment

Support for /plain command is in #1093 :)

All 7 comments

/rainbow
/shrug
/rainbowshrug
;)
There should also be better markdown handling, if there isn't an issue for it.

May it be useful to create pills out of for example /me?

Currently (v0.10.0) it also makes no difference for the room preview in the room overview. So /me is going and just is going are both rendered as Frank– is going. Shouldn’t the first be shown as Frank– Frank is going (or maybe just Frankis going)?

What about /plain?
It is quite helpful if you want to demonstrate the use of markdown and it's only temporary.

The slash commands list on RiotWeb is growing too fast :)

Support for /plain command is in #1093 :)

also chiming in for /myroomnick and /myroomavatar, which are very nice to have.

I updated the list

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bmarty picture bmarty  Â·  3Comments

Yajo picture Yajo  Â·  3Comments

mvgorcum picture mvgorcum  Â·  3Comments

Bubu picture Bubu  Â·  3Comments

nadonomy picture nadonomy  Â·  3Comments