socket.io-admin-ui icon indicating copy to clipboard operation
socket.io-admin-ui copied to clipboard

Feature Request - Receive and emit messages from the UI

Open Delapouite opened this issue 2 years ago • 4 comments

Hi

Currently the admin-ui let us gather useful information about connected sockets, rooms for a targeted server…

What do you envision as the next steps?

I think this would be very useful if it we could display all messages received in a room and also offer the possibility to emit messages to it. This way it would allow to gather even more clues about what's happening during a debug session and test various behaviors.

Thanks a lot for this tool

Delapouite avatar May 11 '22 12:05 Delapouite

Thanks a lot for the feedback :heart:

I think this would be very useful if it we could display all messages received in a room

That's a great idea! I don't think we currently have the ability to track it at the room level though.

Here's a few additional features that I had in mind:

  • an histogram of all events sent/received by the server in the last X minutes
  • an histogram of all connections/disconnections/connection errors
  • the ability to emit a message a given socket/room
  • a production mode, which tracks a little less details (in order to solve https://github.com/socketio/socket.io-admin-ui/issues/22)

darrachequesne avatar May 12 '22 09:05 darrachequesne

Update: the receive part is now implemented: https://github.com/socketio/socket.io-admin-ui/commit/8542601b55022f6ca00b677b7d7c7664a326526f

darrachequesne avatar Jun 23 '22 13:06 darrachequesne

@darrachequesne how about this task, especially:

  • the ability to emit a message a given socket/room

is it possible that it will be introduced in upcoming months? or you won't work on this project anymore?

dkonopka avatar Oct 18 '23 11:10 dkonopka

Yep, it's on my to-do list!

No specific ETA, but if there is enough demand for this feature it could be prioritized.

darrachequesne avatar Oct 23 '23 20:10 darrachequesne