mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1811] [Issue]: Settings profile import/export lost legacy format and recovery options #891
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#891
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Xelvanis on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1811
Originally assigned to: @cha1latte on GitHub.
Summary
Settings profile import/export on the refactor branch appears to have lost legacy user-facing options for full-profile compatible export, ZIP fallback, and partial ZIP import recovery. The current settings path exposes JSON-only export, remote JSON-only import, and hard-fails some missing-asset ZIP cases that legacy handled with warnings.
Expected behavior
Actual behavior
Static code comparison found:
src/shared/api/profile-api.tsexposesexportProfile()with no format option.Export Profile (JSON)only insrc/features/shell/settings/components/SettingsPanel.tsx.src-tauri/src/commands/storage/profile.rsaccepts only native profile JSON export and rejects other formats.src/features/shell/settings/components/ProfileImportSection.tsxaccepts JSON only.src-tauri/src/commands/storage/profile/assets.rsexpects invalid input when the manifest references a missing file.Legacy comparison found:
native,compatible, andzipprofile export formats./backup/export-profile?format=compatibleand/backup/export-profile?format=zip.PROFILE_EXPORT_JSON_TOO_LARGEfallback hint to ZIP.Steps to reproduce
Export Profile (JSON)instead of a format picker.Impact area
Environment
origin/refactorat84f40efdLogs, screenshots, or video
No logs or screenshots. This issue comes from static parity comparison against the legacy implementation.
Regression notes
This appears to be a refactor parity regression from the legacy settings/profile flow:
native,compatible, andzipoptions.Related: #1572 tracks a broader future profile format that scales beyond monolithic JSON. This issue is narrower: restore current user-facing parity where practical, or explicitly decide which legacy Settings import/export behaviors are intentionally retired.
Additional context
Import/export touches destructive profile replacement and user data recovery. Any fix should keep destructive confirmation explicit, validate profile data at the storage boundary, and keep desktop and remote-runtime behavior intentionally documented.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (Jun 1, 2026):
Closed in #1847