Commit Graph
240 Commits
Author SHA1 Message Date
DemonGatanjieuandClaude Opus 5.5 e0776891c8 feat(gallery): turn search terms into visible, removable search blocks
Splitting the query on spaces hid how it was read and made phrases like
"cyberpunk city" impossible to search.

- ui_search_chips.js: Enter or a comma (also "," / "、" inserted by an IME)
  turns the typed text into a block; blocks keep their spaces and match as a
  phrase; hash-like and numeric blocks are labelled; × removes a block,
  Backspace in an empty box removes the last one, one button clears all; text
  still being typed joins the search after a short pause; IME composition
  never commits a block
- gallery_images accepts repeated `term` params (q still works)

Verified: tests/test_image_search.py (phrase blocks vs split query, 107 Python
tests in total) and a jsdom walkthrough of blocks, IME commas, backspace,
remove, clear and the request parameters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W411Z69FC3em9CzpeqEub5
2026-09-23 10:00:05 +00:00
DemonGatanjieuandClaude Opus 5.5 1476fafd8a feat(gallery): search output images by prompt, model, seed and model hash
- api/image_search.py reads only the PNG text chunks before IDAT (ComfyUI
  prompt/workflow, A1111 parameters), builds one small record per image and
  caches it by mtime; all space-separated terms must match
- hex terms of 8+ characters also match SHA256 values recorded in the
  workflow (extra.anomalous_hashes) and local model files with that hash, so
  renamed models are still found; A1111 "Model hash" text matches as text
- gallery_images accepts q; the search box above the gallery debounces input,
  shows the match count, keeps paging/infinite scroll and the detail viewer on
  the filtered list, and lets a newer query supersede one still loading

On the local output (774 PNG) the first search reads ~10 MB of text chunks;
later searches use the cache.

Verified: tests/test_image_search.py (prompt, seed, AND terms, A1111, file
names, recorded and local-index hashes, cache, chunk reader), full Python suite
(106), jsdom walkthrough of the gallery search box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W411Z69FC3em9CzpeqEub5
2026-09-23 10:00:00 +00:00
DemonGatanjieu 09b06d1dc7 fix(entry): resolve floating trigger position, boundary clamping, and refresh flicker 2026-09-21 02:02:50 +08:00
DemonGatanjieu 882db0a81c docs: update ARCHITECTURE.md reading map to include docs/audits/ 2026-09-19 20:36:06 +08:00
DemonGatanjieu 04b2eeff8f fix(materials, doctor, scan): polymorphic material drag, third-party prompt nodes, model resolution, and scan wizard improvements 2026-09-19 20:22:45 +08:00
DemonGatanjieu 0d1e25ade3 fix(recipes): harmonize and synchronize model readiness between cards and detail view 2026-09-19 19:04:07 +08:00
DemonGatanjieu 6411e591ca fix(recipes): fix duplicate hint icon, make hint dismissible, and enhance readiness pill contrast 2026-09-19 18:31:35 +08:00
DemonGatanjieu 23cb24c6fd feat(recipes): add canvas drag affordance, hint strip, and empty state onboarding blueprint 2026-09-19 18:20:57 +08:00
DemonGatanjieu 596750bd1a docs(arch): document material library UI and empty state onboarding in ARCHITECTURE.md 2026-09-19 16:12:26 +08:00
DemonGatanjieu 950990a19c feat(tour): implement interactive spotlight mask tour for key buttons and studios 2026-09-19 15:33:28 +08:00
DemonGatanjieu 8cdff4833a feat(guide): rewrite update guide to highlight milestone features over origin/main 2026-09-19 14:59:13 +08:00
DemonGatanjieu 3018c17fc7 fix(scan): remove blocking alert and route model scan feedback to progress panel 2026-09-19 14:21:08 +08:00
DemonGatanjieu 25f7a10ba3 fix(scan): simplify completion feedback to be purely factual without speculative instructions 2026-09-19 14:11:13 +08:00
DemonGatanjieu 024d0a0abd fix(ui,scan): remove misleading clickScan text and provide transparent scan feedback for non-Civitai models 2026-09-19 13:45:11 +08:00
DemonGatanjieu 14014a952c fix(sources,scan): resolve scope toggle deadlock and streamline direct model scanning 2026-09-19 13:31:22 +08:00
DemonGatanjieu 96fba93e80 fix(grid): restore card hover action buttons and one-click canvas publishing 2026-09-19 13:16:52 +08:00
DemonGatanjieu af162ef953 fix(translator): streamline compact button layout, elastic textarea flex and 460px sidebar width 2026-09-19 03:48:29 +08:00
DemonGatanjieu 79646b6d94 fix(translator): add live canvas selection sync, multi-tab graph support and Chinese widget extraction 2026-09-19 03:43:13 +08:00
DemonGatanjieu 0553f920be feat(translator): auto-load selected node prompt on open and remove read node button 2026-09-19 03:33:30 +08:00
DemonGatanjieu b6acd09a1f fix(recipes): decouple modal close button to top-right and replace details with floating dropdown 2026-09-19 02:35:47 +08:00
DemonGatanjieu 24aea49f3b fix(notebooks): eliminate nested gallery scrollbars and replace details with floating more popover 2026-09-18 10:14:28 +08:00
DemonGatanjieu 44d2c824bc refactor(notebooks): optimize prompt notes UX with flat layout, sticky toolbar, quick jump navigation, and complete localization 2026-09-18 09:58:50 +08:00
DemonGatanjieu 4463f2406b docs: record completed structure refactor 2026-09-18 01:59:20 +08:00
DemonGatanjieu 7c167444db docs(architecture): record remaining frontend splits 2026-09-18 01:33:57 +08:00
DemonGatanjieu 3ad1eaacc5 docs(architecture): record doctor module ownership 2026-09-18 01:22:28 +08:00
DemonGatanjieu e75beafd70 refactor(recipes): separate cards and dialogs 2026-09-17 16:59:30 +08:00
DemonGatanjieu 7f7e3cef71 docs(refactor): record recipe module split 2026-09-17 16:55:58 +08:00
DemonGatanjieu 2978025cbe docs(refactor): record main module boundaries 2026-09-17 02:06:55 +08:00
DemonGatanjieu d8691d8811 refactor(recipes): extract detail history and gallery 2026-09-17 00:58:33 +08:00
DemonGatanjieu 1e42033ac0 refactor(sidebar): separate settings toolbox and navigation 2026-09-17 00:53:52 +08:00
DemonGatanjieu 2a53e3edf5 refactor(sidebar): extract scan and support dialogs 2026-09-17 00:45:48 +08:00
DemonGatanjieu 29b14d2c71 refactor(sources): lock links by default with explicit edit toggle and dynamic save-local button 2026-09-17 00:13:14 +08:00
DemonGatanjieu 52259acd09 refactor(recipes): remove unused recipe package import button from topbar 2026-09-16 23:44:01 +08:00
DemonGatanjieu e588392e14 fix(sources): auto-resolve workflow model URLs from local metadata and add cross-folder update fallback 2026-09-16 21:58:36 +08:00
DemonGatanjieu 6d25e4aa74 style(toolbox): add 3-row grid height and enhance popover prominence 2026-09-16 21:27:14 +08:00
DemonGatanjieu d596af293c fix(notebooks): resolve TDZ ReferenceError on updateModelsSummary and empty state rendering 2026-09-16 21:18:23 +08:00
DemonGatanjieu f84379c0ae feat(notebooks): move companion models to top & reorganize editor layout 2026-09-16 21:10:25 +08:00
DemonGatanjieu be96077b3c feat(recipe-detail): default expand parameter nodes & integrate prompt notes into toolbox 2026-09-16 21:01:46 +08:00
DemonGatanjieu 174c82dcc5 fix(recipe-detail): overhaul parameter presets layout, resolve occlusion and typography bugs 2026-09-16 20:28:11 +08:00
DemonGatanjieu 143f076751 fix(ui): remove beta footer text and add popover anchor caret with smooth spring transition 2026-09-16 19:53:30 +08:00
DemonGatanjieu a165921889 style(ui): streamline toolbox modal with frameless compact 40px tiles and clean 216px footprint 2026-09-16 19:46:32 +08:00
DemonGatanjieu 9e5cd77148 fix(ui): suppress bottom action tooltips and labels completely while toolbox modal is open 2026-09-16 19:42:30 +08:00
DemonGatanjieu 05c6bd95ec style(ui): rebalance icon hierarchy with 20px bottom toolbar and 14.5px compact toolbox cards 2026-09-16 19:03:45 +08:00
DemonGatanjieu 35f02a1122 feat(ui): optimize toolbox proportions with balanced 200px height, expansion placeholders, and click text suppression 2026-09-16 18:55:11 +08:00
DemonGatanjieu 72212f1e6a style(ui): scale down toolbox modal, tiles and icons for compact visual harmony with bottom bar 2026-09-16 18:48:42 +08:00
DemonGatanjieu cd1ea0ee2e feat(ui): redesign toolbox into spacious 3-column grid with moderate icons and 9-item capacity 2026-09-16 18:44:24 +08:00
DemonGatanjieu 0d8d163081 feat(ui): restore colorful emoji icons and expand toolbox layout into spacious 2x2 grid 2026-09-16 18:39:08 +08:00
DemonGatanjieu e78b46ba36 fix(ui): revert toolbox to native icons, disable drag-and-drop, and exclude outside tools 2026-09-16 18:26:56 +08:00
DemonGatanjieu 9b4b87a879 fix(ui): eliminate sidebar action button hover flicker and stabilize pointer hit-testing 2026-09-16 14:44:32 +08:00
DemonGatanjieu e370bedf02 feat: implement customizable shortcut bar and toolbox drag-and-drop reorganization 2026-09-16 13:02:47 +08:00