feat(TagEditor): add spinner to Save button during file writes

- Show spinner-inline animation on Save button while saving
- Different text: "Writing tags..." for direct mode, "Saving..." for sidecar
- Provides visual feedback during potentially slow file operations
This commit is contained in:
vicrodh committed 2026-01-26 20:41:30 -06:00
1 parent 186a249c45
commit f1ff7d4698
1 file changed
+6 -1
@@ -569,7 +569,12 @@
<div class="footer-actions">
<button class="btn btn-secondary" onclick={onClose} disabled={saving}>Cancel</button>
<button class="btn btn-primary" onclick={handleSave} disabled={saving}>
{saving ? 'Saving...' : 'Save'}
{#if saving}
<span class="spinner-inline"></span>
{persistence === 'direct' ? 'Writing tags...' : 'Saving...'}
{:else}
Save
{/if}
</button>
</div>
</div>