mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Heatmap and speed sorting/filtering for interactive scenes [rewrite] (#2096)
* add InteractiveSpeed to scene model * add InteractiveHeatmapSpeedGenerator * add GenerateInteractiveHeatmapSpeedTask * add InteractiveHeatmapSpeedTask to GenerateJob * add InteractiveHeatmap on sceneRoutes * delete heatmap when scene is destroyed * render interactive heatmap in GridCard * render InteractiveSpeed on SceneCard * render InteractiveSpeed in SceneFileInfoPanel * InteractiveSpeed filters
This commit is contained in:
@@ -268,6 +268,21 @@ export const GenerateOptions: React.FC<IGenerateOptions> = ({
|
||||
/>
|
||||
</Form.Group>
|
||||
|
||||
<Form.Group>
|
||||
<Form.Check
|
||||
id="interactive-heatmap-speed-task"
|
||||
checked={options.interactiveHeatmapsSpeeds ?? false}
|
||||
label={intl.formatMessage({
|
||||
id: "dialogs.scene_gen.interactive_heatmap_speed",
|
||||
})}
|
||||
onChange={() =>
|
||||
setOptions({
|
||||
interactiveHeatmapsSpeeds: !options.interactiveHeatmapsSpeeds,
|
||||
})
|
||||
}
|
||||
/>
|
||||
</Form.Group>
|
||||
|
||||
<hr />
|
||||
<Form.Group>
|
||||
<Form.Check
|
||||
|
||||
Reference in New Issue
Block a user