Mark unread turn summaries in the switcher and Project rows
This commit is contained in:
Vendored
+2
-2
@@ -2,7 +2,7 @@ import { get, put, subscribe } from "./api.js";
|
||||
import { errorText, h, replace, showAlert } from "./dom.js";
|
||||
import { loadDrafts } from "./drafts.js";
|
||||
import { leadPane, taskPane } from "./panes.js";
|
||||
import { handleEvent, loadFocus, loadInbox, loadLeadSessions, loadMe, loadProjects, notify, on, selectTask, setFocus, startLeadStream, state, tabs } from "./state.js";
|
||||
import { handleEvent, loadFocus, loadInbox, loadLeadSessions, loadMe, loadProjects, loadSummaryReads, notify, on, selectTask, setFocus, startLeadStream, state, tabs } from "./state.js";
|
||||
import { bindShortcuts } from "./switcher.js";
|
||||
function identityBanner(root) {
|
||||
const render = () => {
|
||||
@@ -51,7 +51,7 @@ function route() {
|
||||
async function main() {
|
||||
const banner = h("div", { class: "banner", hidden: true });
|
||||
const status = await get("/api/admin/status");
|
||||
await Promise.all([loadMe(), loadProjects(), loadInbox(), loadLeadSessions()]);
|
||||
await Promise.all([loadMe(), loadProjects(), loadInbox(), loadLeadSessions(), loadSummaryReads()]);
|
||||
loadDrafts();
|
||||
const linked = location.hash;
|
||||
await loadFocus();
|
||||
|
||||
Reference in New Issue
Block a user