Commit Graph

98 Commits

Author SHA1 Message Date
Kendall Garner 49c0ab45f6 restore lint ignore 2026-06-09 21:02:14 -07:00
Kendall Garner 8b913595da revert that comment change that I somehow made 2026-06-09 20:56:30 -07:00
Kendall Garner 7dd6d32710 downgrade tanstack, fix msot types and exclude recursive 2026-06-07 06:48:56 -07:00
Kendall Garner 515cadb916 Better cross platform font handling (#2104)
* fix: better handling of custom font

Practically speaking, custom font seems to have only worked on Linux, because
`net.fetch` would include the mime type in the response headers which could validate the payload.
This doesn't appear to be the case on windows/macOS. Instead:

1. On Linux (or if some other system supports it), check the content type. If good, serve as normal
2. Otherwise, fetch the payload. Read the first four to five bytes and check for a valid magic number.

Additionally, to prevent arbitrary requests fetching other paths via injected content, sync the custom font path
to the main process, and then make _every_ request to `feishin:/` point to the same renderer path.
When setting the font, first send the path to the main process. This will register `feishin:/` to point
to the path provided. This is done via a promise-based set.

Finally, provide a default value for the file input (a best effort approximation for the last part of the file path)
on the file input component.

* make the linter happy
2026-06-02 19:34:16 +00:00
jeffvli e206136156 add physical key mapping for useHotkeys to support alt keyboard languages (#2051) 2026-05-26 21:55:08 -07:00
jeffvli c8675ab600 prevent item drop on smart playlists 2026-05-19 01:30:27 -07:00
jeffvli e7b65c8e86 add drag over expand/collapse behavior for playlist folders 2026-05-18 19:15:28 -07:00
Jeff e2a1d813a9 Use proper casing for i18n locales (#1998) 2026-05-11 19:42:07 -07:00
jeffvli f5eb3f1488 wrap useHotkeys to disable on command palette open (#1925) 2026-04-28 19:31:41 -07:00
York d60ed0a793 feat: macOS menu enhancement (#1903) 2026-04-04 17:35:30 -07:00
jeffvli 51425b5e86 various performance refactors 2026-04-01 21:57:26 -07:00
jeffvli cf663de2fc add handlers and setting for nightly release 2026-02-05 23:45:32 -08:00
jeffvli a63763bfe8 use dev path for local settings store 2026-01-18 18:53:21 -08:00
jeffvli a66c67e86d optimize settings store 2026-01-03 01:01:54 -08:00
jeffvli 22c0f8f8c6 add manual garbage collection 2026-01-01 12:21:20 -08:00
jeffvli 8ba87d57cd fix default lyrics fetchers 2025-12-28 20:05:37 -08:00
jeffvli 710fc16f62 adjust artist album grid span 2025-12-27 16:22:02 -08:00
jeffvli 796e511626 redesign artist page (#416) (#447) 2025-12-26 21:13:04 -08:00
jeffvli c3e38d7133 fix drag preview image url generation 2025-12-23 20:53:07 -08:00
Fleeym 833f82edff improve network error detection (#1436) 2025-12-22 20:15:06 -08:00
jeffvli c9cd87bae5 remove release_channel from settings sync 2025-12-15 23:17:47 -08:00
jeffvli 9a8cb45510 Revert "prevent autoupdater from setting release channel (#1396)"
This reverts commit 614761efd7.
2025-12-15 23:06:25 -08:00
jeffvli 614761efd7 prevent autoupdater from setting release channel (#1396) 2025-12-15 18:12:16 -08:00
jeffvli 154f0180e1 fix potential infinite updater loop due to stale settings sync state 2025-12-15 11:27:17 -08:00
jeffvli 08a8f7f500 add utility to wait for detail bg color before page render 2025-12-14 16:35:38 -08:00
jeffvli 09dfc1ff1d adjust network request waterfall to force authentication first, add fallback for no network (#1028) 2025-12-14 16:00:05 -08:00
jeffvli 303eba87ca add a hook to sync main settings with renderer 2025-12-14 15:13:57 -08:00
jeffvli 1bcc23862c fix authentication query for Subsonic/ND 2025-12-12 11:10:29 -08:00
jeffvli c82762a3fc check authentication for all servers on initialization and update permission roles 2025-12-07 18:28:12 -08:00
jeffvli 0a7029f7bc add support for full playlist re-order (#1327) 2025-12-06 17:41:13 -08:00
jeffvli 917bf91583 add folder browsing support (#315) 2025-12-03 14:55:16 -08:00
jeffvli 1c65ca4a5a add drag preview 2025-11-29 19:33:40 -08:00
jeffvli 60cdea6787 large performance refactor 2025-11-29 19:33:39 -08:00
jeffvli 948f428546 attempt to prevent thread blocking from fac 2025-11-29 19:33:39 -08:00
jeffvli d3132ad570 reimplement genre detail route 2025-11-29 19:33:38 -08:00
jeffvli 41a394367b add ignored colors to both hook and function 2025-11-29 19:33:36 -08:00
jeffvli 3212a35efb add LibraryContainer for max-width and background overlay 2025-11-29 19:33:36 -08:00
jeffvli c763824803 add basic mobile responsive layout 2025-11-29 19:33:35 -08:00
jeffvli 92d4681a23 fix unauthenticated flow 2025-11-29 19:33:34 -08:00
jeffvli c77ba121a6 optimize various components 2025-11-29 19:33:34 -08:00
jeffvli e3402a1e44 bundle size optimizations 2025-11-29 19:33:33 -08:00
jeffvli f3bb4187d7 wrap all instances of mantine hooks used in renderer 2025-11-29 19:33:33 -08:00
jeffvli 0de8035ca9 remove ag-grid 2025-11-29 19:32:25 -08:00
jeffvli 2fc14ecd0e add new grid carousels 2025-11-29 19:32:25 -08:00
jeffvli 489daa6353 add drag/drop from lists into queue 2025-11-29 19:32:14 -08:00
jeffvli ad409fecfa add drag state to item grid 2025-11-29 19:32:14 -08:00
jeffvli 69d16edfc1 add loading state to fastaveragecolor hook 2025-11-29 19:30:48 -08:00
jeffvli 77bd483ce4 add 2xl, 3xl to container query hook 2025-11-29 19:30:48 -08:00
jeffvli 7c50ee814d return isDark, isLight from color 2025-11-29 19:30:48 -08:00
jeffvli 7ac8f349a5 fix item grid refresh error 2025-11-03 21:47:57 -08:00