Commit graph

12 commits

Author SHA1 Message Date
kry-kylewhittle
8c97e5f721 v1.0.8: safer branch switching, conflict/stash visibility in sidebar
Branch switch and pull now try the git operation directly first and only
fall back to auto-stash when local changes actually block it, fixing
switches that silently failed after a pull left an unresolved conflict.
The sidebar also now surfaces unresolved conflicts and stashes for the
repo, with one-click resolve/abort/apply/drop actions.

Also wires RELEASE_NOTES.md into the release workflow so Obsidian's
plugin update view shows a short human summary instead of just a
changelog compare link.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-01 18:01:41 +01:00
kry-kylewhittle
fabaad68e0 v1.0.7 2026-06-26 11:47:02 +01:00
kry-kylewhittle
5e1d74309f v1.0.6 2026-06-25 13:43:05 +01:00
kry-kylewhittle
cf106190e8 v1.0.5: GitKraken-style branch picker with remote branch support
Replace the <select> dropdown with a searchable custom picker that shows
all local and remote branches grouped separately. Remote-only branches
check out with --track so upstream is configured automatically. Fetch now
uses --prune to keep remote refs in sync.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 18:30:33 +01:00
kry-kylewhittle
9c31a5a8e7 Bump version to 1.0.4 (skipped 1.0.3 tag collision)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 14:57:22 +01:00
kry-kylewhittle
3d8a8971e9 Bump version to 1.0.3: GitKraken-style auto-stash and auto-fetch
- Pull and branch switch now auto-stash uncommitted changes, perform the
  operation, then pop the stash — mirroring GitKraken's seamless default
- Background git fetch fires every 30 seconds, updating commits-behind
  counter, ribbon badge, and status bar without a full UI reload

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 14:51:52 +01:00
kry-kylewhittle
fd2818ad56 Fix off-by-one in file path parsing for first uncommitted file
stdout.trim() was stripping the leading space from the first line of
git status --porcelain output, causing substring(3) to index one char
into the filename. Switch to trimEnd() to only strip trailing newlines.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 09:27:37 +01:00
kry-kylewhittle
da938de175 Bump version to 1.0.1 2026-06-13 12:55:27 +01:00
kry-kylewhittle
766bdd6e42 Fix second-round review issues
- Bump minAppVersion to 1.7.2 (revealLeaf became async at @since 1.7.2)
- Remove plugin name from settings heading (per Obsidian guidelines)
- Cast loadData() result to Partial<Settings> to fix unsafe any assignment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 12:09:43 +01:00
kry-kylewhittle
0e6d173e8a Fix all community plugin review issues
- Replace fetch with Obsidian requestUrl; add typed GitHub API interfaces
- Replace all `any` types and catch blocks with proper types + errorMessage helper
- Replace createEl headings with new Setting().setHeading()
- Add void operator to all async event handlers in void context
- Fix unawaited promises (revealLeaf, activateView, saveSettings)
- Replace setTimeout with window.setTimeout throughout
- Remove unnecessary type assertions (createEl already returns typed elements)
- Replace this.display() calls with targeted DOM updates via updateDetectedInfo()
- Bump minAppVersion to 1.1.3 to match APIs used
- Replace builtin-modules package with Node built-in builtinModules
- Add GitHub Actions release workflow with artifact attestations

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 22:17:04 +01:00
kry-kylewhittle
a12605116c Add README, LICENSE, fix manifest id for community plugin submission
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 16:40:34 +01:00
kry-kylewhittle
537eab4783 Initial scaffold: Obsidian GitHub Wiki Tools plugin 2026-06-11 10:25:55 +01:00