mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
planning nicknames system
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# general idea:
|
||||
- users will be able to have and set nicknames
|
||||
- a user's nickname will store in the browser cookie system
|
||||
- a user's nickname will store in the browser using persistence.js
|
||||
- the user's nickname should probably just be in socket.data.nickname
|
||||
- on connection, the web UI will tell the server "this is my nickname"
|
||||
- completely enforced by the web UI
|
||||
- replace any place in the web UI that shows a socket ID with the nickname
|
||||
- list of users and nicknames will be sent in the session data to web clients
|
||||
- this will be used in the future for a user list and chat
|
||||
@@ -33,4 +33,4 @@ export function saveSettings(settings) {
|
||||
console.warn('Failed to write settings cookie', error); // eslint-disable-line no-console
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user