frontend phase 15

This commit is contained in:
hamid
2026-07-10 20:28:06 +03:30
parent bc51cf59b4
commit 70cf00ce4a
151 changed files with 10711 additions and 44 deletions
+7
View File
@@ -25,6 +25,13 @@ export const NURSE_REVIEWS_STALE_TIME = 2 * 60 * 1000;
export const REVIEW_ELIGIBILITY_STALE_TIME = 30 * 1000;
export const REVIEWS_GC_TIME = 10 * 60 * 1000;
/**
* The admin moderation worklist is an actively-worked queue — a short `staleTime` keeps it fresh as items are
* moderated by this (or another) admin, while still serving from cache during quick filter/page switches. A
* moderation mutation invalidates it immediately, so this only governs background freshness.
*/
export const MODERATION_QUEUE_STALE_TIME = 20 * 1000;
/**
* The low-rating support-alert threshold (server config, default ≤ 2). The mock echoes it on
* `SubmitReviewResult.lowRatingAlertRaised`; the **UI never surfaces it** — it exists only so the mock's