[GH-ISSUE #8849] [Issue]: Character sprite folder import shows browser upload warning #8521

Closed
opened 2026-11-07 16:43:30 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @DSBwizzard on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8849

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Character Sprites > Add sprites > Import folder uses a directory-upload input, so Chromium-family browsers can display their own "Are you sure you want to upload all files" warning before Engine receives the selection. The sprite upload control also displays "Uploading character sheet…" while importing sprite images.

Expected behavior

Browse into a folder using the ordinary cross-device image picker, select several images, and confirm their supported-image count in Engine before importing. Cancel uploads nothing. Both sprite and character-sheet upload controls in the character Sprites section should display "Uploading Images..." while uploading.

The chosen browser-compatible approach selects individual images rather than requesting directory access. Existing folder organization, saved sprites, categories, duplicate-label handling, generation and export should be preserved.

Actual behavior

The directory picker can invoke browser-owned folder-upload confirmation. Application code cannot replace that browser security dialog. Sprite imports also use a misleading character-sheet progress label.

Steps to reproduce

  1. In staging's character editor, open Sprites > Manage > Add sprites.
  2. Click Import folder and select a folder of images in a browser that confirms directory uploads.
  3. Observe the browser-owned upload warning before application import handling. While uploading sprites, observe the character-sheet progress wording.

Environment

  • Marinara Engine version: 2.5.1 in the isolated source/Docker reproduction preview.
  • Install type: source and isolated Docker preview.
  • OS + version: Windows; reporter's precise OS version was not supplied.
  • Browser or app shell: Chromium-family browser in the reported warning; automated validation also covers mobile Chromium and WebKit.

Logs, screenshots, or video

Synthetic before/after UI evidence and the final validation revision will be linked from the implementation PR. Reporter screenshots and saved preview images are not being published.

Additional context

Implementation owner: @DSBwizzard. @SpicyMarinara: maintainer direction is requested on the tradeoff below before marking the PR ready.

The local prototype replaces character whole-folder import with ordinary image selection and an Engine count confirmation. As a result, character imports no longer scan subfolders or restore a folder-export catalog; imported images are loose and can be organized using the existing folder controls. Persona whole-folder import remains available. This capability reduction will be the first point under the PR's What changed, following the agent workflow's maintainer-decision gate.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @DSBwizzard on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8849 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Character Sprites > Add sprites > Import folder uses a directory-upload input, so Chromium-family browsers can display their own "Are you sure you want to upload all files" warning before Engine receives the selection. The sprite upload control also displays "Uploading character sheet…" while importing sprite images. ## Expected behavior Browse into a folder using the ordinary cross-device image picker, select several images, and confirm their supported-image count in Engine before importing. Cancel uploads nothing. Both sprite and character-sheet upload controls in the character Sprites section should display "Uploading Images..." while uploading. The chosen browser-compatible approach selects individual images rather than requesting directory access. Existing folder organization, saved sprites, categories, duplicate-label handling, generation and export should be preserved. ## Actual behavior The directory picker can invoke browser-owned folder-upload confirmation. Application code cannot replace that browser security dialog. Sprite imports also use a misleading character-sheet progress label. ## Steps to reproduce 1. In staging's character editor, open Sprites > Manage > Add sprites. 2. Click Import folder and select a folder of images in a browser that confirms directory uploads. 3. Observe the browser-owned upload warning before application import handling. While uploading sprites, observe the character-sheet progress wording. ## Environment - Marinara Engine version: 2.5.1 in the isolated source/Docker reproduction preview. - Install type: source and isolated Docker preview. - OS + version: Windows; reporter's precise OS version was not supplied. - Browser or app shell: Chromium-family browser in the reported warning; automated validation also covers mobile Chromium and WebKit. ## Logs, screenshots, or video Synthetic before/after UI evidence and the final validation revision will be linked from the implementation PR. Reporter screenshots and saved preview images are not being published. ## Additional context Implementation owner: @DSBwizzard. @SpicyMarinara: maintainer direction is requested on the tradeoff below before marking the PR ready. The local prototype replaces character whole-folder import with ordinary image selection and an Engine count confirmation. As a result, character imports no longer scan subfolders or restore a folder-export catalog; imported images are loose and can be organized using the existing folder controls. Persona whole-folder import remains available. This capability reduction will be the first point under the PR's What changed, following the agent workflow's maintainer-decision gate. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-11-07 16:43:30 +07:00
Author
Owner

@DSBwizzard commented on GitHub (Nov 5, 2026):

@SpicyMarinara, PR #8851 is implemented, preview-tested by the requester, locally reviewed and validated, with the latest executed technical CI passing on 4f15905b7025223b7b596a21c743e52c39eb1dc1. The earlier Linux install failure is fixed, and the fresh Windows launcher/native checks pass. Before/after UI evidence and bounded restart controls are attached.

The remaining scope decision is whether to accept replacing character whole-folder import with the cross-device selected-image flow:

  • Users browse inside a folder, select images and confirm their supported-image count in Engine.
  • Character imports no longer scan subfolders or restore exported folder catalogs; new sprites start loose. Existing folder organization, category handling, generation, export and sprite identity remain.
  • Persona whole-folder import remains available.

The requester accepted this flow. Is that capability tradeoff acceptable for upstream? The PR remains draft under the workflow's capability-removal decision gate until you decide. Once accepted, I can mark it ready for Dottore and the usual owner review; this request does not change or bypass those gates. No merge is being requested.

<!-- gh-comment-id:6648118515 --> @DSBwizzard commented on GitHub (Nov 5, 2026): @SpicyMarinara, PR #8851 is implemented, preview-tested by the requester, locally reviewed and validated, with the latest executed technical CI passing on `4f15905b7025223b7b596a21c743e52c39eb1dc1`. The earlier Linux install failure is fixed, and the fresh Windows launcher/native checks pass. [Before/after UI evidence and bounded restart controls](https://gist.github.com/DSBwizzard/9586ba2652c0c19c48873f038a8893d7) are attached. The remaining **scope decision** is whether to accept replacing character whole-folder import with the cross-device selected-image flow: - Users browse inside a folder, select images and confirm their supported-image count in Engine. - Character imports no longer scan subfolders or restore exported folder catalogs; new sprites start loose. Existing folder organization, category handling, generation, export and sprite identity remain. - Persona whole-folder import remains available. The requester accepted this flow. Is that capability tradeoff acceptable for upstream? The PR remains draft under the workflow's capability-removal decision gate until you decide. Once accepted, I can mark it ready for Dottore and the usual owner review; this request does not change or bypass those gates. No merge is being requested.
Author
Owner

@SpicyMarinara commented on GitHub (Nov 5, 2026):

Fixed by #8851, merged into staging in e40b31999e. Thank you, @DSBwizzard.

<!-- gh-comment-id:6658155401 --> @SpicyMarinara commented on GitHub (Nov 5, 2026): Fixed by #8851, merged into staging in e40b31999e. Thank you, @DSBwizzard.
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#8521
No description provided.