moon-plasma / moonplasma / MoonPlasma / Moon Plasma become chandra / Chandra everywhere: the WIT package (chandra:desktop, chandra:host, chandra:wm), the MoonBit module (chandra/desktop) and generated bindings, the Rust host, identifiers (ChandraCompositor), the session script (chandra-session) and desktop entry (chandra.desktop), config and data paths ($XDG_CONFIG_HOME/chandra, share/chandra/modules), env vars (CHANDRA_*), UI strings, docs and tests. The test fixture components are rebuilt against the renamed WIT. Saved panel.edn and state.edn are still read from the old $XDG_CONFIG_HOME/moon-plasma until the first save writes the new copy. The remote repository keeps its experiments/moon-plasma name for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hi3L9oVBoRd373Qr4n
This commit is contained in:
323 files changed
+1055
-1013
No files matched your search
@@ -29,8 +29,8 @@ page.on('console', (m) => { if (m.type() === 'error') errors.push(m.text()); });
|
||||
const T = 'time=2026-11-24T14:07:37';
|
||||
const shot = async (name, query, steps) => {
|
||||
await page.goto(`${url}?${T}&${query}`);
|
||||
await page.waitForFunction(() => window.moonPlasma?.ready || window.moonPlasmaError, null, { timeout: 30000 });
|
||||
const err = await page.evaluate(() => window.moonPlasmaError);
|
||||
await page.waitForFunction(() => window.chandra?.ready || window.chandraError, null, { timeout: 30000 });
|
||||
const err = await page.evaluate(() => window.chandraError);
|
||||
if (err) throw new Error(`host failed in browser: ${err}`);
|
||||
if (steps) await steps();
|
||||
const f = join(outdir, `${tag}-${name}.png`);
|
||||
@@ -47,7 +47,7 @@ await shot('2-launcher-open', 'config=desktop.json', async () => {
|
||||
const [px, py] = await canvasPoint(100, 450); await page.mouse.move(px, py);
|
||||
});
|
||||
await shot('3-binary-clock-swapped', 'config=desktop.json', async () => {
|
||||
await page.evaluate(() => window.moonPlasma.swap('clock', 'clock-binary'));
|
||||
await page.evaluate(() => window.chandra.swap('clock', 'clock-binary'));
|
||||
});
|
||||
await shot('4-day-theme', 'config=desktop.json&theme=moon-day', async () => { await click(60, 700); });
|
||||
await browser.close(); srv.close();
|
||||
|
||||
Reference in new issue
Block a user