PC Workstation
PC workstations are the core interaction units in the Metaverse desktop.
Features
- Multi-window browsing - Open multiple web pages simultaneously
- Independent navigation - Each PC navigates to its own URL
- Drag arrangement - Freely adjust positions
- Quick open - Open URLs directly from favorites/keychain to a PC
Usage
// Open URL in specified PC
ipcRenderer.send('mv2-pc-navigate', pcIndex, url)
// Get the currently active PC
const pc = state.activePC >= 0
? state.activePC
: (state.hoveredPC >= 0 ? state.hoveredPC : 0)
PC State
interface PCState {
id: number
url: string
title: string
favicon: string
isLoading: boolean
isActive: boolean
isHovered: boolean
}