feat(gui): migrate clones from the GUI; diagnostics log and tray restart

- Migrate / Migrate all with confirmation, sequential runs, per-repo results
- bridge: allow 'add' only for dirs directly under a group
- log panics, exit reasons and daemon/tray events to <state>/grove-gui.log
- restart the tray service if its D-Bus connection ends

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-11-16 18:15:36 +01:00
1 parent 28e07aab56
commit ec6a3a04f3
10 files changed
+528 -25

No files matched your search

+9 -6
View File
@@ -31,13 +31,16 @@ pub fn spawn(on_action: Arc<dyn Fn(Action) + Send + Sync>) -> Result<TrayHandle,
.spawn()
}
pub fn set_state(handle: &TrayHandle, agg: &Aggregate) {
/// Returns false when the tray service has ended (D-Bus connection lost).
pub fn set_state(handle: &TrayHandle, agg: &Aggregate) -> bool {
let agg = agg.clone();
handle.update(move |t| {
if t.agg != agg {
t.agg = agg;
}
});
handle
.update(move |t| {
if t.agg != agg {
t.agg = agg;
}
})
.is_some()
}
impl ksni::Tray for GroveTray {