feat(recipes): show a summary modal after rematch runs

Replace the post-run toast cascade and the standalone L4 results modal
with a summary modal modeled on the batch download summary: 3-state
header, stat cards (matched / needs review / unresolved / errors),
an L4 review table with per-entry undo, and a copyable report. Wired
into the global, bulk and single-recipe rematch entries; complete
no-op runs keep the lightweight toast. Obsolete results-modal code,
styles and i18n keys are removed.
This commit is contained in:
Will Miao
2026-09-09 10:38:10 +08:00
parent 51cad6f852
commit 4963bf2b2e
23 changed files with 997 additions and 583 deletions
@@ -157,22 +157,3 @@
</div>
</div>
</div>
<!-- Recipe Rematch L4 Results Modal -->
<div id="rematchResultsModal" class="modal">
<div class="modal-content">
<div class="modal-header">
<h2>{{ t('modals.rematchResults.title') }}</h2>
<span class="close" onclick="modalManager.closeModal('rematchResultsModal')">&times;</span>
</div>
<div class="modal-body">
<p class="confirmation-message">{{ t('modals.rematchResults.message') }}</p>
<div class="rematch-results-preview">
<ul class="rematch-results-list" id="rematchResultsList"></ul>
</div>
</div>
<div class="modal-actions">
<button class="secondary-btn" onclick="modalManager.closeModal('rematchResultsModal')">{{ t('common.actions.close') }}</button>
</div>
</div>
</div>