update some ui changes

This commit is contained in:
2026-09-28 23:53:28 +05:30
parent 0fee985fd1
commit 76839eede2
16 changed files with 430 additions and 60 deletions

View File

@@ -35,6 +35,12 @@ export type Resource<T> = AsyncState<T> & {
* wrong countdown to any user whose device clock is off.
*/
meta?: ApiMeta;
/**
* TEMPORARY — set by useSampleFallback() when the real endpoint had nothing
* and an example is on screen instead. PanelCard shows the "Sample data"
* token from it. Goes with shared/mocks.
*/
isSample?: boolean;
};
/** What the fetch resolved to, tagged with the request it belongs to. */