Remove legacy issues shell code
- Delete the static issues page renderer and detail modal helpers - Keep the React issues route as the only implementation - Drop the dead mobile CSS and troubleshooter hook that only targeted the removed shell
This commit is contained in:
parent
ad590fb3db
commit
48aec3f6f3
5 changed files with 11 additions and 2368 deletions
|
|
@ -4536,17 +4536,6 @@ const TROUBLESHOOT_RULES = [
|
||||||
'Consider switching to iTunes temporarily to continue working'
|
'Consider switching to iTunes temporarily to continue working'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
selector: '.issue-card.status-open, .issues-stat-open',
|
|
||||||
title: 'Open Issues in Library',
|
|
||||||
steps: [
|
|
||||||
'Open issues have been reported for tracks in your library',
|
|
||||||
'Go to the Issues page to review and resolve them',
|
|
||||||
'Common issues: wrong track downloaded, bad metadata, low audio quality',
|
|
||||||
'Each issue has fix suggestions and action buttons'
|
|
||||||
],
|
|
||||||
action: { label: 'View Issues', fn: () => navigateToPage('issues') }
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
function activateTroubleshootMode() {
|
function activateTroubleshootMode() {
|
||||||
|
|
|
||||||
|
|
@ -2198,9 +2198,6 @@ function initApp() {
|
||||||
// Start always-on download polling (batched, minimal overhead)
|
// Start always-on download polling (batched, minimal overhead)
|
||||||
startGlobalDownloadPolling();
|
startGlobalDownloadPolling();
|
||||||
|
|
||||||
// Load issues badge count
|
|
||||||
loadIssuesBadge();
|
|
||||||
|
|
||||||
// Load initial data
|
// Load initial data
|
||||||
loadInitialData();
|
loadInitialData();
|
||||||
|
|
||||||
|
|
@ -2499,9 +2496,6 @@ async function loadPageData(pageId) {
|
||||||
case 'automations':
|
case 'automations':
|
||||||
await loadAutomations();
|
await loadAutomations();
|
||||||
break;
|
break;
|
||||||
case 'issues':
|
|
||||||
await loadIssuesPage();
|
|
||||||
break;
|
|
||||||
case 'help':
|
case 'help':
|
||||||
initializeDocsPage();
|
initializeDocsPage();
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -3264,42 +3264,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ======================================
|
|
||||||
ISSUES PAGE — Mobile (supplement)
|
|
||||||
====================================== */
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
.issues-header-right {
|
|
||||||
width: 100%;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.issues-filter-select {
|
|
||||||
flex: 1;
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.issues-stats {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.issues-stat-card {
|
|
||||||
min-width: 0;
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.issues-stat-value {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.issue-card-right {
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 6px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ======================================
|
/* ======================================
|
||||||
HELP / DOCS PAGE — Mobile
|
HELP / DOCS PAGE — Mobile
|
||||||
====================================== */
|
====================================== */
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue