10000 feat(server): custom ArtistJoiner config by deluan · Pull Request #3873 · navidrome/navidrome · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(server): custom ArtistJoiner config #3873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 23, 2025
Merged

Conversation

deluan
Copy link
Member
@deluan deluan commented Mar 23, 2025

This pull request introduces changes to enhance the handling of artist and remixer metadata, improve the configuration options, and add comprehensive testing for the ArtistLinkField component. The most important changes include adding a new configuration option for the artist joiner, updating the metadata mapping to use this new configuration, and refactoring the ArtistLinkField component to handle artists and remixers more effectively.

Configuration Enhancements:

  • conf/configuration.go: Added a new configuration option Scanner.ArtistJoiner, default value is " • ".

Metadata Mapping Updates:

UI Component Refactoring:

  • ui/src/common/ArtistLinkField.jsx: Refactored the ArtistLinkField component to improve handling of artists and remixers, including deduplication and limiting the number of remixers displayed. [1] [2]

Testing Enhancements:

  • ui/src/common/ArtistLinkField.test.jsx: Added comprehensive tests for the ArtistLinkField component to cover various scenarios, including rendering artists, handling remixers, deduplication, and limiting displayed artists.

deluan added 4 commits March 22, 2025 21:06
Signed-off-by: Deluan <deluan@navidrome.org>
Signed-off-by: Deluan <deluan@navidrome.org>
Signed-off-by: Deluan <deluan@navidrome.org>
@deluan deluan merged commit 57e0f6d into master Mar 23, 2025
34 checks passed
@deluan deluan deleted the custom-artist-joiner-2 branch March 23, 2025 14:53
mintsoft pushed a commit to mintsoft/navidrome that referenced this pull request Mar 23, 2025
* feat(server): custom ArtistJoiner config

Signed-off-by: Deluan <deluan@navidrome.org>

* refactor(ui): organize ArtistLinkField, add tests

Signed-off-by: Deluan <deluan@navidrome.org>

* feat(ui): use display artist

* feat(ui): use display artist

Signed-off-by: Deluan <deluan@navidrome.org>

---------

Signed-off-by: Deluan <deluan@navidrome.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0