Commit graph

27 commits

Author SHA1 Message Date
Flying Nobita
b7a043454f
fix: release GitHub Stars 1.5.2 (#9)
Fix startup active-view warnings and keep automatic embedded-star updates scoped to their source notes.
2026-07-21 13:55:01 +08:00
Flying Nobita
bed0a1abd3
docs: add pull request template
Add a concise default PR template covering summary, changes, verification, and issue-closing references.
2026-03-27 13:04:56 +08:00
Flying Nobita
b4b9d71569
chore: release 1.5.1 (#6)
* chore: align package tooling with sample plugin

* chore: release 1.5.1
2026-03-27 01:25:37 +08:00
Flying Nobita
b0d434cc5c
feat: release 1.5.0 vault-wide star maintenance
Release 1.5.0 with vault-wide GitHub star maintenance commands, CI enforcement, dependency fixes, and updated release metadata.
2026-03-27 00:57:51 +08:00
flyingnobita
4bbe427722
docs(agent): require full releases and assets 2026-03-20 00:31:54 +08:00
flyingnobita
731e300b00
chore(release): 1.4.0 docs and metadata 2026-03-20 00:21:43 +08:00
flyingnobita
082be15e07
feat(plugin): refine refresh and embedded star updates 2026-03-19 23:50:36 +08:00
flyingnobita
1a8924e40f
docs: update README support section 2026-03-19 21:13:16 +08:00
flyingnobita
0faf143556
chore: release 1.3.0 2026-03-19 15:25:49 +08:00
flyingnobita
f77f6c2b4a
feat: remove configurable display format, hardcode to {stars} 2026-03-19 15:25:43 +08:00
flyingnobita
5a3db79c30
1.2.1 2026-03-18 17:26:37 +08:00
flyingnobita
b97207dd9b
docs: update README with corrected text 2026-03-18 17:24:16 +08:00
flyingnobita
53707d6e68
docs: update README cache expiry default to 1 day
Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-18 17:21:07 +08:00
flyingnobita
dc81b2b893
chore: change default cache expiry to 1 day (1440 mins)
Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-18 17:15:24 +08:00
flyingnobita
a13c35f725
fix: skip decoration when star count is already embedded in markdown
Both the Live Preview ViewPlugin and Reading View post-processor now
detect existing embedded star counts (e.g.  1.2k) after GitHub
links and skip adding a duplicate decoration.

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-18 17:08:43 +08:00
flyingnobita
2a7c331e0f
docs: update README for Live Preview and embed features
- Remove outdated Live Preview roadmap item (now implemented)
- Document embed/remove star counts commands
- Update feature list

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-18 17:02:08 +08:00
flyingnobita
cd47321595
feat: add commands to embed/remove star counts in markdown files
Add two new commands:
- 'Embed star counts in current note': writes star counts (e.g.  1.2k)
  directly into the markdown after each GitHub link
- 'Remove embedded star counts from current note': strips them out

Running embed again updates existing counts. This makes star counts
visible to anyone reading the raw markdown outside Obsidian.

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-18 17:01:15 +08:00
flyingnobita
50e5262619
chore: bump version to 1.1.0
Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-18 16:44:41 +08:00
Flying Nobita
dd095634ee
Merge pull request #3 from flyingnobita/feat/live-preview-support
feat: add Live Preview support for GitHub star counts
2026-03-18 16:43:34 +08:00
Flying Nobita
6dcd0387f5 feat: add Live Preview support for GitHub star counts
Implement CodeMirror 6 ViewPlugin and WidgetType to display GitHub
star counts in Obsidian's Live Preview (Editing View) mode, in addition
to the existing Reading View support via MarkdownPostProcessor.

- StarsWidget (WidgetType): renders star count badge, uses cache for
  instant display and falls back to async API fetch with loading state
- StarsViewPlugin (ViewPlugin): scans visible ranges for GitHub URLs
  using regex, places widget decorations after links
- Widget placement accounts for markdown link syntax [text](url) by
  positioning after the closing parenthesis
- Registered via registerEditorExtension in onload()

Co-Authored-By: Oz <oz-agent@warp.dev>
2026-03-18 07:44:31 +00:00
flyingnobita
e7942c34dc 1.0.1 2025-06-04 15:42:54 +08:00
flyingnobita
72b60b9443 chore: Update node packages 2025-06-04 15:36:04 +08:00
flyingnobita
61c0f53c69 fix: Update to change in reading json response 2025-06-04 15:34:22 +08:00
flyingnobita
2ce228c685 fix: Fix 1) Remove Obsidian from README.md 2) Sentence case 3) use requestURL from Obsidian API 2025-03-30 13:43:13 +08:00
flyingnobita
9dac346856 fix: Remove plugin name from commands 2025-03-15 13:46:50 +08:00
flyingnobita
4dab1a7a9e Remove obsidian from plugin-id 2025-03-15 01:47:15 +08:00
flyingnobita
3e33be66e7 Initial commit 2025-03-15 01:35:24 +08:00