Commit graph

12 commits

Author SHA1 Message Date
DHEERAJ
509487b907 Adopt declarative settings API; remove 'Saved from' toggle
- Implement getSettingDefinitions() so every setting is indexed by Obsidian's
  settings search on 1.13+. Rows delegate to shared builder methods that the
  imperative display() fallback (Obsidian < 1.13) also uses, so there's one
  source of truth and no dropped users (minAppVersion stays 1.5.0).
- Remove the "Show 'Saved from' banner" setting; the source banner is now
  always stripped from synced notes.
- Update README/docs accordingly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 17:57:25 +05:30
DHEERAJ
99789c8478 Show article cover image at the top of each note
- Add coverImage() and frontmatterValue() helpers: read the `cover` URL the
  server already writes into frontmatter and render it as a styled <img> above
  the managed body. Only real http(s) URLs render; missing/non-http no-op.
- Add a "Show cover image" setting (on by default) and a .linkwise-cover style
  (full width, capped height, object-fit cover, rounded corners).
- Update README to document the setting and note anatomy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 17:08:52 +05:30
DHEERAJ
bd1d476686 Add distinct MOC hubs, graph colors, and a cleaner note
- Hide the server "Saved from" banner by default; add a setting toggle to
  restore it (stripSavedFromBanner in markdown.ts, applied during sync).
- Name each Map of Content "🗺️ <collection>" so its graph node and file
  explorer entry stand out as a map; drop the redundant in-note heading.
  Legacy MOCs (plain MOC, <collection> (MOC), the collection name, or _MOC)
  are migrated in place on the next sync.
- Fix the MOC link count reading 0 for freshly synced collections: read
  frontmatter from disk when Obsidian's metadata cache is still cold, and
  reword "notes" to "links".
- Add a "Set up graph colors" command that non-destructively adds graph.json
  color groups (violet MOC hubs, slate notes) so collections pop in the graph.
- Update README and the user doc to match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 16:48:19 +05:30
DHEERAJ
77ade006df chore: bump version to 1.0.1 and fix minAppVersion compatibility 2026-07-15 21:54:48 +05:30
DHEERAJ
76dff1937e fix: minimum version issue sorted 2026-07-15 21:49:01 +05:30
DHEERAJ
85fc270be7 style: fix eslint sentence case warnings and configure rules for brands/acronyms 2026-07-15 16:54:56 +05:30
DHEERAJ
2bc61d17ea fix: resolve deprecated settings.display() and setWarning() calls, bump minAppVersion to 1.13.0 2026-07-15 15:27:13 +05:30
DHEERAJ
1d2f191619 feat(pairing): QR-code connect flow; bump to 1.1.0
Add a QR-based pairing flow so users can connect without copy-pasting a
token: the plugin opens a short-lived pairing request (obsidian-pair-init),
renders the deep link as a QR code, and polls (obsidian-pair-poll) until the
signed-in Linkwise app scans and approves it. Manual token entry moves to
Advanced as a fallback. Refresh README and add QR panel styles.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 09:52:54 +05:30
DHEERAJ
0970f763c5 feat(sync): name Map-of-Content after its collection; refresh README
- MOC is now written as `<Collection>.md` instead of `_MOC.md`, so the graph
  view labels each hub node with the collection name. It's identified by its
  `linkwise_moc: true` frontmatter, so legacy `_MOC.md` files are renamed in
  place on the next sync (with a `<Collection> (MOC).md` fallback if a real note
  already occupies the name).
- README: collection-named MOC + Unsorted bucket, colored highlights and the
  `highlight_colors` filter property, the new Key questions section, blank lines
  after section headings, and corrected the manual-install folder name to
  `linkwise`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 08:00:20 +05:30
DHEERAJ
323b009bd8 feat(notes): replace %% fences with clean '## My notes' boundary
Managed content (callout, summary, highlights) now sits above a '## My notes'
heading instead of between %% linkwise:start/end %% comment markers. Notes read
cleanly in Live Preview; everything from '## My notes' down is user-owned and
preserved on re-sync. A single re-sync (Reset sync state to migrate all) rewrites
old fenced notes to the clean format.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 20:04:11 +05:30
DHEERAJ
4672e00c51 fix(lint): resolve eslint errors (unsafe any access, inline style)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 19:26:45 +05:30
DHEERAJ
8159781eab Linkwise for Obsidian
Sync your Linkwise links, highlights, and collections into your Obsidian vault
as Markdown notes. One-way, incremental, local-first.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14 16:46:47 +05:30