Commit Graph
189 Commits
Author SHA1 Message Date
Dariusz L ca25ba382a Improve initial URN local match refresh handling
Modify scheduleInitialUrnLocalMatchRefresh to accept container and data parameters,
track refresh tasks as an array of async functions, and use Promise.allSettled
to wait for all tasks before updating the UI. This ensures that the missing
models browser is refreshed only after all initial URN local match refreshes
have completed, preventing UI updates during ongoing async operations.

Also adjust renderMissingModel to conditionally render known download panels
based on downloadSource availability.
2026-05-29 22:46:03 +02:00
Dariusz L 693290ebd6 Refactor URN resolution: extract helper methods, add promise-based caching for URN data and local matches 2026-05-29 19:16:15 +02:00
Dariusz L d6660dad26 Add search source enable/disable settings with persistence
- Added methods to manage search source definitions and their enabled state via localStorage
- Added UI toggles in the options dialog for each search source
- Updated CSS for source icons in the options
- Refactored source selection logic to use enabled sources
- Ensured at least one source remains enabled (defaults to local)
2026-05-29 19:06:01 +02:00
Dariusz L c4e86edf94 Add CivArchive model source to Model Linker extension 2026-05-29 18:45:52 +02:00
Dariusz L 2b27a05961 Restyle queue items and add HTML escaping for security 2026-05-29 17:57:05 +02:00
Dariusz L 4dd3c99833 Refactor queue panel visibility into updateQueueVisibility method and refresh splitter styling 2026-05-29 17:52:54 +02:00
Dariusz L 15e51951a5 Update linker options panel: CSS redesign, add icons to nav buttons, update title 2026-05-29 16:53:17 +02:00
Dariusz L 9df0400fae Refactor button styling to use CSS variables and add support for model linker modal 2026-05-29 16:34:40 +02:00
Dariusz L 235525e454 Update externalLink and internalLink SVG icons 2026-05-29 16:13:29 +02:00
Dariusz L 7ecea75af0 Adjust fullscreen behavior when docked and update SVG icons to use stroke-width:2 and round line caps 2026-05-29 15:44:51 +02:00
Dariusz L ebe8c0a4ea Add draggable splitter to adjust width of missing model detail pane in linker UI 2026-05-29 15:23:28 +02:00
Dariusz L 53cdee3f61 Update dialog close to conditionally collapse sidebar
- Add collapseSidebar option to LinkerManagerDialog.close (defaults to true)
- When dialog is docked and collapseSidebar is true, close ComfyUI sidebar
- Modify ModelLinker to pass { collapseSidebar: false } to avoid closing sidebar
2026-05-29 15:11:28 +02:00
Dariusz L eb08ab9b9d Update match path resolution and tooltip rendering in LinkerManagerDialog 2026-05-29 04:10:01 +02:00
Dariusz L 22b00d9279 Refactor viewport calculation for node positioning with dock obstruction handling 2026-05-29 04:01:06 +02:00
Dariusz L 4abf5bb725 Add persistence for sidebar open state (floating/docked) and improve sidebar toggle behavior 2026-05-29 03:52:14 +02:00
Dariusz L af2a3cd645 Add docking functionality to Model Linker dialog 2026-05-29 03:38:23 +02:00
Dariusz L ba9ae41f1e Refactor: introduce CSS variables for model type colors and update linker UI to use them 2026-05-28 15:57:04 +02:00
Dariusz L 93c5cad1d5 feat: add type-based chip styling and dynamic class assignment for model types 2026-05-28 15:54:28 +02:00
Dariusz L b5beace334 Update drag handling: use topbar for dragging, add cursor styles, and exclude certain elements from drag initiation 2026-05-28 15:12:00 +02:00
Dariusz L 6124005f6c Use CSS variable for missing panel backgrounds
Added --ml-missing-bg variable and replaced hardcoded background
values with var(--ml-missing-bg) for consistency across missing
state UI components.
2026-05-28 06:45:31 +02:00
Dariusz L 4ed0247005 Refactor tab UI: add ml-tab-label spans, adjust hover/focus states, and simplify transitions
- Add ml-tab-label span elements for better tab label structure
- Update padding and hover/focus states for consistent styling
- Remove isolation property and simplify transition handling
- Set opacity: 0 for ::after pseudo-element by default
2026-05-28 06:36:44 +02:00
Dariusz L f2ca72881e Fix model-linker drag handle alignment and sizing
- Add align-self: flex-start for proper positioning
- Change dimensions to 30x30px square
- Adjust border-radius to 8px
- Add margin-top and box-sizing for consistent layout
2026-05-28 06:28:43 +02:00
Dariusz L 015db24f52 fix: disable pointer-events and transition on active tab
Prevent mouse events and animation on the active tab element in the model linker UI.
2026-05-28 06:25:25 +02:00
Dariusz L e12633c614 Fix tab styling: adjust padding, border-radius, and positioning for better visual alignment 2026-05-28 06:23:10 +02:00
Dariusz L 40b8c0e79d Improve tab styling in model linker UI
- Active tab: use CSS mask for corner effects instead of box-shadow
- Hover tab: add pseudo-element overlay with proper z-index layering
- Increase tab hover background opacity from 0.045 to 0.075
- Add --ml-tab-corner-size variable for corner radius control
- Fix tab separator color to use active bg color instead of inset shadow
- Update header border in linker-shell.css for better contrast
2026-05-28 06:16:00 +02:00
Dariusz L 5dec88fd15 Improve tab styling and accessibility in linker UI
- Redesign tabs with new visual styling (active/hover states, separators)
- Add ARIA attributes for tab accessibility (aria-selected, aria-disabled, aria-current)
- Update header styling in linker-shell.css
- Refactor tab switching logic to use centralized state management
2026-05-28 06:05:21 +02:00
Dariusz L 1048b0ace4 Replace window button text with SVG icons and refine styles
- Replace unicode text ('⛶', '×') with SVG icons for fullscreen/close buttons
- Add new SVG icons (windowMaximize, windowRestore, x) to icon_utils.js
- Update CSS selectors to scope window button styles under #model-linker-modal
- Remove border/box-shadow from buttons, add hover states
- Increase button size to 46x40px with full height
- Add aria-label attributes for accessibility
- Adjust dialog controls layout with stretch alignment
2026-05-28 04:47:50 +02:00
Dariusz L acac519724 Restructure dialog layout and refine tab styling
- Move tab elements before dialog controls in DOM order
- Update tab styling: smaller min-height, rounded corners, subtle backgrounds
- Add ml-dialog-brand and ml-dialog-controls flex classes
- Adjust active tab border and background opacity
2026-05-28 04:37:04 +02:00
Dariusz L dc7c0a1b71 Replace inline style display toggles with CSS class-based visibility
- Add new utility classes: ml-is-hidden, ml-is-visible, ml-is-inline-flex
- Add ml-is-muted and ml-is-error for text color states
- Add ml-is-success-action for success button styling
- Add ml-icon-img for icon vertical alignment
- Replace style.display = 'block/none' with classList toggles in linker.js
- Update getIconHtml to use ml-icon-img class instead of inline styles
2026-05-28 04:32:18 +02:00
Dariusz L 15c787d236 Add CSS variables for missing UI controls with fallback values
- Add --ml-missing-control-* variables for background, border, focus states
- Add --ml-missing-chip-* variables for chip components
- Add --ml-missing-icon-* and dimension variables
- Update linker-main.css to use new variables with fallbacks
2026-05-28 04:16:34 +02:00
Dariusz L 4745f711c7 Improve missing model UI styling
- Replace radial gradient background with solid color for missing list pane
- Use CSS variables for missing surface and text colors
- Refine chip and button styles with consistent border-radius and shadows
- Update hover states with subtle transforms and opacity adjustments
- Improve icon sizing and alignment in buttons
2026-05-28 04:03:12 +02:00
Dariusz L a18eeb9e74 Update lora archive icon to loraManager and remove redundant status section
- Changed icon mapping for lora-archive, lora_manager_archive, and lora-manager-archive from 'archive' to 'loraManager'
- Added new loraManager SVG icon in icon_utils.js
- Removed redundant 'Not needed' status display before search controls in download section
2026-05-27 17:40:43 +02:00
Dariusz L 732b45a211 Improve missing model display and node location in linker UI
- Add getMissingNodeDisplay() helper to centralize node label formatting
- Make missing list rows keyboard-accessible (Enter/Space selection)
- Add clickable locate buttons for missing nodes to center in graph
- Style focus states for accessibility (outline, box-shadow)
- Add refreshCw icon to icon_utils.js for combo refresh buttons
- Refactor row HTML structure for better semantics
2026-05-27 17:04:32 +02:00
Dariusz L 34d4139ec6 Implement viewport clamping for modal dialog and add resize handling 2026-05-27 16:46:56 +02:00
Dariusz L e3cc23cc48 Add missing sources summary refresh to LinkerManagerDialog 2026-05-27 16:23:43 +02:00
Dariusz L 246fc376f3 Migrate tooltips from title attributes to data-tooltip with custom JS implementation 2026-05-27 16:03:44 +02:00
Dariusz L 19f9d83e4a Refactor missing source dot styling with CSS variables and improved visual effects 2026-05-27 15:50:24 +02:00
Dariusz L a63c75ac63 Improve missing source status styling and logic for exact/partial/found matches 2026-05-27 02:27:45 +02:00
Dariusz L efa1e4ad2d Remove unnecessary CSS rule for missing detail pane column headers 2026-05-27 01:46:48 +02:00
Dariusz L 1602c96e28 style: adjust missing detail pane styling in model linker modal 2026-05-27 01:36:38 +02:00
Dariusz L 1484e12ef1 UI: Flatten missing detail pane sections in model linker modal
Remove backgrounds, borders, and border-radius from columns and download sections.
Adjust spacing and add borders between columns for a cleaner layout.
2026-05-27 01:20:49 +02:00
Dariusz L 638c1e7bbe Add styles for missing detail panel polish 2026-05-27 01:14:57 +02:00
Dariusz L c3fbe897d0 UI/UX improvements: refine model linker dialog styling with updated fonts, spacing, colors, and interactive elements 2026-05-27 00:42:14 +02:00
Dariusz L 2336fb6ef0 UI: Add local alternatives toggle and improve link button styling
- Add CSS for .ml-local-alternatives-toggle component with hover/focus states
- Update missing browser button styles to use compact link button
- Adjust disabled footer button opacity for better visibility
- Replace alternatives div with toggle button in linker.js
- Enhance MLToggleHidden to support aria-expanded and dynamic label/state updates
2026-05-27 00:24:37 +02:00
Dariusz L 74bc1e03f7 UI improvements: refine missing browser styling, dialog appearance, and minor text fix 2026-05-27 00:10:39 +02:00
Dariusz L 4c410de6b3 Dynamic column width calculation for missing models list in Linker Manager dialog 2026-05-26 23:57:21 +02:00
Dariusz L 18b72316be feat: add missing models browser UI and logic
- Implement CSS styles for missing models browser interface (.ml-missing-browser and related classes)
- Add JavaScript methods for handling missing models:
  * getMissingModelKey, getMissingFilename, getBestLocalMatch
  * getMissingModelSummaryStats, getMissingSourceStatus
  * renderMissingSourcesSummary, hasRenderableSearchState
- Replace missing models rendering logic with new implementation
- Support for exact/partial match statistics and source status indicators
2026-05-26 23:53:32 +02:00
Dariusz L f3a4730a4e Adjust dialog sizing to full viewport and add box-sizing 2026-05-26 22:51:57 +02:00
Dariusz L 2604be5126 Add compact search progress display and improve search status rendering 2026-05-26 18:27:47 +02:00
Dariusz L 20d4d3187b ui: improve search result action buttons styling and behavior
- Remove transform transitions and animations from action buttons
- Restyle buttons with consistent sizing, colors, and hover states
- Convert anchor tags to buttons with proper type attributes
- Add click handlers for opening links in new tabs with security attributes
- Clear subfolder list when repopulating options
2026-05-26 18:15:11 +02:00