Add a sub-toolbar in the ranking tab with 7 modes: day/week/month/
day_male/day_female/week_original/week_rookie. Clicking a mode clears
the grid and reloads with the new mode parameter.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
IntersectionObserver with root:pane is unreliable inside ComfyUI DOM
widgets. Replace with scroll event listeners on the pane element.
Also: auto-fill pane when initial batch doesn't cause overflow, and
abort stale async loads when tab/artist changes mid-flight.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The browser UI is now embedded directly inside the ComfyUI node using
addDOMWidget. Each node instance gets its own independent state. All DOM
queries are scoped to the node container so multiple nodes work correctly.
Mouse/wheel events are stopped from propagating to the canvas.
Default node size 700x500; user can resize freely.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
_fmt_illusts now includes original_url from browse data (meta_single_page /
meta_pages). The confirm button writes id|url pairs to the widget. The node
parses the pairs and downloads directly, removing N extra API calls that
were being rate-limited and silently failing for multi-image selections.
Falls back to get_original_url for legacy plain-ID widget values.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- New "已选" tab shows all selected images in a grid; each card has
an X button (top-right) to remove that image from the selection
- "清除全部" button in header clears all selections at once
- illustCache persists illust thumbnails across modal opens so the
panel can display images selected in previous sessions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add POST /pixiv/auth/set_token endpoint for direct refresh_token auth.
Redesign login page with two tabs: recommended gppt token flow and
fallback OAuth flow with pixiv:// URL validation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>