+
+
+
History
+ {!!items?.length && }
+
+ {items === null &&
Loading…
}
+ {items?.length === 0 &&
No conversations yet. They are saved on this device only.
}
+ {items?.map((item) => (
+
+
+
+
+ ))}
+ {!!items?.length &&
Saved on this device only. Opening one continues it in this tab; WebPilot remembers what it did.
}
+
+ );
+}
+
+function ClearIcon() {
+ return (
+
Hold on — this can't be undone
@@ -155,8 +178,8 @@ function ConfirmCard({ pending }: { pending: PendingConfirm }) {
WebPilot wants to click
{pending.action} on {hostOf(pending.url)}.
-
-
+
+
);
@@ -241,109 +264,100 @@ function Settings({ settings, onChange, onClose }: { settings: ExtensionSettings
function App() {
const [settings, setSettings] = useState