${projectsFiltered ? "No projects match your search." : "No projects yet."}
@@ -399,22 +417,18 @@ function gridTpl(): TemplateResult {
`;
}
-function contextCard(c: CoreContext): TemplateResult {
+function contextRow(c: CoreContext): TemplateResult {
const { title, sub, glyph } = contextMeta(c);
const count = c.sessionCount === 1 ? "1 conversation" : `${c.sessionCount} conversations`;
- let access = "shared";
- if (c.project && isProjectOwner(c)) access = "owned";
- else if (c.kind === "personal") access = "private";
+ const meta = [c.project ? sub : "", count, c.lastActivityAt ? `active ${relTime(c.lastActivityAt)}` : ""]
+ .filter(Boolean)
+ .join(" · ");
return html`
-