Commit Graph
17 Commits
Author SHA1 Message Date
dasemu d5b5df0e2a Merge pull request #18 from Dasemu/claude/zen-mccarthy-6s8ncd
fix(gui): keep an autostarted window from opening during login
2026-11-25 16:39:48 +01:00
Claude 6b294e80d9 fix(gui): keep an autostarted window from opening during login
On Plasma Wayland an autostarted grove-gui could end up with a task bar
entry that shows nothing (window mapped while the compositor starts).

- A --hidden start waits for the StatusNotifier watcher instead of opening
  the window when the tray is not up yet (ksni assume_sni_available)
- Show requests from other launches in the first 20 s after a --hidden start
  (session restore) are ignored and logged
- Every window show is logged with its reason; the session type at start

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GZUAGhGYoiLvmfXweQnDY
2026-11-25 14:35:02 +00:00
dasemuandClaude Opus 5.5 96e2d9585e fix(gui): launch grove-gui by absolute path from desktop files
Desktop sessions (KDE Plasma on Fedora) often lack ~/.local/bin in PATH, so
Exec=grove-gui never started a source install from the menu or at login.
The Start-at-login toggle now writes the running binary's absolute path, and
the README documents a source install whose menu entry does the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 15:32:55 +01:00
Claude f201611510 feat: manage namespaces/providers and open worktrees in editors
- grove group add|remove|list and grove provider add|remove|list edit
  config.toml (validated first, previous file kept as config.toml.bak)
- grove open [group/]repo[@branch] launches Zed, VS Code, Claude Code (in a
  terminal) or Claude Desktop; [open] config for defaults, terminal and own
  launchers; grove new --open
- GUI: provider/namespace forms and removal in Settings, Open buttons on
  repos and worktrees, open-after-create on New repository
- docs/phase8.md, DECISIONS 10-11

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011GZUAGhGYoiLvmfXweQnDY
2026-11-25 04:54:41 +00:00
dasemuandClaude Opus 5.5 7f337d5261 feat(gui): About view with Slint attribution
Adds an About view (sidebar) showing the Grove version, its MIT licence
and the AboutSlint widget, which satisfies the attribution clause of the
Slint Royalty-free Desktop, Mobile, and Web Applications License 2.0.
Documents the licence choice in README and docs/phase7.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 19:41:56 +01:00
dasemuandClaude Sonnet 5.5 dd4cea48d0 test: clean temp dirs and spawned daemons in all crates
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:26:23 +01:00
dasemuandClaude Opus 5.5 430e25c31d fix(gui): treat a reset connection to the instance socket as stale
Under load, connecting to a socket file whose listener is gone can fail
with ECONNRESET instead of ECONNREFUSED; both mean no live instance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 19:18:24 +01:00
dasemuandClaude Sonnet 5.5 3cba9784a3 fix: import/bootstrap hardening, canonical registry URLs, GUI canonical add path
- plain clones count as present; import refuses non-empty targets
- registry stores canonical https URLs; bootstrap matches provider by host
- clone URLs and repo names validated; GitHub link-style pagination
- bridge passes the canonical path to grove add; fix flaky instance test

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 18:58:28 +01:00
dasemuandClaude Sonnet 5.5 b875a41b4d 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>
2026-11-16 18:47:38 +01:00
dasemuandClaude Sonnet 5.5 ec6a3a04f3 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>
2026-11-16 18:15:36 +01:00
dasemuandClaude Sonnet 5.5 28e07aab56 feat: owner-scoped import listing, ssh protocol, robust import
- providers: list_owner_repos (org/user endpoints), ssh_url, Send+Sync
- import: parallel sides, case-insensitive/origin-based presence check,
  continue after failed clones and report them
- config: per-provider protocol (https|ssh); GUI settings, onboarding
- gui: import scan on its own thread, per-group cache, Rescan, failures

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 18:09:34 +01:00
dasemuandClaude Sonnet 5.5 5aeb7b2077 perf(gui): cut hidden CPU with a busy daemon
Coalesce daemon events to one status refresh per 10 s while hidden (1 s
visible), skip log/config reads and the UI-thread hand-off while hidden,
and render tray pixmaps once per state.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:54:57 +01:00
dasemuandClaude Sonnet 5.5 e65bd5c24e fix(gui): keep branch name while typing, per-worktree busy state, onboarding that survives init, stale resolve output, ahead/behinddirty as attention
Also: reject unknown resolve modes, compute the UTC offset once, notify-send --, serve the instance socket before the window exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:45:31 +01:00
dasemuandClaude Sonnet 5.5 82c89cad1f feat(gui): opt-in start at login; deb ships the autostart file under /usr/share/grove and recommends libnotify-bin
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:45:31 +01:00
dasemuandClaude Sonnet 5.5 f8c191e9a0 fix(gui): single-instance socket never evicts a live instance and lives in a private dir
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:45:31 +01:00
dasemuandClaude Sonnet 5.5 e3a16a494c feat(gui): show snapshot policy, withheld snapshots and not-migrated clones; raise visible window
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:36:06 +01:00
dasemuandClaude Sonnet 5.5 fe2999d5b0 feat(gui): native Slint GUI with ksni tray, replacing grove-bridge
Folds the bridge library into grove-gui (src/bridge.rs) and drops the HTTP server.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 17:27:52 +01:00