Add retry extraction context menu, increase error text limit
- Right-click packages with extraction errors shows "Extraktion wiederholen" option to manually retry - Increase WinRAR error text from 240 to 500 chars for better diagnostics in logs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
ecf56cb977
commit
a22a90adf3
@@ -2565,6 +2565,14 @@ export function App(): ReactElement {
|
||||
else { executeDeleteSelection(ids); }
|
||||
}}>Ausgewählte entfernen ({[...selectedIds].filter((id) => snapshot.session.items[id]).length})</button>
|
||||
)}
|
||||
{hasPackages && !multi && (() => {
|
||||
const pkg = snapshot.session.packages[contextMenu.packageId];
|
||||
const items = pkg?.itemIds.map((id) => snapshot.session.items[id]).filter(Boolean) || [];
|
||||
const hasExtractError = items.some((item) => item && /^Entpack-Fehler/i.test(item.fullStatus));
|
||||
return hasExtractError ? (
|
||||
<button className="ctx-menu-item" onClick={() => { void window.rd.retryExtraction(contextMenu.packageId); setContextMenu(null); }}>Extraktion wiederholen</button>
|
||||
) : null;
|
||||
})()}
|
||||
{hasPackages && (
|
||||
<button className="ctx-menu-item ctx-danger" onClick={() => {
|
||||
setContextMenu(null);
|
||||
|
||||
Reference in New Issue
Block a user