mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Add rebuild cache functionality to issue and patch listing
In case of an outdated cobs cache we display a banner on top of the patch or issue listing, to allow users to rebuild the cobs cache of a repo similar to running `rad patch cache` After rebuilding we fetch the issues or patches from the start. Small caveat with patches: The banner can only be shown after a user fetched all patches from the backend, so we are sure we tried to fetch all of them.
This commit is contained in:
@@ -3,7 +3,14 @@
|
||||
|
||||
interface Props {
|
||||
children: Snippet;
|
||||
variant: "primary" | "secondary" | "ghost" | "float" | "danger" | "success";
|
||||
variant:
|
||||
| "primary"
|
||||
| "secondary"
|
||||
| "ghost"
|
||||
| "float"
|
||||
| "danger"
|
||||
| "success"
|
||||
| "outline";
|
||||
hoverable?: boolean;
|
||||
onclick?: (e: MouseEvent) => void;
|
||||
stylePosition?: string;
|
||||
|
||||
Reference in New Issue
Block a user