desktop: Refresh CI status on job updates

Every status chip of a repository shares one list of its jobs, which
refreshes when a job changes, at most every few seconds, since listing
them scans every job of the repository.
This commit is contained in:
Rūdolfs Ošiņš
2026-11-20 19:32:16 +01:00
parent 8ac86d4f2c
commit cbdd3d2d86
11 changed files with 258 additions and 38 deletions
+1
View File
@@ -35,6 +35,7 @@ export const keys = {
patchList: (rid: string, status: string) =>
["repo", rid, "patches", status] as const,
patch: (rid: string, id: string) => ["repo", rid, "patch", id] as const,
jobs: (rid: string) => ["repo", rid, "jobs"] as const,
repos: () => ["repos"] as const,
notificationCount: () => ["notifications", "count"] as const,
};