[GH-ISSUE #2109] [Issue]: Prove sprite editor browser parity for download, framing, and cleanup flows #1030

Closed
opened 2026-10-21 05:25:22 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Promansis on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2109

Originally assigned to: @Promansis on GitHub.

Summary

Target 4 sprite editor CRUD is statically wired and has focused backend proof, but the remaining browser-facing editor flows still lack app/native proof. The unproven paths are sprite download/export, frame editing save, wand cleanup save, and visible UI recovery/error states for character and persona sprite editors.

Expected behavior

Before 04-MA-ASSET-sprite-editor-crud is treated as fully on par, character and persona sprite editors should have app/browser proof that list/upload/delete/download/framing/wand-cleanup/saved-cleanup flows work through the rendered UI with managed sprite URLs.

Actual behavior

Current target 4 rescan only proves backend sprite list/upload/delete/namespace behavior and static editor wiring. It does not prove rendered sprite editor interactions, downloads, canvas/editor save paths, toasts, modals, or browser-only URL/blob handling.

Steps to reproduce

  1. Open a character sprite editor and a persona sprite editor with at least one expression sprite and one full-body sprite.
  2. Exercise download/export, frame editor apply, wand cleanup apply, saved cleanup, restore cleanup, single delete, and visible-category delete.
  3. Confirm sprites re-render through managed sprite URLs after each mutation, downloads produce files, and UI errors/recovery states are visible when a flow fails.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor, parityscan on 2026-06-04
  • Run mode: App/browser proof needed; static audit and Rust backend proof only so far
  • OS + version: Not checked
  • Node + pnpm versions: Not checked
  • Rust version, if relevant: Not relevant
  • Remote Runtime URL configured? Needs embedded and remote-aware URL consideration
  • Provider, model, or integration, if relevant: Sprite managed assets

Logs, screenshots, or video

No runtime logs, screenshots, or video yet. Static proof and backend proof only.

Known proof:

  • cargo test --manifest-path src-tauri/Cargo.toml sprite_upload_tests passed: 8 passed, 0 failed.
  • Static wiring exists in src/features/catalog/characters/components/CharacterSpritesTab.tsx, src/features/catalog/personas/components/sprites/PersonaSpritesTab.tsx, src/features/catalog/sprites/hooks/use-sprites.ts, src/shared/api/image-generation-api.ts, and src/shared/api/local-file-api.ts.

Regression notes

Legacy had rendered sprite editor/download/generation UI flows through main:packages/client/src/hooks/use-characters.ts, main:packages/client/src/components/ui/SpriteGenerationModal.tsx, and server sprite routes. Current refactor has equivalent static wiring, but browser proof is still missing.

Additional context

Related tracker: #2106, 04-MA-ASSET-sprite-editor-crud.

Suggested proof path:

  • Use a local scratch profile or app harness with one character and one persona.
  • Verify character and persona sprite editor flows in the browser/native shell.
  • Include at least one negative/control case, such as failed image read or failed managed URL download.
  • Update #2106 with proof status after verification.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Jun 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2109 Originally assigned to: @Promansis on GitHub. ## Summary Target 4 sprite editor CRUD is statically wired and has focused backend proof, but the remaining browser-facing editor flows still lack app/native proof. The unproven paths are sprite download/export, frame editing save, wand cleanup save, and visible UI recovery/error states for character and persona sprite editors. ## Expected behavior Before `04-MA-ASSET-sprite-editor-crud` is treated as fully on par, character and persona sprite editors should have app/browser proof that list/upload/delete/download/framing/wand-cleanup/saved-cleanup flows work through the rendered UI with managed sprite URLs. ## Actual behavior Current target 4 rescan only proves backend sprite list/upload/delete/namespace behavior and static editor wiring. It does not prove rendered sprite editor interactions, downloads, canvas/editor save paths, toasts, modals, or browser-only URL/blob handling. ## Steps to reproduce 1. Open a character sprite editor and a persona sprite editor with at least one expression sprite and one full-body sprite. 2. Exercise download/export, frame editor apply, wand cleanup apply, saved cleanup, restore cleanup, single delete, and visible-category delete. 3. Confirm sprites re-render through managed sprite URLs after each mutation, downloads produce files, and UI errors/recovery states are visible when a flow fails. ## Impact area - [ ] App shell, navigation, startup, or providers - [x] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [x] Shared API wrapper or remote runtime routing - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `refactor`, parityscan on 2026-06-04 - Run mode: App/browser proof needed; static audit and Rust backend proof only so far - OS + version: Not checked - Node + pnpm versions: Not checked - Rust version, if relevant: Not relevant - Remote Runtime URL configured? Needs embedded and remote-aware URL consideration - Provider, model, or integration, if relevant: Sprite managed assets ## Logs, screenshots, or video No runtime logs, screenshots, or video yet. Static proof and backend proof only. Known proof: - `cargo test --manifest-path src-tauri/Cargo.toml sprite_upload_tests` passed: 8 passed, 0 failed. - Static wiring exists in `src/features/catalog/characters/components/CharacterSpritesTab.tsx`, `src/features/catalog/personas/components/sprites/PersonaSpritesTab.tsx`, `src/features/catalog/sprites/hooks/use-sprites.ts`, `src/shared/api/image-generation-api.ts`, and `src/shared/api/local-file-api.ts`. ## Regression notes Legacy had rendered sprite editor/download/generation UI flows through `main:packages/client/src/hooks/use-characters.ts`, `main:packages/client/src/components/ui/SpriteGenerationModal.tsx`, and server sprite routes. Current refactor has equivalent static wiring, but browser proof is still missing. ## Additional context Related tracker: #2106, `04-MA-ASSET-sprite-editor-crud`. Suggested proof path: - Use a local scratch profile or app harness with one character and one persona. - Verify character and persona sprite editor flows in the browser/native shell. - Include at least one negative/control case, such as failed image read or failed managed URL download. - Update #2106 with proof status after verification. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:25:22 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1030
No description provided.