From 84e3f3706bb7c2374f8cd423a142a4a30f5273a9 Mon Sep 17 00:00:00 2001 From: nawaji Date: Mon, 11 Dec 2023 16:05:29 -0800 Subject: [PATCH 1/3] Tooltips for icons in tracks selection menu Adds mouseover tooltips for the icons in the track selection menu that were missing them (i.e the 'edit file metadata' pencil icon). --- src/StreamsSelector.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/StreamsSelector.jsx b/src/StreamsSelector.jsx index b7ac8f61..37e3fce3 100644 --- a/src/StreamsSelector.jsx +++ b/src/StreamsSelector.jsx @@ -210,7 +210,7 @@ const Stream = memo(({ filePath, stream, onToggle, batchSetCopyStreamIds, copySt - onInfoClick(stream, t('Track {{num}} info', { num: stream.index + 1 }))} appearance="minimal" iconSize={18} /> + onInfoClick(stream, t('Track {{trackNum}} info', { trackNum: stream.index + 1 }))} appearance="minimal" iconSize={18} /> - onInfoClick(formatData, t('File info'))} appearance="minimal" iconSize={18} /> + onInfoClick(formatData, t('File info'))} appearance="minimal" iconSize={18} /> {chapters && chapters.length > 0 && onInfoClick(chapters, t('Chapters'))} appearance="minimal" iconSize={18} />} - {onEditClick && } + {onEditClick && } {onTrashClick && } - setCopyAllStreams(true)} appearance="minimal" /> - setCopyAllStreams(false)} appearance="minimal" /> + setCopyAllStreams(true)} appearance="minimal" /> + setCopyAllStreams(false)} appearance="minimal" /> {onExtractAllStreamsPress && } ); From b944c0768e59b970eed1deb40fb7ea9673b295d7 Mon Sep 17 00:00:00 2001 From: nawaji Date: Mon, 11 Dec 2023 17:25:38 -0800 Subject: [PATCH 2/3] Adjusts margin to prevent overlapping elements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Naïve solution to prevent the "Click to select which tracks to keep when exporting" text from overlapping with the button to close the tracks selection menu. --- src/StreamsSelector.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StreamsSelector.jsx b/src/StreamsSelector.jsx index 37e3fce3..a29cbd6b 100644 --- a/src/StreamsSelector.jsx +++ b/src/StreamsSelector.jsx @@ -333,7 +333,7 @@ const StreamsSelector = memo(({ return ( <> -

{t('Click to select which tracks to keep when exporting:')}

+

{t('Click to select which tracks to keep when exporting:')}

{/* We only support editing main file metadata for now */} From b5cdbffc4b750a6a18c0ce87c53f9e455237192a Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Thu, 21 Dec 2023 16:58:12 +0800 Subject: [PATCH 3/3] Update src/StreamsSelector.jsx --- src/StreamsSelector.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StreamsSelector.jsx b/src/StreamsSelector.jsx index a29cbd6b..2384aa59 100644 --- a/src/StreamsSelector.jsx +++ b/src/StreamsSelector.jsx @@ -210,7 +210,7 @@ const Stream = memo(({ filePath, stream, onToggle, batchSetCopyStreamIds, copySt - onInfoClick(stream, t('Track {{trackNum}} info', { trackNum: stream.index + 1 }))} appearance="minimal" iconSize={18} /> + onInfoClick(stream, t('Track {{num}} info', { num: stream.index + 1 }))} appearance="minimal" iconSize={18} />