From 92077c91179214d1bae889e039722b3afbc1c1fa Mon Sep 17 00:00:00 2001
From: JohnBaumb <80135794+JohnBaumb@users.noreply.github.com>
Date: Thu, 23 Apr 2026 11:35:45 -0700
Subject: [PATCH] fix: add tooltip to source dot in batch history
---
webui/static/pages-extra.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/webui/static/pages-extra.js b/webui/static/pages-extra.js
index d9a0a87b..c132875f 100644
--- a/webui/static/pages-extra.js
+++ b/webui/static/pages-extra.js
@@ -2876,8 +2876,10 @@ function _adlRenderBatchHistory() {
youtube: '255, 0, 0', tidal: '0, 255, 255', deezer: '162, 73, 255',
beatport: '148, 252, 19', listenbrainz: '255, 134, 0'
};
- const dotColor = sourceColors[h.source] || sourceColors[h.source_page] || '255, 255, 255';
- const histDot = ``;
+ const dotSource = h.source || h.source_page || '';
+ const dotColor = sourceColors[dotSource] || '255, 255, 255';
+ const dotTip = dotSource ? `Source: ${dotSource}` : 'Unknown source';
+ const histDot = ``;
// Optional thumbnail
const thumb = h.thumb_url