mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
idle autodock, alerts on spectator and mini pages
This commit is contained in:
@@ -7,6 +7,7 @@ import { useSpectatorMode } from '../hooks/useSpectatorMode.js';
|
||||
import { useRoomCameraSnapshots } from '../hooks/useRoomCameraSnapshots.js';
|
||||
import VideoTile from '../components/VideoTile.jsx';
|
||||
import ChatPanel from '../components/ChatPanel.jsx';
|
||||
import AlertFeed from '../components/AlertFeed.jsx';
|
||||
|
||||
const ROTATE_MS = 20000;
|
||||
|
||||
@@ -148,7 +149,10 @@ function MiniSummaryContent() {
|
||||
export default function MiniSummaryApp() {
|
||||
return (
|
||||
<SettingsProvider>
|
||||
<MiniSummaryContent />
|
||||
<>
|
||||
<MiniSummaryContent />
|
||||
<AlertFeed />
|
||||
</>
|
||||
</SettingsProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import UserListPanel from '../components/UserListPanel.jsx';
|
||||
import ChatPanel from '../components/ChatPanel.jsx';
|
||||
import LogPanel from '../components/LogPanel.jsx';
|
||||
import RoverRoster from '../components/RoverRoster.jsx';
|
||||
import AlertFeed from '../components/AlertFeed.jsx';
|
||||
|
||||
function formatDriverLabel({ roverId, session }) {
|
||||
const activeDriverId = session?.activeDrivers?.[roverId] || null;
|
||||
@@ -138,6 +139,7 @@ export default function SpectatorApp() {
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<AlertFeed />
|
||||
</div>
|
||||
</SettingsProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user