mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-26 23:36:11 +00:00
feat(gui): stalled repos, runtime not-migrated rows, safer import cleanup
- daemon status reports stalled repos; GUI shows them with the backup hint - activity: repo_stalled is a warning; repo_added/removed shown - migrate rows keep their result only until the next status refresh - import removes a failed clone's directory only if it created it Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
01c4974c07
commit
b875a41b4d
8 files changed
+63
-6
No files matched your search
@@ -189,6 +189,7 @@ export component MainWindow inherits Window {
|
||||
in property <[Repo]> repos;
|
||||
in property <[MigRow]> not-migrated;
|
||||
in property <bool> migrating;
|
||||
in property <[string]> stalled;
|
||||
in property <string> migrate-confirm-text;
|
||||
in property <[LogRow]> log;
|
||||
in property <[string]> groups;
|
||||
@@ -379,6 +380,22 @@ export component MainWindow inherits Window {
|
||||
text: "Start it with `systemctl --user start groved` (or run `groved` in a terminal).";
|
||||
}
|
||||
}
|
||||
if !root.offline && root.stalled.length > 0: Card {
|
||||
Text {
|
||||
text: "Stalled repositories";
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
Muted {
|
||||
text: "An interrupted `grove add` or clone left a marker in these repositories, so grove leaves them alone. Check the repository and restore from the backups (see the Activity log), then remove the `.grove-busy` / `.grove-stage` marker by hand.";
|
||||
}
|
||||
|
||||
for p in root.stalled: Muted {
|
||||
text: p;
|
||||
font-size: 12px;
|
||||
overflow: elide;
|
||||
}
|
||||
}
|
||||
if !root.offline && root.not-migrated.length > 0: Card {
|
||||
Text {
|
||||
text: "Not migrated clones";
|
||||
|
||||
Reference in new issue
Block a user