refactor(artist): co-locate artist feature into features/artist

This commit is contained in:
Psychotoxical
2026-06-30 01:27:01 +02:00
parent 17ea96dcdb
commit 9ffc42688c
103 changed files with 301 additions and 254 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { CoverArtImage } from '@/cover/CoverArtImage';
import type { CoverArtRef } from '@/cover/types';
import type { ArtistStats, TrackStats } from '@/music-network';
import type { SubsonicOpenArtistRef } from '@/api/subsonicTypes';
import { OpenArtistRefInline } from '@/components/OpenArtistRefInline';
import { OpenArtistRefInline } from '@/features/artist';
import { formatTrackTime } from '@/utils/format/formatDuration';
import { useEnrichmentPrimaryLabel } from '@/hooks/useEnrichmentPrimaryLabel';
import { useEnrichmentPrimaryIcon } from '@/hooks/useEnrichmentPrimaryIcon';
@@ -1,5 +1,5 @@
import { getSongForServer } from '@/api/subsonicLibrary';
import { getArtistInfoForServer } from '@/api/subsonicArtists';
import { getArtistInfoForServer } from '@/features/artist';
import type { SubsonicArtistInfo, SubsonicSong } from '@/api/subsonicTypes';
import React, { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';