fix(phase3): context navigation and autoplay persistence

- Fixed context navigation using correct property names (.type, .id)
- Simplified autoplay setting from radio buttons to toggle switch
- Fixed tooltip using native title attribute (like QualityBadge)
- Removed custom tooltip CSS and hover state
- Updated translations (en/es) for clearer autoplay behavior description

cp
This commit is contained in:
vicrodh committed 2026-01-18 04:53:43 -06:00
1 parent 315bdce79c
commit 12067d7a61
5 files changed
+17 -112

No files matched your search

+1 -22
View File
@@ -1483,28 +1483,7 @@
<span class="setting-label">{$t('settings.playback.autoplayBehavior')}</span>
<span class="setting-desc">{$t('settings.playback.autoplayBehaviorDesc')}</span>
</div>
<div class="radio-group">
<label class="radio-option">
<input
type="radio"
name="autoplay-mode"
value="continue"
checked={autoplayMode === 'continue'}
onchange={() => handleAutoplayModeChange('continue')}
/>
<span>{$t('settings.playback.continueWithinSource')}</span>
</label>
<label class="radio-option">
<input
type="radio"
name="autoplay-mode"
value="track_only"
checked={autoplayMode === 'track_only'}
onchange={() => handleAutoplayModeChange('track_only')}
/>
<span>{$t('settings.playback.playOnlySelectedTrack')}</span>
</label>
</div>
<Toggle enabled={autoplayMode === 'continue'} onchange={(enabled) => handleAutoplayModeChange(enabled ? 'continue' : 'track_only')} />
</div>
<div class="setting-row">
<div class="label-with-tooltip">