Commit Graph
27 Commits
Author SHA1 Message Date
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
Dariusz L d974dce5d1 ui: replace select elements with custom dropdowns for better styling
- Replace HTML <select> elements with custom div-based dropdown components
- Add CSS variable --ml-download-control-height for consistent control sizing
- Update search source and category selectors to use custom styled dropdowns
- Improve responsive layout with grid template columns and media queries
- Add keyboard and mouse event handling for custom dropdowns
- Ensure consistent styling across all form controls
2026-05-26 17:55:33 +02:00
Dariusz L 997186720c feat: enhance search results table with dynamic column widths and source icons 2026-05-26 17:18:40 +02:00
Dariusz L 497818d1ee Render and normalize model version names in Linker UI
Add helper methods to normalize and split model and version names, render versioned model names in search results, cards, loading states and CivitAI links, include version metadata on rows, and add CSS styling for model version text. Improves display clarity when models include version names and avoids duplicated filenames.
2026-05-26 17:02:36 +02:00
Dariusz L ec4d6fe8f9 Refactor download/search UI and URN handling
- Replace renderDownloadSourceSection with renderKnownDownloadPanel and wireDownloadSearchPanel to centralize download/search UI wiring
- Improve URN filename resolution and search flags
- Remove obsolete .ml-download-actions CSS rules
- Minor __init__.py fix: check filename before enabling lora_manager_archive search
2026-05-26 16:52:38 +02:00
Dariusz L ffd7d548f2 web(linker): add estimated search progress timers and UI
Add estimated progress timers and helpers to show smoother search progress across sources. Track per-run timers, compute eased percentages, update progress state on completion/error, and adjust CSS for running state and transitions.
2026-05-26 16:19:44 +02:00
Dariusz L bab7cd266f Refactor search results to table layout with helper methods and new styles; add download and externalLink SVG icons. 2026-05-26 16:13:55 +02:00
Dariusz L bebf5b6e59 web: refine Model Linker UI — improve context menu, tooltips, info dialog, and styles
Improve UX for model relinking: add context menu actions (Show Info, Open on CivitAI, Open containing folder), sanitize CivitAI descriptions, persist info dialog size, and adjust CSS spacing and visibility.
2026-05-26 15:52:05 +02:00
Dariusz L 967afb609c fix: correct CSS escaping for Flux model tags and remove invalid vertical-align
- Escape dot in .1 class names (Flux.1, Flux.1-d) to valid CSS syntax
- Remove vertical-align: top from block-level input/select elements
2026-05-11 05:34:14 +02:00
Dariusz L e5fa58f262 UI modernization: centralize SVG icons and adopt CSS variables
- Create web/utils/IconUtils.js with centralized SVG icon definitions
- Replace inline SVGs in linker.js with getSvgIcon() calls
- Refactor CSS to use CSS custom properties throughout
- Add renderProgressWithAction() helper for consistent progress UI
- Add renderOnlineSearchResultCard() helper for search results
- Add MLToggleHidden() utility for show/hide toggle
- Replace hardcoded spacing, fonts, colors with CSS variables
- Standardize markup with reusable CSS classes
2026-05-11 05:09:24 +02:00
Dariusz L ac4ba4df42 refactor(css): extract inline styles to dedicated CSS files
Remove ~8000 lines of inline JavaScript styles from linker.js and organize
them into two focused stylesheets:
- linker-shell.css: modal shell, backdrop, window controls, layout structure
- linker-main.css: main content area (cards, buttons, forms, dialogs, tabs)

Simplify and clean up css-variables.css variable definitions.
Update css-loader.js to load both new stylesheet files.

Significantly improves code maintainability and separation of concerns.
2026-05-11 04:52:58 +02:00
Dariusz L 61f5898be9 Translate to English 2026-05-11 02:51:59 +02:00
Dariusz L 995b897f95 refactor(css): consolidate CSS loading to single variables file
Remove individual CSS component file references and streamline css-loader
to only load css-variables.css. The web/css directory now contains the
consolidated stylesheet, reducing complexity and improving maintainability.
2026-05-11 02:47:18 +02:00