mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
no more nickname form
This commit is contained in:
+5
-13
@@ -1,16 +1,8 @@
|
||||
1. make sure audio forwarding doesnt stop when you switch tabs
|
||||
2. add "reboot your own rover" feature
|
||||
1. time delay and you can only do it if youre the only one on. server locks the rover then tells it to reboot
|
||||
3. add a clear socket disconnection indicator in the web UI
|
||||
1. fix reconnection stuff, make sure identity always sends. maybe even on a timer
|
||||
2. stop allowing dead sockets (no identity) on rovers... idk how to handle this
|
||||
1. disconnect dead sockets after 2 minutes, if identity is sent every minute no matter what, no one should ever get disconnected while functional
|
||||
4. add votekicking
|
||||
1. simply just disconnect the users socket.
|
||||
5. add faster way for admins to login, like an invisible button in top left or something
|
||||
6. add discord bot typing thing for when someone requests a replay
|
||||
7. change replay title for ones requested from discord, something other than "requester driving rover"
|
||||
8. fix rover request spam queue cheat
|
||||
1. FIX THE NICKNAME THING BEING BROKEN!!!!
|
||||
1. add faster way for admins to login, like an invisible button in top left or something
|
||||
2. add discord bot typing thing for when someone requests a replay
|
||||
3. change replay title for ones requested from discord, something other than "requester driving rover"
|
||||
4. fix rover request spam queue cheat
|
||||
|
||||
|
||||
# relative pipe dreams:
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
||||
<title>Roomba Rover</title>
|
||||
<script type="module" crossorigin src="/assets/index-DbRTVNLN.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-DC5PqMFo.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CIj_suyF.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -35,22 +35,28 @@ export default function NicknameForm({ compact = false }) {
|
||||
}
|
||||
|
||||
return (
|
||||
<form className="grid w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] items-stretch gap-0.5" onSubmit={handleSave}>
|
||||
<div className="grid w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] items-stretch gap-0.5">
|
||||
<input
|
||||
className="field-input flex-1 min-w-0"
|
||||
value={nicknameInput}
|
||||
onChange={(e) => setNicknameInput(e.target.value)}
|
||||
onKeyDown={(event) => {
|
||||
if (event.key !== 'Enter') return;
|
||||
event.preventDefault();
|
||||
handleSave(event);
|
||||
}}
|
||||
maxLength={32}
|
||||
placeholder="Enter a nickname"
|
||||
disabled={!canSetNickname}
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
type="button"
|
||||
onClick={handleSave}
|
||||
disabled={!canSetNickname || saving}
|
||||
className="button-dark h-full shrink-0 whitespace-nowrap px-0.5 py-0 disabled:opacity-50"
|
||||
>
|
||||
{saving ? 'Saving…' : compact ? 'Set' : 'Save'}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user