Commit Graph
4 Commits
Author SHA1 Message Date
Ewald ALOEBOETOE 49bf320631 Fix asset sync for new, moved and deleted files
- Fix assets_fts triggers: the external-content FTS5 table was updated
  with plain UPDATE/DELETE, so every rename or move failed with
  "database disk image is malformed" and the watcher fell back to
  delete + re-index, losing ratings, tags and collections. Use the FTS5
  'delete' command, limit the update trigger to filename/subfolder and
  repair existing databases (plus an FTS rebuild) at startup.
- Wait for the prompt history entry before post-execution ingestion:
  ComfyUI fires on_prompt_end before task_done() stores history, so
  outputs of prompts queued from the API or another client could be
  missed.
- Scan prune only removes assets whose absence is confirmed; a stat
  error or an unreadable scan root no longer deletes user data. Report
  pruned assets instead of SQLite change counts.
- Emit mjr-assets-removed for watcher deletes and scan prunes and
  mjr-asset-updated for moves so open grids update in place.
- Annotate mjr-scan-complete with origin and needs_refresh; reload the
  grid once when live events cannot cover a change and summarise a
  finished directory scan in one ComfyUI core toast.
- Document the comparison with ComfyUI core's asset system.
2026-11-04 08:01:26 +00:00
Ewald ALOEBOETOE b6f6082f4f Move Majoor notifications onto ComfyUI core toasts
- Use the typed ToastManager API (success/error/info/warning/loading)
  instead of the deprecated add(); add() stays as a fallback for older
  frontends.
- Accept a toast manager without add() so toasts keep working once
  ComfyUI drops the deprecated methods.
- Tracked operations (DB restore/reset, vector backfill) show one
  loading toast updated in place via its ToastId instead of stacking a
  toast per step; dismiss them on extension teardown.
- Persistent toasts use the largest safe timer delay instead of
  Infinity; history action links become native toast action buttons
  (http(s) or same-origin paths only).
- Route genInfoOverridePicker and comfyAlert through the core toast API;
  drop the app.ui.toast fallback, the no-op fallback dismisser and the
  unused .mjr-toast CSS.
- Keep the Majoor message center as a read-only history; it no longer
  pops open by itself on reset/backfill.
- Document the notification audit.
2026-11-04 07:38:14 +00:00
Ewald b255c25c49 refactor(filter): style popover neutre + fermeture via mjr:filters-changed 2026-06-02 16:58:15 +02:00
Ewald a78f4572c8 Align frontend layout with ComfyUI conventions 2026-05-26 10:42:22 +02:00