Compare commits
No commits in common. "3a890301a5466376df13b5200739027cf371d6b5" and "f6afdad5baea29a2fe0ad55e53496085c2280f9d" have entirely different histories.
3a890301a5
...
f6afdad5ba
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "multi-hoster-uploader",
|
"name": "multi-hoster-uploader",
|
||||||
"version": "2.5.1",
|
"version": "2.5.0",
|
||||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -957,8 +957,6 @@ function getStatusText(job) {
|
|||||||
// --- Queue interactions ---
|
// --- Queue interactions ---
|
||||||
function handleRowClick(e, row) {
|
function handleRowClick(e, row) {
|
||||||
const jobId = row.dataset.jobId;
|
const jobId = row.dataset.jobId;
|
||||||
// Clear recent panel selection when clicking in queue
|
|
||||||
if (selectedRecentIds.size > 0) { selectedRecentIds.clear(); renderRecentUploadsPanel(); }
|
|
||||||
|
|
||||||
if (e.ctrlKey || e.metaKey) {
|
if (e.ctrlKey || e.metaKey) {
|
||||||
if (selectedJobIds.has(jobId)) selectedJobIds.delete(jobId);
|
if (selectedJobIds.has(jobId)) selectedJobIds.delete(jobId);
|
||||||
@ -1163,8 +1161,8 @@ document.addEventListener('keydown', (e) => {
|
|||||||
if ((e.ctrlKey || e.metaKey) && e.key === 'a') {
|
if ((e.ctrlKey || e.metaKey) && e.key === 'a') {
|
||||||
if (activeView && activeView.id === 'upload-view') {
|
if (activeView && activeView.id === 'upload-view') {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
// Select recent files only if user's last interaction was in the recent panel
|
// If recent files panel is focused / has selection, select all recent files
|
||||||
if (selectedRecentIds.size > 0 && selectedJobIds.size === 0) {
|
if (selectedRecentIds.size > 0 || document.activeElement?.closest('.recent-files-panel')) {
|
||||||
sessionFilesData.forEach(r => selectedRecentIds.add(r.order));
|
sessionFilesData.forEach(r => selectedRecentIds.add(r.order));
|
||||||
renderRecentUploadsPanel();
|
renderRecentUploadsPanel();
|
||||||
} else if (queueJobs.length > 0) {
|
} else if (queueJobs.length > 0) {
|
||||||
@ -2894,8 +2892,6 @@ function renderRecentUploadsPanel() {
|
|||||||
tbody.addEventListener('click', (e) => {
|
tbody.addEventListener('click', (e) => {
|
||||||
const tr = e.target.closest('.recent-file-row');
|
const tr = e.target.closest('.recent-file-row');
|
||||||
if (!tr) return;
|
if (!tr) return;
|
||||||
// Clear queue selection when clicking in recent panel
|
|
||||||
if (selectedJobIds.size > 0) { selectedJobIds.clear(); renderQueueTable(); updateQueueActionButtons(); }
|
|
||||||
const id = parseInt(tr.dataset.order, 10);
|
const id = parseInt(tr.dataset.order, 10);
|
||||||
if (e.ctrlKey || e.metaKey) {
|
if (e.ctrlKey || e.metaKey) {
|
||||||
if (selectedRecentIds.has(id)) selectedRecentIds.delete(id);
|
if (selectedRecentIds.has(id)) selectedRecentIds.delete(id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user