The page (magpie.page) edits the plugin's options without a file: add, pause and remove channels per kind, when to send, agents, language, and an on/off switch that saves at once (new option enabled, default true; off sends no turn push and no sign-in push). Run: bun test packages/notify (67 pass; the enabled test fails on the old hook), scripts/check.mjs ok. Page tried in magpie's real window (dev build of origin/main, sandbox HOME, plugin added from the folder) in chromium: add ntfy channel, Save and the switch wrote plugins.json options, 5 languages at 1000px and 420px with no overflow. Not tried: WebKit (its launch failed on mote), a real push from the page.
16 lines
371 B
HTML
16 lines
371 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Notify</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<main id="root"></main>
|
|
<script src="_magpie/bridge.js"></script>
|
|
<script src="i18n.js"></script>
|
|
<script src="app.js"></script>
|
|
</body>
|
|
</html>
|