WIP: Vendoo 1.44.0 – UX Foundation & Guided Workspaces #29

Draft
Masterluke77 wants to merge 284 commits from release/1.44.0-ux-foundation-production-update-v1 into main
Showing only changes of commit 05f1a7bc3f - Show all commits
+7 -2
View File
@@ -230,6 +230,9 @@
const search = document.getElementById('publish-search');
const platform = document.getElementById('publish-filter-platform');
const status = document.getElementById('publish-filter-status');
const signature = JSON.stringify([search?.value.trim() || '', platform?.value || '', status?.value || '']);
if (container.dataset.filterSignature === signature) return;
container.dataset.filterSignature = signature;
const chips = [];
if (search?.value.trim()) chips.push(createFilterChip(`Suche: ${search.value.trim()}`, search));
if (platform?.value) chips.push(createFilterChip(`Plattform: ${selectedOptionText(platform)}`, platform));
@@ -271,7 +274,8 @@
const more = section.querySelector('.ux-publish-batch-more');
if (!count && more) more.open = false;
const headingAction = document.getElementById('publish-add-selected-ebay');
if (headingAction) headingAction.hidden = count === 0;
const shouldHide = count === 0;
if (headingAction && headingAction.hidden !== shouldHide) headingAction.hidden = shouldHide;
}
function updateHealth() {
@@ -280,7 +284,8 @@
const processing = Number(document.getElementById('publish-status-processing')?.textContent || 0);
const health = document.getElementById('ux-publish-health');
if (!health) return;
health.className = `ux-publish-health${failed ? ' is-danger' : pending || processing ? ' is-active' : ''}`;
const className = `ux-publish-health${failed ? ' is-danger' : pending || processing ? ' is-active' : ''}`;
if (health.className !== className) health.className = className;
setText(health, failed ? `${failed} Fehler prüfen` : processing ? `${processing} in Bearbeitung` : pending ? `${pending} wartend` : 'Keine offenen Probleme');
}