Files
Azornes-Comfyui-LayerForge/js/utils
Dariusz L f8137a57a7 refactor: add CONFIG and context menu support to notification toast system
- Add centralized CONFIG object with PROJECT_NAME, PROJECT_ICON, CSS_PREFIX,
  LOGGER_NAME, and SHARED_CONTAINER_ID to prevent hardcoded values
- Refactor showNotification to accept both legacy (backgroundColor, duration, type)
  and new (options object) signatures for backward compatibility
- Replace hardcoded CSS IDs and keyframe names with CONFIG-prefixed variants
- Change notification container layout from row-reverse to column for proper stacking
- Add context menu binding support via contextMenuModel and contextMenuTooltip options
- Extract SVG icons into dedicated iconSVGs record/object
- Fix wrapper functions (showSuccessNotification, showErrorNotification etc.) to
  pass type as first argument instead of undefined
- Increase container z-index to 100005 to appear above modal overlays
- Remove unused lf-progress and lf-progress-rewind keyframes
2026-06-30 01:39:23 +02:00
..
2025-07-27 20:30:06 +02:00
2025-07-04 04:22:51 +02:00
2025-07-27 20:30:06 +02:00
2025-07-27 20:30:06 +02:00
2025-07-27 20:30:06 +02:00
2025-07-27 20:30:06 +02:00