Documents folder routing + home/sidebar UI improvements #3

Closed
wayne wants to merge 0 commits from feat/documents-folders-and-ui into main
Collaborator

Three commits from my fork:

  1. Route downloads into Documents\Video / Documents\Audio and simplify the home page (removed private-mode, options/custom-command panels, command preview, folder line).
  2. Separate per-kind video/audio folders - replaces the single output folder with independent videoDir/audioDir settings, blank = the Documents default. Settings gets Video/Audio folder pickers.
  3. Sidebar: app version label, collapsible rail, and a Light/Dark/Auto theme switch.

Branched from 831d0a7 (bump 0.2.0), so it does not yet include the security-hardening work on main - opening this as a PR so it merges on top. Typecheck + 106 tests pass; built and verified in the UI preview.

Three commits from my fork: 1. **Route downloads into Documents\Video / Documents\Audio** and simplify the home page (removed private-mode, options/custom-command panels, command preview, folder line). 2. **Separate per-kind video/audio folders** - replaces the single output folder with independent videoDir/audioDir settings, blank = the Documents default. Settings gets Video/Audio folder pickers. 3. **Sidebar: app version label, collapsible rail, and a Light/Dark/Auto theme switch.** Branched from `831d0a7` (bump 0.2.0), so it does not yet include the security-hardening work on `main` - opening this as a PR so it merges on top. Typecheck + 106 tests pass; built and verified in the UI preview.
wayne added 3 commits 2026-06-24 11:14:10 -04:00
- Create Documents\Video and Documents\Audio on startup (ensureMediaDirs), and
  route each download into them by kind when no explicit output folder is set.
  An empty outputDir now means "sort by type"; a chosen folder still overrides
  for both kinds.
- Settings/Onboarding "Download folder" gains a placeholder + hint describing
  the blank = route-by-type behaviour.
- Trim the home download bar to the essentials: URL box, Search and Paste
  buttons, format/quality, and the Download button. Removed the private-mode
  toggle, per-download Options panel, custom-command panel, command preview, and
  the saving-to-folder line.
- Bump version to 0.3.0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Existing installs had outputDir persisted to the Downloads folder (auto-filled by
earlier versions), so the v0.3.0 per-kind routing never triggered — downloads kept
going to Downloads. Replace the single outputDir setting with independent videoDir
and audioDir settings:

- Settings model: drop Settings.outputDir; add videoDir + audioDir (both blank by
  default). A blank value routes that kind into Documents\Video / Documents\Audio;
  a chosen folder overrides it. The stale outputDir key in old settings files is
  simply ignored, so existing users now get the Documents defaults.
- buildCommand routes by kind: per-download override → per-kind folder → default.
- The renderer no longer sends a global outputDir, so main always routes by kind.
- Settings: the single "Download folder" field becomes separate "Video folder" and
  "Audio folder" pickers, each with a Browse + Reset and a Documents\… placeholder.
  Store gains chooseDir(target) / clearDir(target).
- Onboarding: replace the folder picker with a short note about the two default
  folders (changeable in Settings).
- Bump version to 0.3.1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Expose the AeroFetch version over IPC (app:version → app.getVersion); the
  sidebar brand now shows "v<version>" beneath the name.
- Sidebar can collapse to a 60px icon-only rail via a toggle button; nav items
  and the theme control fall back to icon + tooltip when collapsed. The state is
  persisted in localStorage so it survives restarts. Hint gains left/right
  placements for the collapsed-rail tooltips.
- Replace the binary dark-mode Switch with an explicit 3-way Light / Dark / Auto
  segmented control (Auto follows the OS). Collapsed, it becomes a single button
  that cycles the three modes.
- Bump version to 0.3.2.

Verified in the browser UI preview: version label, collapse/expand, dark mode,
and the theme switch all render correctly with no console errors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
debont80 closed this pull request 2026-06-24 11:28:05 -04:00
debont80 deleted branch feat/documents-folders-and-ui 2026-06-24 11:28:05 -04:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: debont80/AeroFetch#3