feat: add user-selectable aspect ratio and resolution per thread #18

Merged
naomi merged 2 commits from feat/generation-options into main 2026-04-13 18:24:46 -07:00
Owner

Summary

  • Adds a two-step thread creation modal — step 1 picks the mode, step 2 configures generation options
  • Art mode now supports user-selectable aspect ratio (1:1, 4:3, 3:4, 16:9, 9:16, 21:9)
  • All three modes (Art, Avatar, Replace) now support user-selectable resolution (1K, 2K, 4K)
  • Mode label in the input area reflects the chosen settings (e.g. 🩷 Art Mode (16:9) · 4K)
  • Backend cost calculation now scales with resolution
  • Regenerated icon.ico with clean BMP-only entries to fix Windows local builds

This PR was created with help from Hikari~ 🌸

## Summary - Adds a two-step thread creation modal — step 1 picks the mode, step 2 configures generation options - Art mode now supports user-selectable aspect ratio (1:1, 4:3, 3:4, 16:9, 9:16, 21:9) - All three modes (Art, Avatar, Replace) now support user-selectable resolution (1K, 2K, 4K) - Mode label in the input area reflects the chosen settings (e.g. `🩷 Art Mode (16:9) · 4K`) - Backend cost calculation now scales with resolution - Regenerated `icon.ico` with clean BMP-only entries to fix Windows local builds ✨ This PR was created with help from Hikari~ 🌸
hikari added 1 commit 2026-04-13 16:30:52 -07:00
feat: add user-selectable aspect ratio and resolution per thread
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m25s
CI / Lint & Check (pull_request) Failing after 8m33s
CI / Build Windows (pull_request) Has been skipped
05af2d3695
Adds a two-step new thread modal: step one picks mode, step two
configures aspect ratio (Art mode only, six options) and resolution
(all modes: 1K/2K/4K). Settings are stored on the thread and forwarded
to the Gemini API on every send, retry, and edit. Also regenerates
icon.ico with Python to produce a clean all-BMP ICO compatible with
both Tauri's proc macro and llvm-rc cross-compilation.
hikari force-pushed feat/generation-options from 05af2d3695 to f3c2e8fa40 2026-04-13 16:36:53 -07:00 Compare
hikari added 1 commit 2026-04-13 17:30:03 -07:00
fix(ci): resolve clippy too_many_arguments lint errors
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m23s
CI / Lint & Check (pull_request) Successful in 12m57s
CI / Build Windows (pull_request) Successful in 26m12s
9fe720b6a7
naomi merged commit 9f45ee329d into main 2026-04-13 18:24:46 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/tatsumi#18