Commit graph

12 commits

Author SHA1 Message Date
Yusen
18af9c116b Bump version to 1.0.1 2026-06-13 21:38:33 +08:00
Yusen
3ee1efb4de Fix remaining warnings: add API response types, fix unsafe access
- github-api.ts: Add ShaResponse, TreeResponse, CompareResponse, UserResponse, GitCommitResponse interfaces; cast all resp.json
- github-auth.ts: Add DeviceCodeResponse, TokenResponse, UserResponse interfaces; cast all resp.json
- sync-engine.ts: Remove unnecessary TFile cast, fix repoOwner -> githubUsername
- main.ts: Wrap async setTimeout callback to avoid void return warning
2026-06-13 21:25:47 +08:00
Yusen
c4b7150146 Bump minAppVersion to 1.6.6 (trashFile API requirement) 2026-06-13 20:24:38 +08:00
Yusen
9d66176f94 Fix review errors: eslint descriptions, minAppVersion, trashFile args
- Add descriptions to eslint-disable comments (-- required by linter)
- Bump minAppVersion to 1.4.0 (trashFile and setDisabled require it)
- Fix trashFile calls: remove extra boolean argument (only takes file)
2026-06-13 20:14:48 +08:00
Yusen
11103f3acb Fix mobile crash: TFile not available at runtime
Revert instanceof TFile checks to 'extension in' property checks.
TFile is a type-only import and not available at runtime on mobile.
2026-06-13 19:59:36 +08:00
Yusen
959bc999bd Fix remaining review issues
- Bump minAppVersion to 1.2.0 (setDisabled requires it)
- Add eslint-disable for required Node.js module imports
- Use instanceof TFile instead of type casting
- Wrap async callbacks to avoid void return warnings
2026-06-13 19:50:01 +08:00
Yusen
b7449b7604 Fix all plugin review warnings
- git-operations.ts: Add proper types for require(), use instanceof check, pass App for trashFile
- github-api.ts: Remove unused RequestUrlResponse, add App param, use trashFile, fix casts
- github-auth.ts: Remove unused Notice import, use window.setTimeout
- main.ts: Use window.setTimeout, add void to unhandled promises
- sync-engine.ts: Use vault.configDir instead of hardcoded .obsidian, fix unused var
- package.json: Remove unused builtin-modules dependency
2026-06-13 19:30:06 +08:00
Yusen
fc7d33b192 Fix plugin review issues
- Remove eslint-disable comment, use unknown type instead of any
- Bump minAppVersion from 0.15.0 to 1.0.0
- Replace createEl('h3') with Setting.setHeading()
- Move all inline styles to CSS classes in styles.css
2026-06-13 19:21:28 +08:00
Yusen
845b3f282f Reorder language toggle: 中文 | English 2026-06-13 19:03:18 +08:00
Yusen
57e343b60b Split README back to separate files, English as default 2026-06-13 18:59:06 +08:00
Yusen
2f18b42842 Merge bilingual README into single file with inline language toggle 2026-06-13 18:55:19 +08:00
Yusen
3afcd068a7 Initial release: Moving Note v1.0.0
- Desktop sync via system Git (pull → commit → push)
- Mobile sync via GitHub API (pull + push)
- i18n support (English / Chinese)
- Auto-sync and sync-on-startup
- Custom commit message template
- Branch management with auto-stash
2026-06-13 18:33:21 +08:00