mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
feat: add artist radio and track radio (in context menu) (#1437)
* Add API support for artist radio and track radio features * Add translation strings and settings UI for artist radio count --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jeffvli <jeffvictorli@gmail.com>
This commit is contained in:
@@ -229,6 +229,7 @@ export const GeneralSettingsSchema = z.object({
|
||||
artistBackground: z.boolean(),
|
||||
artistBackgroundBlur: z.number(),
|
||||
artistItems: z.array(SortableItemSchema(ArtistItemSchema)),
|
||||
artistRadioCount: z.number(),
|
||||
buttonSize: z.number(),
|
||||
disabledContextMenu: z.record(z.string(), z.boolean()),
|
||||
externalLinks: z.boolean(),
|
||||
@@ -723,6 +724,7 @@ const initialState: SettingsState = {
|
||||
artistBackground: false,
|
||||
artistBackgroundBlur: 3,
|
||||
artistItems,
|
||||
artistRadioCount: 20,
|
||||
buttonSize: 15,
|
||||
disabledContextMenu: {},
|
||||
externalLinks: true,
|
||||
|
||||
Reference in New Issue
Block a user