Deluan Quintão
f1e75c40dc
feat(plugins): add JSONForms-based plugin configuration UI ( #4911 )
...
* feat(plugins): add JSONForms schema for plugin configuration
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: enhance error handling by formatting validation errors with field names
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: enforce required fields in config validation and improve error handling
Signed-off-by: Deluan <deluan@navidrome.org >
* format JS code
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: add config schema validation and enhance manifest structure
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: refactor plugin config parsing and add unit tests
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: add config validation error message in Portuguese
* feat: enhance AlwaysExpandedArrayLayout with description support and improve array control testing
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: update Discord Rust plugin configuration to use JSONForm for user tokens and enhance schema validation
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: resolve React Hooks linting issues in plugin UI components
* Apply suggestions from code review
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* format code
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: migrate schema validation to use santhosh-tekuri/jsonschema and improve error formatting
Signed-off-by: Deluan <deluan@navidrome.org >
* address PR comments
Signed-off-by: Deluan <deluan@navidrome.org >
* fix flaky test
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: enhance array layout and configuration handling with AJV defaults
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: implement custom tester to exclude enum arrays from AlwaysExpandedArrayLayout
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: add error boundary for schema rendering and improve error messages
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: refine non-enum array control logic by utilizing JSONForms schema resolution
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: add error styling to ToggleEnabledSwitch for disabled state
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: adjust label positioning and styling in SchemaConfigEditor for improved layout
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: implement outlined input controls renderers to replace custom fragile CSS
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: remove margin from last form control inside array items for better spacing
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: enhance AJV error handling to transform required errors for field-level validation
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: set default value for User Tokens in manifest.json to improve user experience
Signed-off-by: Deluan <deluan@navidrome.org >
* format
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: add margin to outlined input controls for improved spacing
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: remove redundant margin rule for last form control in array items
Signed-off-by: Deluan <deluan@navidrome.org >
* feat: adjust font size of label elements in SchemaConfigEditor for improved readability
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-19 20:51:00 -05:00
Kendall Garner
a28462a7ab
fix(ui): fix make dev ( #3795 )
...
1. For some bizarre reason, importing inflection by itself is undefined. But you can import specific functions
2. Per https://github.com/vite-pwa/vite-plugin-pwa/issues/419 , `type: 'module',` is only for non-chromium browsers
2025-03-10 14:50:16 -04:00
Deluan Quintão
cbf5e3d51b
fix(ui): PWA not updating properly in new Vite config ( #3493 )
...
* fix: pwa not updating. use the custom code we had before
Signed-off-by: Deluan <deluan@navidrome.org >
* fix: docker build
Signed-off-by: Deluan <deluan@navidrome.org >
---------
Signed-off-by: Deluan <deluan@navidrome.org >
2024-11-30 10:33:16 -05:00
jan666
5f6a90e5aa
build: fix build on FreeBSD ( #3403 )
...
- vite: use rollup/wasm-node
- use vitejs/plugin-react instead of plugin-react-swc
2024-10-17 19:26:53 -04:00
Deluan
b7285b28cf
fix(test): vitest was hanging due to vite-plugin-eslint plugin
2024-10-01 17:12:54 -04:00
Deluan Quintão
fcdd30ba8f
build(ui): migrate from CRA/Jest to Vite/Vitest ( #3311 )
...
* feat: create vite project
* feat: it's alive!
* feat: `make dev` working!
* feat: replace custom serviceWorker with vite plugin
* test: replace Jest with Vitest
* fix: run prettier
* fix: skip eslint for now.
* chore: remove ui.old folder
* refactor: replace lodash.pick with simple destructuring
* fix: eslint errors (wip)
* fix: eslint errors (wip)
* fix: display-name eslint errors (wip)
* fix: no-console eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: react-refresh/only-export-components eslint errors (wip)
* fix: build
* fix: pwa manifest
* refactor: pwa manifest
* refactor: simplify PORT configuration
* refactor: rename simple JS files
* test: cover playlistUtils
* fix: react-image-lightbox
* feat(ui): add sourcemaps to help debug issues
2024-09-28 11:54:36 -04:00