desktop: Refresh the identity view

Proposals and votes show as they arrive. Identity COB updates now refresh
only the identity instead of the whole repository.
This commit is contained in:
Rūdolfs Ošiņš
2026-11-20 19:32:17 +01:00
parent 78e56dc9ac
commit e0ccaedf35
6 changed files with 43 additions and 6 deletions
+2
View File
@@ -6,6 +6,8 @@ export type Key = readonly string[];
export const keys = {
repo: (rid: string) => ["repo", rid] as const,
repoInfo: (rid: string) => ["repo", rid, "info"] as const,
// The identity document's revisions and proposals.
identity: (rid: string) => ["repo", rid, "identity"] as const,
code: (rid: string) => ["repo", rid, "code"] as const,
// The commit a revision resolves to; no revision means the default branch.
head: (rid: string, peer: string | undefined, revision: string | undefined) =>