Files
SubMiner/backlog/tasks/task-263.2 - Keep-Yomitan-popup-responsive-during-background-add-and-pause-close-before-Kiku-modal.md

1.7 KiB
Raw Blame History

id, title, status, assignee, created_date, updated_date, labels, dependencies, parent_task_id, priority
id title status assignee created_date updated_date labels dependencies parent_task_id priority
TASK-263.2 Keep Yomitan popup responsive during background add and pause/close before Kiku modal Done
2026-04-01 00:42 2026-04-01 02:35
anki
yomitan
kiku
ux
TASK-263 high

Description

Make Yomitan popup add run in background without blocking popup responsiveness. Before opening Kiku field-grouping modal, pause MPV and close the Yomitan popup/parser window if open.

Definition of Done

  • #1 Popup save path returns immediately and prevents duplicate submits
  • #2 Field-grouping modal request pauses MPV and closes Yomitan popup window first
  • #3 Regression tests cover async save dispatch and main-side pause/close hook

Implementation Notes

2026-03-31: Removed the custom pending label/gray save-button presentation from vendored Yomitan. Background add still runs asynchronously with the internal pending-save guard, so duplicate clicks are ignored while the button keeps its stock appearance.

Final Summary

Yomitan popup save dispatches note creation/add in the background with an internal pending-save guard so repeated clicks are ignored without blocking the popup. Before opening the Kiku field-grouping modal, the renderer now closes the visible lookup popup and pauses MPV. Follow-up UX polish removed the custom pending label/gray styling so the save button keeps Yomitans stock presentation while the background action runs.