Commit Graph
39 Commits
Author SHA1 Message Date
yonlu 50718fd633 added db query optimizations to playlists view, added caching 2026-02-17 11:39:17 -05:00
yonlu 481beca00a frontend changes
-smaller thumbnails
-GPU acceleration
-lazy loading/ rendering only visible elements
-cover grid shows album tracks on click
2026-02-16 22:42:13 -05:00
yonlu 176b32fb0d frontend fixes
album artist gets populated with artist as fallback (frontend also uses
this as display name fallback for albums). added scroll position
persistence when switching main views. also added frontend cache for
faster switching.
2026-02-16 14:38:09 -05:00
yonlu 6fbe16a84b window size saved to config, smaller font in track-list 2026-02-16 03:48:53 -05:00
yonlu f97e8c4840 fixed some state persistence issues. player state now saves on changes. next track button doesn't autoplay when paused. 2026-02-16 03:22:13 -05:00
yonlu 419fec1672 fixed repeatOne/ same track twice in a row issues 2026-02-16 02:45:51 -05:00
yonlu 95e1b32e86 view tracks in playlist view and play playlists 2026-02-16 02:18:45 -05:00
yonlu 4c09e7abee playlist creation, viewing, integration with other views. still wip for full playlist functionality 2026-02-16 00:27:36 -05:00
yonlu 86204e1b7a stopped player plays queue on play button click if queue is not empty. seek bar bigger. 2026-02-15 18:19:10 -05:00
yonlu 67cea5cfb0 fixed player behavior after final queue track completes, added click to play from queue window 2026-02-15 16:20:56 -05:00
yonlu 38f3abbd3e Cover art thumbnails
library scan creates thumbnails, cover grid component defaults to
thumbnail if available.
2026-02-14 15:25:12 -05:00
yonlu 7579a768be fix: virtual list and cover grid (#63)
* very basic slow buggy queue

* cover grid can now add albums to queue

* added virtualized lists to track list and cover grid components
2026-02-14 14:07:25 -06:00
logan 30b2480df4 fix: resolve all lint errors and make linting a required CI check (#62)
- Fix 10 err113 violations: extract dynamic errors to package-level sentinels
- Fix 12 errcheck violations: handle unchecked error returns in player,
  metadata, and config packages
- Fix 4 revive stutter warnings: rename player.PlayerState to player.State,
  player.PlayerVolume to player.Volume, queue.QueueTrack to queue.Track,
  queue.QueueState to queue.State
- Fix 2 staticcheck SA4001: simplify *&x to x in assets handler
- Fix 5 unused constants: remove dead AudioFileType iota block in models
- Fix gci/gofumpt/wsl formatting issues across multiple files
- Add gofumpt module-path setting to .golangci.yml for correct import grouping
- Fix player test: gate integration test behind YELLOWJACKET_INTEGRATION env var
  instead of only skipping in CI, and replace t.Errorf+t.Failed with t.Fatalf
- Remove continue-on-error from golangci-lint CI step so linting is now required
2026-02-14 01:52:27 -06:00
loganandonion-4-dinner f521045540 chore(deps): update go dependencies (non-major) (#40)
* chore(deps): update go dependencies (non-major)

* fix: regenerate code and add postUpgradeTasks for Renovate

Regenerate templ and sqlc output to match bumped tool versions.
Configure Renovate postUpgradeTasks to run 'go generate ./...' after
Go dependency updates, preventing stale generated files in future PRs.

---------

Co-authored-by: onion-4-dinner <15676555+onion-4-dinner@users.noreply.github.com>
2026-02-14 01:17:59 -06:00
logan 672fe24ee9 fix: use path.Join for embed.FS paths to fix Windows build
filepath.Join uses OS-specific separators (backslash on Windows), but
embed.FS always uses forward slashes. This caused schema file lookups
to fail during Wails binding generation on Windows.
2026-02-13 23:16:57 -06:00
logan 5a958db162 fix: allow library to initialize without config and fix lefthook lint flag
- Default to empty Config in NewLibrary when nil is passed, so Wails
  binding generation succeeds without a config file on disk.
- Fix golangci-lint v2 flag in lefthook (--build-tags, not -tags).
- Run golangci-lint on full project instead of individual staged files.
2026-02-13 22:50:51 -06:00
logan 7317e093a7 fix(ci): fix golangci-lint version, skip player test in CI, remove standalone frontend build
- Use specific golangci-lint version (v2.5.0) instead of 'v2' which
  the action cannot parse
- Use --build-tags flag (v2 syntax) instead of -tags
- Skip player test in CI: requires Wails runtime context and audio
  device which are unavailable in GitHub Actions
- Remove standalone 'pnpm build' from frontend job since Vite cannot
  resolve Wails path aliases alone; the build-check job validates the
  full build via Wails
2026-02-13 22:18:25 -06:00
logan d78c0584e2 Squash merge audio-player-component into main 2026-02-13 20:39:23 -06:00
logan b24e734ae3 Database basic CRUD (#27)
* started schema

* db schemas beginning

* first db schema gen

* added sqlc generation with go generate and sqlite driver

* i think these dependencies are needed

* added IF NOT EXISTS to create and CRUD for each table

* fixed missing columns

* added missing field

* fixed code generation with sqlc
2025-04-16 13:45:44 -05:00
yonlu c5d2ace3d5 Merge branch 'dev' of github.com:LJ-Software/yellowjacket into dev 2025-04-13 12:24:31 -04:00
logan 4e374fab54 added db pkg and sqlc config 2025-04-10 18:11:08 -05:00
yonlu be2fad3190 slowly adding seek bar, now it can increment over time. 2025-04-10 19:08:57 -04:00
yonlu f896587663 Merge branch 'player' into dev 2025-04-09 19:03:59 -04:00
yonlu 42d5eb94ff audio player basics complete 2025-04-09 14:03:33 -04:00
Logan Jones c46c631fb0 library picker lit element w reactive properties 2025-04-08 18:18:00 -05:00
Logan Jones d1857c4419 fixed config file path for macos 2025-03-31 11:27:56 -05:00
yonlu 4902093b0c fixed player test relative file paths 2025-03-28 17:08:05 -04:00
yonlu e3d9fcec6f fixed volume silent check 2025-03-28 15:27:24 -04:00
yonlu 653842117f minor player refactor/ delete wails logo image 2025-03-28 15:23:27 -04:00
yonlu 2ca2b50e83 got bulk of player api 2025-03-26 19:56:07 -04:00
yonlu d47301dbaf wip player 2025-03-26 14:38:58 -04:00
yonlu 53c6bce3dd fixed newplayer func 2025-03-25 14:55:03 -04:00
yonlu 20f739be89 added player stuff 2025-03-25 14:40:49 -04:00
yonlu 5ac30d6809 current state of player 2025-03-24 18:20:00 -04:00
logan 3268fd7bf7 config validation improvement 2025-03-24 15:32:38 -05:00
logan 1458f99c3d removed app, reorganized logic into modules 2025-03-24 15:09:27 -05:00
yonlu fe177ef788 starting audio player 2025-03-22 19:40:11 -04:00
logan e3f47c602f logging, config file managment, writing library dir 2025-03-22 16:33:04 -05:00
logan 2e8f15d91b added config 2025-03-19 23:37:23 -05:00