mirror of
https://github.com/martinlegend/neogdsync.git
synced 2026-07-22 14:10:28 +00:00
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>
17 lines
287 B
CSS
17 lines
287 B
CSS
.neogdsync-monospace-input {
|
|
width: 340px;
|
|
font-family: var(--font-monospace);
|
|
}
|
|
|
|
.neogdsync-btn-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.neogdsync-conflict {
|
|
margin-bottom: 12px;
|
|
padding: 8px;
|
|
border-left: 3px solid var(--color-orange);
|
|
}
|