Commit Graph
17 Commits
Author SHA1 Message Date
Jason HokuandClaude Opus 4.6 0feb11c6bd feat: video support in Dashboard and external directory scanner
Adds video file support throughout the Dashboard with zero new Python
dependencies — browsers handle all playback, metadata, and thumbnails
natively via HTML5 <video> elements.

directory_scanner.py:
- Add VIDEO_EXTENSIONS (.mp4, .webm, .mov, .m4v) to scan list
- _process_single_image() detects videos by extension and creates a
  video manifest item with media_type="video"
- Videos get default 1280x720 dimensions; browser updates on loadedmetadata
- Image items now tagged with media_type="image" for symmetry

Dashboard (logic_ui.js createCard):
- Renders <video preload="none" muted loop playsinline> for video items
- Hides REVISE and upscale buttons for videos (don't apply)
- Shows "▶ VIDEO" badge in top-left corner
- Hover-play: videos play on mouseenter, pause+reset on mouseleave
- Click: requests native browser fullscreen with controls
- loadedmetadata handler updates card aspect ratio from videoWidth/videoHeight

Dashboard (logic_virtual.js):
- Lazy loader extended to swap data-src → src for <video> elements

CSS (report.css):
- .video-badge styling (purple pill, top-left)
- .card video positioning (absolute, cover-fit)

Works with any codec the browser supports (H.264, VP9, AV1, H.265).
Existing features unchanged: favorites, rejects, sorting, filtering,
DOM card pool, merge sessions, quick favorite hotkeys all work on videos.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 14:23:02 -07:00
Jason HokuandClaude Opus 4.6 c9efe90b54 fix: add upscale button to mobile touch visibility rules
The ⬆ button now shows on touch devices (pointer: coarse) with
0.7 opacity, same as the other card action buttons.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 19:36:11 -07:00
Jason HokuandClaude Opus 4.6 e825438c5d feat: add ⬆ upscale button to dashboard card hover overlay
Purple button positioned between favorite star and revise button on
the right side. Appears on hover, calls openUpscaleModal(imageId).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 15:33:12 -07:00
Jason HokuandClaude Opus 4.6 cf896ec1e5 feat: add label size slider to dashboard settings
Slider in Label Mode settings (6-16px range) controls overlay text size.
Uses CSS custom property for instant updates. Persisted to localStorage.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 18:00:38 -07:00
JasonHokuandClaude Opus 4.6 89b6ce4eb1 feat: upscale pipelines system + save pre-upscale + HiRes prompt adjust
Replace flat upscale configs with pipeline/steps/repeat architecture:
- Pipelines run independently from base image
- Steps chain sequentially within a pipeline
- Steps support repeat count for iterative refinement

Add "Save Pre-Upscaled Output" option to also keep the base image.

Add "Adjust Prompt During HiRes Fix" with prepend/append/replace
behaviors. HiRes-adjusted prompts are batch pre-encoded for efficiency.
Results written to manifest metadata and exposed as label overlays.

Fix fmtVal scoping error in buildLabelOverlay (was referenced outside
the upscale block where it was defined).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 15:33:04 -07:00
JasonHokuandClaude Opus 4.6 1830713bd2 feat: configurable label mode overlays on dashboard cards
Adds color-coded metadata labels (model, lora, prompt, sampler,
scheduler, cfg, steps, seed, denoise) as image overlays in the
dashboard grid. Settings panel with per-field toggles and unique-only
mode that hides values shared by every card. Per-lora filtering skips
global loras while showing unique ones. Persisted via localStorage,
backwards compatible with older sessions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:00:24 -08:00
JasonHoku f1dadf244c improve job skipping/resume logic, improve dash topbar organization 2026-02-18 13:16:23 -08:00
JasonHoku 8f2d35ab3b Add Favorited Item Analysis Tools To Dashboard Cogwheel Options Menu 2026-02-17 20:39:40 -08:00
JasonHoku e3e933fc08 Implement prompt combinators: AND, CAT, AVG(), BREAK. Consolidate dashboard topbar 2026-02-16 12:41:20 -08:00
JasonHoku d74a51dd15 UI updates, model based prompting, attention mode selection, recursive cartesian prompting, detect connected node changes for smarter job resuming, eta progress bar in ui, condensed dashboard top bar, close modal hotkeys, 2026-02-16 00:21:58 -08:00
JasonHoku 30894c4c82 Massive Overhaul, Config Builder Updates, Fixes, Smarter Optional Caching, UI Improvements, Filter Improvements & More! 2026-02-10 16:30:10 -08:00
JasonHoku 9d1afab458 Major Refactor, Optimizations & New Features: Move & MetaPack Favorited, Random Lora Selection, Lora & Model Entire Folder Loading, Smart JSON Node, WIP Config Builder 2026-02-06 00:07:47 -08:00
JasonHoku 5900fb20f2 Better Filters, Consolidated Top Bar, More Sorting Options, Improved Prompt Iteration Abilities, & Better Session Handling 2026-01-24 22:57:50 -08:00
JasonHoku ec0662d5a0 Implement Non SD Models (ZImage Tested), Add Favorites Feature, Added Auto Lora Triggerword CivitAI Hash Lookup And Append To Prompt Feature, Add Shift Click Filter Selection, Add GoTo Image #, Dashboard Auto-Load New Sessions, Mobile Panning & Zoom Support, Fix Override Latents & Models, Add Clip Token Prompt Change Detection, Add More Meta-Data To Revise View, (prompt,seed,steps, etc) 2026-01-13 13:47:26 -08:00
JasonHoku 762078657a Massive Overhaul, Refactoring, Optimization, Auto Loading/Unloading Virtual Pagination Of Images, Fullscreen Mode, Multi-Models, Multi-Loras, Multi Seed, Stop & Resume Detection, Spacebar Pan To Next Row & Update Grid After X Images Feature 2026-01-11 19:18:26 -08:00
JasonHoku 82e7e36fba Integrate Img2Img/Latent Batching + Fix Revise Screen Layout 2026-01-08 23:59:14 -08:00
JasonHoku ba69c48206 Refactor html_gen, better dashboard panning, better config JSON error reporting, fix optional vae not overriding decode, and accept stacking loras and lora arrays for iteration 2026-01-07 22:44:26 -08:00