Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .Jules/palette.md
Empty file.
2 changes: 1 addition & 1 deletion src/features/library/components/ManualBookModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function ManualBookModal({
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
<div className="md:col-span-2">
<label htmlFor="manual-book-title" className={labelClass}>Title <span className="text-rose-500" aria-hidden="true">*</span></label>
<input id="manual-book-title" required className={inputClass} value={form.title} onChange={(event) => updateField('title', event.target.value)} />
<input id="manual-book-title" autoFocus required className={inputClass} value={form.title} onChange={(event) => updateField('title', event.target.value)} />
</div>
<div className="md:col-span-2">
<label htmlFor="manual-book-subtitle" className={labelClass}>Subtitle</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ export function IntegrationsSection({
</div>
<div className="space-y-4 p-6">
<div className="rounded-xl border border-slate-200 bg-slate-50 p-4 dark:border-slate-700 dark:bg-slate-900/30">
<h4 className="text-sm font-medium text-slate-900 dark:text-slate-100">Google Books API Key</h4>
<label htmlFor="google-books-api-key" className="block text-sm font-medium text-slate-900 dark:text-slate-100">Google Books API Key</label>
<p className="mt-1 text-xs text-slate-500 dark:text-slate-400">
Stored in your OS credential manager (Windows Credential Manager, macOS Keychain, or Linux Secret Service). The key is never shown after save.
</p>
<div className="mt-3 grid gap-2 md:grid-cols-[1fr_auto_auto_auto]">
<input
id="google-books-api-key"
type="password"
autoComplete="off"
spellCheck={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function LibrarySourcesSection({
</div>
<div className="space-y-4 p-6">
<div className="grid gap-2 md:grid-cols-[1fr_auto_auto]">
<input className="rounded-lg border border-slate-200 bg-slate-50 px-3 py-2 text-sm dark:border-slate-700 dark:bg-slate-900/30" placeholder="Add folder path (e.g. C:\\Books)" value={folderPath} onChange={(event) => onSetFolderPath(event.target.value)} />
<input aria-label="Folder path" className="rounded-lg border border-slate-200 bg-slate-50 px-3 py-2 text-sm dark:border-slate-700 dark:bg-slate-900/30" placeholder="Add folder path (e.g. C:\\Books)" value={folderPath} onChange={(event) => onSetFolderPath(event.target.value)} />
<button className="rounded-lg border border-slate-300 px-3 py-2 text-sm transition-colors hover:bg-slate-50 dark:border-slate-700 dark:hover:bg-slate-700" onClick={onBrowseForFolder}><FolderOpen className="mr-2 inline-block" size={14} />Browse</button>
<DisabledTooltip className="grid" reason={addFolderDisabledReason}>
<button className="rounded-lg bg-accent-600 px-3 py-2 text-sm font-medium text-white transition-colors hover:bg-accent-700 disabled:pointer-events-none disabled:opacity-50" disabled={!folderPath.trim() || isAddingFolder} onClick={onAddFolder}>Add Folder</button>
Expand Down