From c9b6b9a5ca082fe7c1b6f58d7713f785a9eb6a5c Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:08:27 +0200 Subject: add: graphs et rushs --- rushs/eplace/src/rooms/chat/index.js | 4 ++++ rushs/eplace/src/rooms/chat/utils.js | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 rushs/eplace/src/rooms/chat/index.js create mode 100644 rushs/eplace/src/rooms/chat/utils.js (limited to 'rushs/eplace/src/rooms/chat') diff --git a/rushs/eplace/src/rooms/chat/index.js b/rushs/eplace/src/rooms/chat/index.js new file mode 100644 index 0000000..493f142 --- /dev/null +++ b/rushs/eplace/src/rooms/chat/index.js @@ -0,0 +1,4 @@ +// FIXME: This file should handle the room's chat subscription +// Functions may include: +// - subscribeToRoomChat (subscribe to the chat of a room) +// - sendChatMessage (send a chat message) diff --git a/rushs/eplace/src/rooms/chat/utils.js b/rushs/eplace/src/rooms/chat/utils.js new file mode 100644 index 0000000..2d21ab2 --- /dev/null +++ b/rushs/eplace/src/rooms/chat/utils.js @@ -0,0 +1,6 @@ +// FIXME: This file should handle the room's chat DOM manipulation +// Link buttons to their respective functions +// Handle the chat input form and its submission +// Functions may include: +// - displayChatMessage (display a chat message in the DOM) +// - displayUserEvents (display a user event in the DOM) -- cgit v1.2.3