docs(11-02): complete frontend scan UI plan

- SUMMARY.md documents per-library progress display and queue-aware cancel dialog
- STATE.md updated: plan 2/3, session continuity, new decisions
- ROADMAP.md updated: phase 11 progress 2/3
- REQUIREMENTS.md: LSCAN-03 marked complete
This commit is contained in:
2026-03-09 16:13:45 -04:00
parent d61f122b56
commit 1aaf53630d
7 changed files with 177 additions and 106 deletions
+11
View File
@@ -263,5 +263,16 @@ func (yj *YellowJacketApp) OnDomReady(ctx context.Context) {
if yj.startupErr != nil {
yj.logger.Error("startup error", "err", yj.startupErr.Error())
wailsruntime.Quit(ctx)
return
}
// Auto-scan all libraries on launch. Runs in a goroutine so
// it does not block the DOM-ready callback. Uses the same
// ScanAllLibraries codepath as the UI button.
go func() {
if err := yj.library.ScanAllLibraries(); err != nil {
yj.logger.Error("auto-scan failed", "err", err)
}
}()
}