privateboard 0.1.2 → 0.1.4
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 +3357 -928
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/public/agent-profile.js +17 -7
- package/public/app.js +3775 -434
- package/public/index.html +2524 -269
- package/public/onboarding.js +36 -9
- package/public/quote-cta.css +49 -5
- package/public/quote-cta.js +215 -17
- package/public/report/spines/a16z-thesis.css +212 -97
- package/public/report/spines/anthropic-essay.css +564 -221
- package/public/report/spines/boardroom-dark.css +130 -72
- package/public/report/spines/gartner-note.css +83 -48
- package/public/report/spines/mckinsey-deck.css +81 -31
- package/public/report/spines/openai-paper.css +96 -35
- package/public/report.html +3576 -197
- package/public/room-settings.js +11 -8
- package/public/themes.css +15 -2
- package/public/user-settings.css +19 -8
- package/public/user-settings.js +37 -162
package/package.json
CHANGED
package/public/agent-profile.js
CHANGED
|
@@ -2362,7 +2362,8 @@
|
|
|
2362
2362
|
return {
|
|
2363
2363
|
room: document.querySelector('[data-main-view="room"]'),
|
|
2364
2364
|
agent: document.querySelector('[data-main-view="agent"]'),
|
|
2365
|
-
reports: document.querySelector('[data-main-view="reports"]')
|
|
2365
|
+
reports: document.querySelector('[data-main-view="reports"]'),
|
|
2366
|
+
notes: document.querySelector('[data-main-view="notes"]'),
|
|
2366
2367
|
};
|
|
2367
2368
|
}
|
|
2368
2369
|
|
|
@@ -2373,11 +2374,16 @@
|
|
|
2373
2374
|
v.agent.setAttribute("hidden", "");
|
|
2374
2375
|
v.agent.innerHTML = "";
|
|
2375
2376
|
}
|
|
2376
|
-
//
|
|
2377
|
-
//
|
|
2378
|
-
//
|
|
2377
|
+
// Hide every other top-level pane so its content / placeholder
|
|
2378
|
+
// doesn't bleed through under the room view. Each view is just
|
|
2379
|
+
// the same `.main-view` CSS box — without explicitly hiding the
|
|
2380
|
+
// siblings, two of them stack and the user sees a leaked
|
|
2381
|
+
// "All Notes" / "All Reports" empty state.
|
|
2379
2382
|
if (v.reports) v.reports.setAttribute("hidden", "");
|
|
2383
|
+
if (v.notes) v.notes.setAttribute("hidden", "");
|
|
2380
2384
|
document.querySelectorAll(".agent-row.active").forEach((r) => r.classList.remove("active"));
|
|
2385
|
+
document.querySelectorAll("[data-notes-trigger].active").forEach((el) => el.classList.remove("active"));
|
|
2386
|
+
document.querySelectorAll("[data-reports-trigger].active").forEach((el) => el.classList.remove("active"));
|
|
2381
2387
|
currentlyOpenSlug = null;
|
|
2382
2388
|
}
|
|
2383
2389
|
|
|
@@ -2458,10 +2464,14 @@
|
|
|
2458
2464
|
if (!v.agent) return;
|
|
2459
2465
|
v.agent.innerHTML = pageHTML(p, slug);
|
|
2460
2466
|
if (v.room) v.room.setAttribute("hidden", "");
|
|
2461
|
-
//
|
|
2462
|
-
//
|
|
2463
|
-
//
|
|
2467
|
+
// Hide the other top-level panes (All Reports / All Notes) so
|
|
2468
|
+
// their placeholder / list doesn't render under the agent profile.
|
|
2469
|
+
// Without these, opening agent profile from "All Notes" leaks the
|
|
2470
|
+
// notes empty-state through the agent view.
|
|
2464
2471
|
if (v.reports) v.reports.setAttribute("hidden", "");
|
|
2472
|
+
if (v.notes) v.notes.setAttribute("hidden", "");
|
|
2473
|
+
document.querySelectorAll("[data-notes-trigger].active").forEach((el) => el.classList.remove("active"));
|
|
2474
|
+
document.querySelectorAll("[data-reports-trigger].active").forEach((el) => el.classList.remove("active"));
|
|
2465
2475
|
v.agent.removeAttribute("hidden");
|
|
2466
2476
|
// Centralized sidebar-focus handler · also clears New room /
|
|
2467
2477
|
// New agent highlights and any stale session-row highlight, since
|