ChangesMarker #58

Merged
Christoph merged 3 commits from ChangesMarker into main 2026-09-29 08:24:19 +00:00
Owner
No description provided.
Add a pending-count badge to repository tabs that sums ahead, behind and changed counts and shows a breakdown popover on hover. Introduces optional ahead/behind/changed fields on RepositoryTabItem, a pendingCount helper, and hover/tooltip state/logic. Hover is cleared during drag and when opening the context menu. Very large counts (>99) show "∞".

Also:
- import ArrowUp/ArrowDown/FilePen icons and render the popover with push/pull/changes rows
- add CSS for the badge, infinite style, popover, and tweak repository-navigation padding/height for spacing
Add status-specific classes (ahead, behind, changed) to the pending
popover rows and corresponding CSS rules so each row and its icon use
dedicated color variables (--color-sync-ahead, --color-sync-behind,
--color-accent). Previously all pending rows used the same muted color;
this makes push/pull/changes counts visually distinct.
Ask for confirmation when closing repository tabs (or quitting the app) if those repos have unpushed, unpulled or uncommitted work. Adds a persisted setting (enabled by default) and a checkbox in App Settings to control the behavior.

- Add confirmClosePendingTabs helper and call it from tab-close flows and the window close handler; quitting uses an auto-confirm timeout so system shutdown won't be blocked.
- Add persisted setting and key, propagate the flag through the settings dialog and App state.
- Enhance the confirm dialog with a "warning" style and an auto-confirm countdown; include a small CSS tweak for the new warning button class.
Sign in to join this conversation.
No description provided.