BeeStation / BeeStation-Hornet

99.95% station. 0.05% bees
https://beestation13.com
GNU Affero General Public License v3.0
200 stars 682 forks source link

Differentiate between typing indicators #11926

Open PowerfulBacon opened 3 days ago

PowerfulBacon commented 3 days ago

I find that a lot of people stand and wait for me to talk while I'm sending a radio message, which is not ideal.

When a user starts typing, no typing indicator should appear until you actually enter a key. If its a character then the indicator should appear. If its a radio symbol, either a different symbol should appear.

It may also be time to completely deprecate the non TGUI say panel.

EvilDragonfiend commented 3 days ago

Can you steal key press from tgui input?

PowerfulBacon commented 3 days ago

We have full control over what we send from TGUI input and at what point

EvilDragonfiend commented 3 days ago

We have full control over what we send from TGUI input and at what point

eh, that doesn't mean you can really steal it. copypasta, or dragging strings to delete, smh like that won't work. (or I am misunderstanding the concept)

PowerfulBacon commented 1 day ago

It's a web document, so we can do whatever we want with it

EvilDragonfiend commented 1 day ago

Okay, I think it doesn't need to 'steal' character inputs. Whenever TGUI chat input changes its appearance (radio -> sec radio -> normal, etc), it should send a signal to the server to tell it has been changed. So, It's javascript's job.

  1. "Hello!" -> Normal status. Shows a standard typing indicator.
  2. You hit Home to put ;. The message becomes ";Hello!" TGUI is changed to radio. Send a signal -> Your typing indicator is changed.
  3. You hit Backspace to delete the radio comma. The message becomes "Hello!" Radio typing indicator becomes normal.
  4. You hit :a, it's alien telepathy. It does its job too. (Does the same to other saymod like binary or carptalk)
PowerfulBacon commented 19 hours ago

Yea exactly