-
-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update performer gender filter in identify dialog
Fixes #4096 Deprecate `includeMalePerformers` field in favor of `performerGenders` field in the GraphQL schema and update the UI to support gender selection. * **GraphQL Schema Changes:** - Add `performerGenders: [GenderEnum!]` field to `IdentifyMetadataOptionsInput` type. - Deprecate `includeMalePerformers` field in `IdentifyMetadataOptionsInput` type. - Add `performerGenders` field to `SceneFilterType` and `PerformerFilterType` inputs. * **API Changes:** - Update `FindPerformers` method in `resolver_query_find_performer.go` to filter performers based on `performerGenders` field. - Update `FindScenes` method in `resolver_query_find_scene.go` to filter scenes based on `performerGenders` field. - Update `getOptions` and `getSceneUpdater` methods in `identify.go` to handle `performerGenders` field. * **UI Changes:** - Update `getDefaultOptions` and `makeIdentifyInput` functions in `IdentifyDialog.tsx` to include `performerGenders` field. - Add new input for selecting performer genders in `Options.tsx` using `MultiSelectDropdown` component. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/stashapp/stash/issues/4096?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
7 changed files
with
72 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters