Files
rabby/ui/app.js
T
2026-07-06 10:44:47 +00:00

16 lines
636 B
JavaScript

async function loadFeatures(){
const fallback = [
["Terminal", "VT-style surface, tabs, split panes, Unicode"],
["Connections", "Local shell, SSH, Telnet, Serial profile model"],
["UX", "Command palette, shortcuts, quake window, restored sessions"],
["Footprint", "Rust core + Tauri shell instead of Electron"]
];
let rows = fallback;
try {
const { invoke } = window.__TAURI__.core;
rows = (await invoke('workspace_summary')).map(x => [x.feature, x.detail]);
} catch (_) {}
document.getElementById('features').innerHTML = rows.map(([f,d]) => `<li><b>${f}</b>: ${d}</li>`).join('');
}
loadFeatures();