mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
git pull
This commit is contained in:
File diff suppressed because one or more lines are too long
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="Multi Roomba Rover" />
|
||||
<title>Multi Roomba Rover</title>
|
||||
<script type="module" crossorigin src="/assets/index-BfzsBBUc.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-bOy4wWKD.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BJwrnf9g.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
+1
-2
@@ -24,7 +24,6 @@ import FullscreenPrompt from './components/FullscreenPrompt.jsx';
|
||||
import { useFullscreenPrompt } from './hooks/useFullscreenPrompt.js';
|
||||
import { useSettingsNamespace } from './settings/index.js';
|
||||
import HelpOverlay from './components/HelpOverlay.jsx';
|
||||
import DrivePanel from './components/DrivePanel.jsx';
|
||||
|
||||
function useLayoutMode() {
|
||||
const [mode, setMode] = useState(() => {
|
||||
@@ -122,7 +121,7 @@ function MobileLandscapeLayout() {
|
||||
</section>
|
||||
<RoomCameraPanel panelId="mobile-landscape-room" />
|
||||
<HomeAssistantControls />
|
||||
<DrivePanel />
|
||||
{/* <DrivePanel /> */}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -63,8 +63,8 @@ export default function ControlSummary() {
|
||||
<div className="grid h-full grid-rows-[1fr_1fr_auto] gap-0.75">
|
||||
<ActionButton
|
||||
title="Start Driving"
|
||||
description="Enable driving mode, then move the rover."
|
||||
statuses={[{ label: driving ? 'Ready' : 'Not ready', active: driving }]}
|
||||
description="Enable driving mode, then begin driving."
|
||||
statuses={[{ label: driving ? 'Ready' : 'Press to enter driving mode', active: driving }]}
|
||||
tone="emerald"
|
||||
onClick={handleStartDrive}
|
||||
disabled={!roverId}
|
||||
@@ -73,7 +73,7 @@ export default function ControlSummary() {
|
||||
/>
|
||||
<ActionButton
|
||||
title="Dock and Charge"
|
||||
description="Trigger an automatic docking attempt."
|
||||
description="Line up about a foot from the dock, then press to attempt auto-dock."
|
||||
statuses={[
|
||||
{ label: docked ? 'Docked' : 'Not docked', active: docked },
|
||||
{ label: charging ? 'Charging' : 'Not charging', active: charging },
|
||||
@@ -142,7 +142,7 @@ function StatusPill({ label, active }) {
|
||||
return (
|
||||
<span
|
||||
className={`rounded px-1.5 py-0.5 text-[0.7rem] font-semibold ${
|
||||
active ? 'bg-emerald-600 text-white' : 'bg-slate-700 text-slate-200'
|
||||
active ? 'bg-emerald-600 text-white' : 'bg-red-500 text-white'
|
||||
}`}
|
||||
>
|
||||
{label}
|
||||
|
||||
Reference in New Issue
Block a user