Commit Graph
8 Commits
Author SHA1 Message Date
da2el-alandClaude Opus 4.8 62eb3aed9d fix: reflect latest BatchCount value in D2_QueueButton on change
The setting's onChange fired before the settings store was updated, so
_getCounts re-read getSettingValue and got the previous value, leaving
the buttons one step behind. Pass the onChange value through
resetButton/_createButtons/_getCounts and only fall back to the store
when no value is given (initial build).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 23:41:19 +09:00
da2el-alandClaude Opus 4.8 7b45dd8529 feat: add actionbar docking to D2_QueueButton via drag and drop
Drag the queue button panel onto the top actionbar to dock it, and drag
the handle out (past a threshold) to float it again. Docking reuses
ComfyUI's ComfyButtonGroup / actionbar `.border-dashed` reveal hook, and
the mode is persisted in a cookie. The dock feature is opt-in via a new
D2_FloatContainer option so the shared PromptConvert / ProgressPreview
panels are unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 23:28:59 +09:00
da2el-alandClaude Opus 4.8 8f7039fcf8 feat: apply ComfyUI button styles to float panel buttons
Define shared button CSS class constants (BASE / PRIMARY / SECONDARY)
in D2_FloatContainer and apply them to the queue and prompt-convert
buttons so they match the ComfyUI (PrimeVue/Tailwind) button look.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 02:08:09 +09:00
da2el-ai 1582ed1332 refactor: D2_PromptConvertDialog / D2_QueueButton: changed method names in D2_FloatContainer 2025-05-02 15:45:14 +09:00
da2el-ai 089d41730e fix: D2 Queue Button: Handle cases where settings do not exist 2025-01-06 19:58:44 +09:00
da2el-ai 1a4203ecd1 D2 FloatContainer: Separated common utilities into utils.js 2024-10-28 14:47:51 +09:00
da2el-ai d93fc0a8d0 D2 QueueButton: Extract float container into 'D2 FloatContainer' class 2024-10-28 13:56:09 +09:00
da2el-ai 543407f716 Added D2 Queue Button 2024-10-19 12:29:02 +09:00