privateboard 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +12 -2
- package/dist/cli.js.map +1 -1
- package/package.json +4 -2
- package/public/agent-profile.js +14 -0
- package/public/app.js +465 -704
- package/public/home.html +3 -3
- package/public/index.html +193 -151
- package/public/report.html +356 -59
- package/public/typing-sfx.js +158 -0
- package/public/user-settings.css +90 -0
- package/public/user-settings.js +71 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "privateboard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "PrivateBoard · your private board meeting, on call. Local-first, multi-agent thinking amplifier.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"start": "node dist/cli.js",
|
|
19
19
|
"test": "vitest run",
|
|
20
20
|
"test:watch": "vitest",
|
|
21
|
-
"
|
|
21
|
+
"sync-version": "node scripts/sync-version.mjs",
|
|
22
|
+
"regen-avatars": "node scripts/regen-avatars.mjs",
|
|
23
|
+
"prepublishOnly": "npm run sync-version && npm run build"
|
|
22
24
|
},
|
|
23
25
|
"repository": {
|
|
24
26
|
"type": "git",
|
package/public/agent-profile.js
CHANGED
|
@@ -2389,6 +2389,14 @@
|
|
|
2389
2389
|
document.querySelectorAll("[data-notes-trigger].active").forEach((el) => el.classList.remove("active"));
|
|
2390
2390
|
document.querySelectorAll("[data-reports-trigger].active").forEach((el) => el.classList.remove("active"));
|
|
2391
2391
|
currentlyOpenSlug = null;
|
|
2392
|
+
// Clear the no-room flag IFF there's an actual room loaded · the
|
|
2393
|
+
// floating sidebar-expand button shouldn't show on top of a real
|
|
2394
|
+
// room view (the in-header expand button takes over there). When
|
|
2395
|
+
// showRoom fires without an active room (e.g. bouncing back to
|
|
2396
|
+
// the empty-state composer), keep no-room set so the expand
|
|
2397
|
+
// control stays reachable.
|
|
2398
|
+
const hasRoom = window.app && window.app.currentRoomId;
|
|
2399
|
+
if (hasRoom) document.documentElement.classList.remove("no-room");
|
|
2392
2400
|
}
|
|
2393
2401
|
|
|
2394
2402
|
/** Build a minimal profile object from a live /api/agents record so
|
|
@@ -2474,6 +2482,12 @@
|
|
|
2474
2482
|
// notes empty-state through the agent view.
|
|
2475
2483
|
if (v.reports) v.reports.setAttribute("hidden", "");
|
|
2476
2484
|
if (v.notes) v.notes.setAttribute("hidden", "");
|
|
2485
|
+
// The floating sidebar-expand button is gated on `html.no-room`
|
|
2486
|
+
// — without setting it here, a user who collapses the sidebar
|
|
2487
|
+
// while on an agent profile loses the expand control and has to
|
|
2488
|
+
// navigate back to a room view to recover it. Same logic that
|
|
2489
|
+
// app.js applies in openAllReports / openAllNotes.
|
|
2490
|
+
document.documentElement.classList.add("no-room");
|
|
2477
2491
|
document.querySelectorAll("[data-notes-trigger].active").forEach((el) => el.classList.remove("active"));
|
|
2478
2492
|
document.querySelectorAll("[data-reports-trigger].active").forEach((el) => el.classList.remove("active"));
|
|
2479
2493
|
v.agent.removeAttribute("hidden");
|