feat: Minstrel stops acquiring music and drops Discover
release / go (push) Successful in 1m54s
release / web (push) Failing after 5s
release / integration (push) Failing after 3m44s
release / govulncheck (push) Successful in 20s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 19s
release / android (push) Canceled after 2m37s
release / go (push) Successful in 1m54s
release / web (push) Failing after 5s
release / integration (push) Failing after 3m44s
release / govulncheck (push) Successful in 20s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 19s
release / android (push) Canceled after 2m37s
Minstrel is now a viewer of the library it is pointed at. Finding, downloading and filing music moves out of it. Removed from the server: - the request flow (requests, approval, auto-approve) and the wanted list, follows, release profiles and release blocks; - searching indexers, the download clients, the importer, the album lifecycle and missing-file re-acquisition; - the catalogue's discography, search and art (the MusicBrainz release and track-list cache stays, for the duplicate resolver); - Discover: its suggestions of artists not in the library, snoozes, the candidate-artist tag enrichment and its tuning scope; - writes to acquisition tables from moving the library folder and from merging duplicates, the want-list join on Suspect sources, the sealing of acquisition credentials, and the release-group lookup only re-acquisition used. Settling a wrong-slot duplicate no longer sets the release aside: the copies go and their slots show as missing until a good copy is in the library. Removed from the web: Admin > Acquisition and Requests, /requests, /discover, Follow on the artist page, the auto-approve toggle, and the Collection's wanted-list tabs. The Collection is now the library's health: an overview, Reports, Duplicates, Suspect sources and Missing files. The README and docs no longer describe getting music. The tables stay for now; a later migration drops them. The request notification kinds and the Android screens are still to go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -53,11 +53,11 @@ describe('Shell', () => {
|
||||
expect(screen.getByText('alice')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('main nav renders the three primary surfaces in order', () => {
|
||||
test('main nav renders the primary surfaces in order', () => {
|
||||
render(Shell);
|
||||
// Library is a parent for Artists / Albums / Liked / History /
|
||||
// Playlists (tabs under /library); only the parent appears here.
|
||||
const labels = ['Home', 'Library', 'Discover'];
|
||||
const labels = ['Home', 'Library'];
|
||||
for (const label of labels) {
|
||||
expect(screen.getByRole('link', { name: label })).toBeInTheDocument();
|
||||
}
|
||||
@@ -65,10 +65,9 @@ describe('Shell', () => {
|
||||
// Library jumps to the Artists tab directly so SPA navigation
|
||||
// bypasses the /library 308-redirect.
|
||||
expect(screen.getByRole('link', { name: 'Library' })).toHaveAttribute('href', '/library/artists');
|
||||
expect(screen.getByRole('link', { name: 'Discover' })).toHaveAttribute('href', '/discover');
|
||||
});
|
||||
|
||||
test('admins get Collection after Discover; others do not', () => {
|
||||
test('admins get Collection after Library; others do not', () => {
|
||||
const primary = () =>
|
||||
screen
|
||||
.getAllByRole('link')
|
||||
@@ -79,7 +78,7 @@ describe('Shell', () => {
|
||||
unmount();
|
||||
userState.current = { id: '1', username: 'alice', is_admin: true };
|
||||
render(Shell);
|
||||
expect(primary()).toEqual(['Home', 'Library', 'Discover', 'Collection']);
|
||||
expect(primary()).toEqual(['Home', 'Library', 'Collection']);
|
||||
expect(screen.getByRole('link', { name: 'Collection' })).toHaveAttribute('href', '/collection');
|
||||
});
|
||||
|
||||
@@ -97,7 +96,7 @@ describe('Shell', () => {
|
||||
.map((el) => el.textContent?.trim());
|
||||
for (const label of [
|
||||
'Artists', 'Albums', 'Liked', 'History', 'Playlists',
|
||||
'Search', 'Requests', 'Hidden', 'Settings', 'Admin'
|
||||
'Search', 'Hidden', 'Settings', 'Admin'
|
||||
]) {
|
||||
expect(navLinks).not.toContain(label);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user