Commit graph

3 commits

Author SHA1 Message Date
ml2310
4104a479da Fix review bot: replace element.style.* with CSS class
Replace inline style assignments on folderInput with
.neogdsync-folder-input CSS class in styles.css.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 17:59:31 +08:00
ml2310
ec5867b10b Fix: all Obsidian review bot required issues (v0.1.4)
Required fixes from ObsidianReviewBot scan:
- fetch → requestUrl (Obsidian API) in auth.ts and driveApi.ts
- any types → proper types (DriveChange, DriveRevision interfaces added)
- console.log → console.debug (only warn/error/debug allowed)
- .obsidian hardcoded → vault.configDir (configurable by user)
- Sentence case for all UI text (commands, settings, modals)
- createEl h2/h3 → new Setting(...).setHeading()
- Inline styles removed → styles.css with CSS classes
- Unhandled promises → void operator
- async save() with no await → removed async keyword
- Unnecessary type assertion removed
- Unused imports removed (normalizePath, Snapshot, TFile, Notice, FOLDER_MIME)
- styles.css added for theming-friendly styles

Rebuilt main.js from TypeScript source.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 22:17:46 +08:00
LM
830c2e8edb Initial release of NeoGDSync v0.1.0
Lightweight Google Drive sync plugin for Obsidian.
- Path-based Drive index, conflict detection, versioning
- Smart/push/pull sync modes
- URI handler: obsidian://neogdsync?mode=smart|push|pull
- isDesktopOnly: false (iOS/Android compatible)
2026-04-13 01:44:39 +08:00