Skip to content

Fix/gallery and console forwarding#5

Merged
lmangani merged 3 commits intomainfrom
fix/gallery-and-console-forwarding
Mar 9, 2026
Merged

Fix/gallery and console forwarding#5
lmangani merged 3 commits intomainfrom
fix/gallery-and-console-forwarding

Conversation

@lmangani
Copy link
Copy Markdown

@lmangani lmangani commented Mar 9, 2026

  • Fix Gallery display of generations
  • Add Frontend logs to debug console

qxip added 3 commits March 9, 2026 18:53
- Patch tqdm in ltx_pipelines during generate() so pipeline progress (8+3+1 steps)
  is reported via GenerationHandler.update_progress(), which syncs to the job queue
- Frontend already polls queue status; progress bar now updates during inference
  instead of staying at 15% until completion
- Safe for embedded Python: only patches already-loaded modules, no extra deps

Made-with: Cursor
Gallery:
- Use backend path field and convert to file:// URLs for thumbnails and
  playback (same as projects); the previous /api/gallery/local/file/ URL
  had no route and failed to load
- Map API size_bytes/model_name to file_size/model for UI
- Use filesystem path for Show in Folder (Electron expects path)

Console forwarding:
- Add sendRendererLog(level, ...args) in preload; main process listens
  and logs to session file + terminal with [Renderer] prefix
- Patch console.log/info/warn/error in renderer to forward when in Electron
- Enables troubleshooting when renderer DevTools are not available

Made-with: Cursor
@lmangani lmangani marked this pull request as ready for review March 9, 2026 18:59
@lmangani lmangani merged commit 26c1213 into main Mar 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant