6 Commits
Author SHA1 Message Date
imi 5b819dad2e refactor: maintenance, quality, and performance improvements
- Backend Optimizations:
  - Optimized workflow graph traversal using deque for O(1) operations.
  - Implemented robust normalization for autocomplete extra_files API.
  - Added bounded instance-level caching to prevent memory growth.
  - Fixed AttributeError in hooks by restoring transformers_dict.
  - Added EXPERIMENTAL.md for tracking legacy code notes.
- Frontend Refinements:
  - Fixed memory leaks via onRemoved cleanup for DOM and observers.
  - Added race-condition protection for autocomplete blur events.
  - Improved UI feedback for API errors in the autocomplete popup.
  - Refined autocomplete aesthetics (removed redundant last-item border).
  - Ensured defensive DOM cleanup in coordinate calculations.
- Documentation & Quality:
  - Overhauled README with auto-detection and hidden inputs docs.
  - Fixed MD040 linting errors across all project READMEs.
  - Updated CHANGELOG.md and TODO.md for the 2026-02-02 release.
2026-02-02 16:57:30 +01:00
imi ac71ae0e6b feat(ui): overhaul autocomplete positioning and marker alignment
- Refactor `getCaretCoordinates`with scaled coordinate mapping to support ComfyUI canvas zoom/pan.
- Overhaul autocomplete selection logic to default to no selection (-1), allowing Enter for newlines.
- Decouple hover visuals from active selection to prevent accidental mouse-based confirms.
- Implement horizontally-expanding popup layout to prevent text cutoff on long tags/aliases.
- Improve selection aesthetics with modern blue accent bars and high-contrast highlights.
- Fix token boundary marker drift using zero-width containers and robust CSS property mirroring.
- Unify backend tag database defaults in `autocomplete.py` to ensure user settings take effect.
2026-01-30 20:43:14 +01:00
imi 42c37c8cd8 colon alternation scheduling fix 2026-01-23 15:20:16 +01:00
imi 6889a3fd61 tags 2026-01-22 17:10:25 +01:00
imi 0c8e02d1de autocomplete initial stuff 2026-01-22 16:08:31 +01:00
imi 0602748b8f refact, didnt test yet but should be good 2026-01-21 23:53:37 +01:00