refactor(features): rename GetFonts to FilterAndSortFonts
The feature does not fetch fonts — that lives in \$entities/Font's fontStore. It owns the user's filter selections, sort preference, and search-by-name query that drive the listing. The new name describes what it actually does. Directory + every \$features/GetFonts import path updated; no symbol renames in this commit.
This commit is contained in:
+3
-3
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* import { availableFilterStore } from '$features/GetFonts';
|
||||
* import { availableFilterStore } from '$features/FilterAndSortFonts';
|
||||
*
|
||||
* // Access filters (reactive)
|
||||
* $: filters = availableFilterStore.filters;
|
||||
@@ -15,8 +15,8 @@
|
||||
* ```
|
||||
*/
|
||||
|
||||
import { fetchProxyFilters } from '$features/GetFonts/api/filters/filters';
|
||||
import type { FilterMetadata } from '$features/GetFonts/api/filters/filters';
|
||||
import { fetchProxyFilters } from '$features/FilterAndSortFonts/api/filters/filters';
|
||||
import type { FilterMetadata } from '$features/FilterAndSortFonts/api/filters/filters';
|
||||
import { queryClient } from '$shared/api/queryClient';
|
||||
import {
|
||||
type QueryKey,
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
appliedFilterStore,
|
||||
availableFilterStore,
|
||||
} from '$features/GetFonts';
|
||||
} from '$features/FilterAndSortFonts';
|
||||
import {
|
||||
render,
|
||||
screen,
|
||||
@@ -1,11 +1,11 @@
|
||||
<!--
|
||||
Component: Search
|
||||
Typeface search input for the comparison view.
|
||||
Writes through appliedFilterStore; the global bridge in $features/GetFonts
|
||||
Writes through appliedFilterStore; the global bridge in $features/FilterAndSortFonts
|
||||
propagates the value into fontStore.
|
||||
-->
|
||||
<script lang="ts">
|
||||
import { appliedFilterStore } from '$features/GetFonts';
|
||||
import { appliedFilterStore } from '$features/FilterAndSortFonts';
|
||||
import { SearchBar } from '$shared/ui';
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { appliedFilterStore } from '$features/GetFonts';
|
||||
import { appliedFilterStore } from '$features/FilterAndSortFonts';
|
||||
import {
|
||||
render,
|
||||
screen,
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
FilterControls,
|
||||
Filters,
|
||||
appliedFilterStore,
|
||||
} from '$features/GetFonts';
|
||||
} from '$features/FilterAndSortFonts';
|
||||
import { springySlideFade } from '$shared/lib';
|
||||
import {
|
||||
Button,
|
||||
|
||||
Reference in New Issue
Block a user