Commit Graph
10 Commits
Author SHA1 Message Date
DavidandClaude Opus 4.7 c11bbf3026 Minimized list view, CSP fix, last-row menu drop-up
- Minimized popup now shows a compact bookmark list grouped by column
  header, with color stripe, alias, and inline action buttons per row
- Add img-src 'self' data: to CSP so Vite's inlined tray icon loads in
  the production build (was blocked by default-src 'self')
- Last-row ⋯ menu opens upward to avoid overflowing the popup edge

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 12:02:23 -04:00
David c860959631 Min width = 1 column, add header minimize, Claude → PowerShell
- Width: drop the header-fits-too floor; popup width is now
  max(COLUMN_WIDTH, columns-required, tabs-required). The brand title in
  the header is allowed to ellipsize at the 216px minimum (full name
  preserved in tray hover and h1 title attr).
- Minimize: new -/▢ button in the header next to pin. Toggling hides the
  tab strip + body, locks width at COLUMN_WIDTH, and lets the existing
  ResizeObserver collapse height to just the header. State persists in
  config.minimized so reopening the popup remembers it. Add-column +
  button is hidden while minimized.
- Claude launcher: now spawns powershell.exe -NoExit -Command claude in
  the wt new-tab (was cmd.exe /K claude). Cmd-fallback updated to also
  start powershell directly when the trailing args target it.
2026-04-29 11:05:10 -04:00
David 8993fbd9f6 Add Roadmap: macOS support + Electron-side minification 2026-04-29 10:47:39 -04:00
David d5f51f436e Note Trailhead's role as the canonical Windows tray template 2026-04-29 10:33:48 -04:00
David 704e172da9 Rename project to trailhead-path-bookmarker
- npm name: trailhead-path-bookmarker (package.json + lockfile)
- electron-builder appId: com.dbeuttel.trailhead-path-bookmarker
- AppUserModelId in main.js matches the new appId
- README title updated; userData path now %APPDATA%\Trailhead Path Bookmarker

Icon generator now emits both sizes:
- assets/tray-icon.png (32x32) for the system tray
- assets/app-icon.png (256x256) for electron-builder's win.icon, which
  rejects PNGs smaller than 256
2026-04-29 10:27:25 -04:00
David 77c06d664b Use full Trailhead Path Bookmarker name everywhere
- Popup header: tray icon + "Trailhead Path Bookmarker" title
- HTML <title>, electron-builder productName, and tray tooltip all match
- Popup width budget now also factors in the header's intrinsic width
  (icon + title + actions), so the brand never gets ellipsized — measured
  via h1 scrollWidth so overflow:hidden doesn't lie about content size
2026-04-29 10:12:47 -04:00
David 7150757671 Redesign tray icon as a bookmark ribbon with a peak motif
The previous icon was a bare mountain silhouette that didn't read as a
bookmark app at first glance. The new design uses the universal bookmark
ribbon glyph (vertical rectangle with a V-cut at the bottom) as the
primary silhouette and embeds the mountain peak inside it as a contrast
fill. The ribbon shape carries the *function* signal; the inner peak ties
to the Trailhead theme.
2026-04-29 10:07:18 -04:00
David 4cea97a617 Rebrand to Trailhead
- Tray tooltip: "Trailhead Path Bookmarker"
- Popup header: "Trailhead"
- electron-builder productName: "Trailhead"
- New tray icon: orange mountain peak with pennant flag (replaces folder
  pictogram). Tuned to 2px-min strokes so it survives downscaling to the
  16-24px Windows tray
- Hide scrollbars across all scroll surfaces (popup, columns row, tab
  strip) while keeping scroll behavior intact
2026-04-29 09:55:53 -04:00
David a15bf0a1aa Fix popup width feedback loop in tab strip
The tab strip used flex: 1, which stretched it to fill the popup width.
scrollWidth then equaled clientWidth, so each ResizeObserver pass set the
popup wider, which stretched the strip wider, and so on until the screen
clamp. Switching to flex: 0 1 auto + min-width: 0 lets scrollWidth report
intrinsic content width while still allowing the strip to shrink and
scroll horizontally if the popup is forced narrower than its tabs.
2026-04-29 09:47:40 -04:00
David 56ef96026b Initial commit: Folder Bookmark Tray
Windows tray app for bookmarking folders with quick-action buttons
(Explorer, Terminal, Claude, Visual Studio, Redeploy).

Features:
- Tabs containing columns of bookmarks
- Per-row launcher buttons configurable from a header settings panel
- Optional auto-start on Windows login
- In-app confirm dialogs for destructive actions
- Dark theme, frameless tray-anchored popup, pinnable
2026-04-29 09:36:59 -04:00