mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Add external links display option for performer thumbnails (#6153)
* Add external links display option for performer thumbnails - Introduced a new setting to show links on performer thumbnails. - Updated PerformerCard to conditionally render social media links (Twitter, Instagram) and other external links. - Enhanced ExternalLinksButton to open single links directly if specified. - Updated configuration and localization files to support the new feature.
This commit is contained in:
@@ -470,6 +470,7 @@ export const SettingsInterfacePanel: React.FC = PatchComponent(
|
||||
onChange={(v) => saveUI({ showChildTagContent: v })}
|
||||
/>
|
||||
</SettingSection>
|
||||
|
||||
<SettingSection headingID="config.ui.studio_panel.heading">
|
||||
<BooleanSetting
|
||||
id="show-child-studio-content"
|
||||
@@ -480,6 +481,15 @@ export const SettingsInterfacePanel: React.FC = PatchComponent(
|
||||
/>
|
||||
</SettingSection>
|
||||
|
||||
<SettingSection headingID="config.ui.performer_list.heading">
|
||||
<BooleanSetting
|
||||
id="show-links-on-grid-card"
|
||||
headingID="config.ui.performer_list.options.show_links_on_grid_card.heading"
|
||||
checked={ui.showLinksOnPerformerCard ?? undefined}
|
||||
onChange={(v) => saveUI({ showLinksOnPerformerCard: v })}
|
||||
/>
|
||||
</SettingSection>
|
||||
|
||||
<SettingSection headingID="config.ui.image_wall.heading">
|
||||
<NumberSetting
|
||||
headingID="config.ui.image_wall.margin"
|
||||
|
||||
Reference in New Issue
Block a user