mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 17:52:49 +00:00
* feat(plugins): contribute settings screens and shared controls * fix(plugins): localize settings and verify shared UI consumers * test(composer): unmount draft test roots after each case * test(app): keep launch terminals alive until cleanup The fixed ten-second profile lifetime could expire before a busy CI browser attached or finished revisiting the composer. Keep the real process waiting for input until project teardown terminates it. * test(server): await the initial snapshot before a buffered ref event Watcher setup can read checkout facts before the initial refresh publishes a snapshot. Wait for publication before injecting the event so the test consistently exercises a second refresh.
22 lines
561 B
TypeScript
22 lines
561 B
TypeScript
import type { PluginClientContext } from "@getpaseo/plugin";
|
|
import { DisplaySettings } from "./client/display-settings";
|
|
|
|
export default function contribute(client: PluginClientContext) {
|
|
client.addSettingsScreen({
|
|
id: "display",
|
|
title: "Display",
|
|
icon: "SlidersHorizontal",
|
|
Component: DisplaySettings,
|
|
});
|
|
client.addCommandCenterItem({
|
|
id: "settings",
|
|
title: "Configure agent monitor",
|
|
icon: "Settings",
|
|
context: "global",
|
|
onSelect({ openSettings }) {
|
|
openSettings("display");
|
|
},
|
|
});
|
|
return () => {};
|
|
}
|