Commit Graph
14511 Commits
Author SHA1 Message Date
Tanish Manku 65145f38e3 artcraft: install macOS app menu so Cmd+A/C/V/X/Z work in text inputs
Tauri 2 dropped the implicit default menu on macOS, so without an explicit
Edit submenu AppKit had nothing to dispatch the standard editing
accelerators through and Cmd+letter shortcuts never reached the WKWebView.
This was visible in the PageDraw text-to-image promptbox (Cmd+A would not
select all, etc.).

Install a minimal App/Edit/Window menu using PredefinedMenuItem on macOS
only; gated behind cfg(target_os = "macos") so Windows/Linux still have
no menu bar.
2026-05-05 16:20:14 -07:00
Tanish Manku 3e386a9127 artcraft: land on previous batch's last image when arrow-key paging left
PageDraw lightbox left-arrow at a batch boundary called openBatchInLightbox
without a startIndex, defaulting to 0, so leftward traversal skipped every
non-first image in each prior batch.
2026-05-05 16:07:27 -07:00
Tanish Manku 036aa3545f artcraft: clarify batch-pending dismissal with striped overlay and centered control
The per-tile X button suggested individual tiles could be dismissed, but a
batch resolves as a unit. The whole batch group is now the click target and
the hover overlay paints diagonal red/black stripes across all tiles so the
removal scope is unambiguous. Centered trash chip with a ×N badge for
count > 1 confirms the batch size at a glance.
2026-05-05 16:07:27 -07:00
Tanish Manku 7f5e766358 artcraft: dismissable pending tiles in PageDraw history stack
Pending tiles now have a hover-revealed trash button that opens a confirm
modal noting the image will still appear in the library when complete.
Removing the entry from pendingGenerations is enough — the Tauri completion
bridge filters incoming events on membership, so the eventual result is
silently dropped from PageDraw.

The confirm modal auto-closes if the underlying generation resolves before
the user confirms, and clears its tracked target if dismissed externally.
2026-05-05 16:07:27 -07:00
Tanish Manku d6d5d871e3 artcraft: port website Generation Details to lightbox-modal
Add Aspect Ratio, Resolution, Duration, Audio, Size, and Created rows to the
desktop app's lightbox so it matches the website's Information panel. Promote
the website's local format helpers into @storyteller/model-list so both
clients can share them.
2026-05-05 16:07:27 -07:00
Tanish Manku cdd76c0106 artcraft: resolve PageDraw pending tiles via text_to_image_generation_complete_event
PageDraw was listening for image_edit_complete_event, but the unified
generate_image Tauri command emits text_to_image_generation_complete_event
for all paths (text, edit, inpaint). Switch to that event and filter on
frontend_subscriber_id against pendingGenerations so each page only handles
its own results, mirroring the PageAngles/AnglesStore pattern.
2026-05-05 16:07:27 -07:00
Brandon Thomas 01854c394f move old tauri commands to "deprecated" 2026-05-03 19:36:20 -04:00
Brandon Thomas f9f8bba457 fix flux kontext 2026-05-03 16:57:21 -04:00
Brandon Thomas 3e9f9caf52 fix prompt refs 2026-05-03 14:22:53 -04:00
Brandon Thomas bd0acd05de fixup 2026-05-03 05:24:39 -04:00
Brandon Thomas a28325534d special model handling 2026-05-03 05:10:01 -04:00
Brandon Thomas 9b69a92a87 cleanup session management 2026-05-03 02:50:46 -04:00
Brandon Thomas 1673fef867 cleanup 2026-05-03 02:44:13 -04:00
Brandon Thomas 01dcf3b985 pull scene / canvas / mask tokens 2026-05-03 02:40:22 -04:00
Brandon Thomas 59ff4dc9b8 upload bytes to media file 2026-05-03 02:00:11 -04:00
Brandon Thomas ba5eca0195 cleanup 2026-05-03 00:59:25 -04:00
Brandon Thomas a77289c971 fix routing 2026-05-03 00:52:56 -04:00
Brandon Thomas 52b89565ca refactor model mapping 2026-05-03 00:43:21 -04:00
Brandon Thomas 742e00a052 Merge remote-tracking branch 'origin/bt-tauri-refactor' into bt-tauri-refactor 2026-05-03 00:29:05 -04:00
Tanish Manku c6515298a4 artcraft: migrate PromptBox3D off EnqueueEditImage onto unified GenerateImage
Last remaining legacy `Enqueue*` consumer in the artcraft Tauri app's
generation surface. Maps `image_count` -> `batch_size`, `disable_system_prompt`
-> `enable_system_prompt`, legacy aspect_ratio/image_resolution enums onto
CommonAspectRatio/CommonResolution. Folds the conditional common_aspect_ratio
branch into a single aspect_ratio field that prefers commonAspectRatio when
the model supports it.
2026-05-03 00:28:59 -04:00
Brandon Thomas 282a0e6a01 wip 2026-05-03 00:28:59 -04:00
Brandon Thomas 236474f6b4 cleanup 2026-05-03 00:28:59 -04:00
Brandon Thomas 255eeca554 get rid of older providers for now 2026-05-03 00:28:59 -04:00
Brandon Thomas 92630dde77 refactor, move handlers 2026-05-03 00:28:59 -04:00
Brandon Thomas 0bfe0f2a2f artcraft provider wip 2026-05-03 00:28:59 -04:00
Brandon Thomas a3bb3d44ce note 2026-05-03 00:28:59 -04:00
Brandon Thomas 5f0793d41e refactor wip 2026-05-03 00:28:59 -04:00
Tanish Manku 94846b580b artcraft: migrate frontend image/video calls to unified generate_* tauri commands
Add GenerateImage / GenerateVideo wrappers in @storyteller/tauri-api
that mirror the unified TauriGenerateImageRequest / TauriGenerateVideoRequest
shapes and invoke generate_image_command / generate_video_command. Migrate
PromptBoxImage (text-to-image), PromptBoxVideo (image-to-video), PageDraw
(edit + inpaint), and Angles off the per-flow Enqueue* wrappers onto the
unified ones. Old wrappers stay; Rust proxy handles routing.
2026-05-03 00:28:58 -04:00
Brandon Thomas cf091fbc4d proxy to other endpoints 2026-05-03 00:28:58 -04:00
Brandon Thomas 76156ecb8f stub "generate_image" endpoint 2026-05-03 00:28:58 -04:00
Brandon Thomas 954784d9a9 fix compile error, remove dead code 2026-05-03 00:28:58 -04:00
Brandon Thomas 8b9d34ce2d fix requests 2026-05-03 00:28:58 -04:00
Brandon Thomas a75052ac44 rename generate video command 2026-05-03 00:28:58 -04:00
Brandon Thomas 9d38b45bc2 prompting tool for artcraft (#1470) 2026-05-03 00:26:38 -04:00
Brandon Thomas 4b5e171261 generate cli tool (#1469) 2026-05-02 20:32:29 -04:00
Tanish Manku ccd7b38760 artcraft: migrate PromptBox3D off EnqueueEditImage onto unified GenerateImage
Last remaining legacy `Enqueue*` consumer in the artcraft Tauri app's
generation surface. Maps `image_count` -> `batch_size`, `disable_system_prompt`
-> `enable_system_prompt`, legacy aspect_ratio/image_resolution enums onto
CommonAspectRatio/CommonResolution. Folds the conditional common_aspect_ratio
branch into a single aspect_ratio field that prefers commonAspectRatio when
the model supports it.
2026-05-01 10:00:11 -07:00
Brandon Thomas d937a9db5f wip 2026-05-01 05:09:16 -04:00
Brandon Thomas 13896d9306 cleanup 2026-05-01 05:09:16 -04:00
Brandon Thomas 874705f691 get rid of older providers for now 2026-05-01 05:09:16 -04:00
Brandon Thomas f192e2c077 refactor, move handlers 2026-05-01 05:09:16 -04:00
Brandon Thomas 5beac6c368 artcraft provider wip 2026-05-01 05:09:16 -04:00
Brandon Thomas f2d327481b note 2026-05-01 05:09:15 -04:00
Brandon Thomas 23084a765a refactor wip 2026-05-01 05:09:15 -04:00
Tanish Manku 9060ff8099 artcraft: migrate frontend image/video calls to unified generate_* tauri commands
Add GenerateImage / GenerateVideo wrappers in @storyteller/tauri-api
that mirror the unified TauriGenerateImageRequest / TauriGenerateVideoRequest
shapes and invoke generate_image_command / generate_video_command. Migrate
PromptBoxImage (text-to-image), PromptBoxVideo (image-to-video), PageDraw
(edit + inpaint), and Angles off the per-flow Enqueue* wrappers onto the
unified ones. Old wrappers stay; Rust proxy handles routing.
2026-05-01 05:09:15 -04:00
Brandon Thomas 837a8d417a proxy to other endpoints 2026-05-01 05:09:15 -04:00
Brandon Thomas 62cb63b8dc stub "generate_image" endpoint 2026-05-01 05:09:15 -04:00
Brandon Thomas b73d0b1af6 fix compile error, remove dead code 2026-05-01 05:09:15 -04:00
Brandon Thomas afc9db10fe fix requests 2026-05-01 05:09:15 -04:00
Brandon Thomas 9945a825ed rename generate video command 2026-05-01 05:09:15 -04:00
BFlat 47d58bcd80 website: redesign landing (#1446)
full site redesign + animated scroll trigger sections
2026-05-01 15:59:17 +07:00