Adding InfoPopup for video and archive specia directory forms.

This commit is contained in:
Roland 2026-02-08 10:40:23 -07:00
parent 3cfba32c29
commit 94f13183b1
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -659,7 +659,22 @@ export function SettingsPage() {
<GridRow columns={2}>
<GridColumn>
<Form.Field>
<label>Archive Directory</label>
<label>
Archive Directory
<InfoPopup
wide='very'
content={<>
<p>Variables:</p>
<ul>
<li><code>%(domain)s</code> - Domain name (e.g., "example.com")</li>
<li><code>%(domain_tag)s</code> - Tag name for the domain (empty if no tag)</li>
<li><code>%(tag)s</code> - Alias for the tag name</li>
<li><code>%(name)s</code> - Alias for the domain name</li>
</ul>
</>}
position='top left'
/>
</label>
<Input
label={mediaDirectoryLabel}
value={state.archive_destination}
@ -670,7 +685,23 @@ export function SettingsPage() {
</GridColumn>
<GridColumn>
<Form.Field>
<label>Videos Directory</label>
<label>
Videos Directory
<InfoPopup
wide='very'
content={<>
<p>Variables:</p>
<ul>
<li><code>%(channel_name)s</code> - Channel name</li>
<li><code>%(channel_tag)s</code> - Tag name for the channel (empty if no tag)</li>
<li><code>%(channel_domain)s</code> - Domain from the channel URL</li>
<li><code>%(tag)s</code> - Alias for the tag name</li>
<li><code>%(name)s</code> - Alias for the channel name</li>
</ul>
</>}
position='top left'
/>
</label>
<Input
label={mediaDirectoryLabel}
value={state.videos_destination}