mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
UI filter refactor (#1406)
* Refactor Criterion * Separate filter options from filter * Rename utils to factory * Sort sort by options by alphabetical * Refactor criterion options * Simplify list filter options * Refactor i8n * Simplify ILabeledIdCriterion
This commit is contained in:
@@ -11,13 +11,16 @@ import {
|
||||
TruncatedText,
|
||||
} from "src/components/Shared";
|
||||
import { Button, ButtonGroup } from "react-bootstrap";
|
||||
import { Criterion } from "src/models/list-filter/criteria/criterion";
|
||||
import {
|
||||
Criterion,
|
||||
CriterionValue,
|
||||
} from "src/models/list-filter/criteria/criterion";
|
||||
import { PopoverCountButton } from "../Shared/PopoverCountButton";
|
||||
|
||||
export interface IPerformerCardExtraCriteria {
|
||||
scenes: Criterion[];
|
||||
images: Criterion[];
|
||||
galleries: Criterion[];
|
||||
scenes: Criterion<CriterionValue>[];
|
||||
images: Criterion<CriterionValue>[];
|
||||
galleries: Criterion<CriterionValue>[];
|
||||
}
|
||||
|
||||
interface IPerformerCardProps {
|
||||
|
||||
Reference in New Issue
Block a user