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:
theqwertyqwert
2025-11-10 02:54:44 +02:00
committed by GitHub
parent d5b1046267
commit 34becdf436
6 changed files with 109 additions and 9 deletions

View File

@@ -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"