mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1847] [MERGED] Fix profile import export parity #5317
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#5317
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1847
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-1811-profile-import-export📝 Commits (1)
6af2fceFix profile import export parity📊 Changes
14 files changed (+479 additions, -45 deletions)
View changed files
📝
src-tauri/src/commands/storage/backup.rs(+18 -0)📝
src-tauri/src/commands/storage/commands/profile.rs(+14 -2)📝
src-tauri/src/commands/storage/exports.rs(+42 -0)📝
src-tauri/src/commands/storage/profile.rs(+146 -6)📝
src-tauri/src/commands/storage/profile/assets.rs(+29 -15)📝
src-tauri/src/commands/storage/profile/zip_import.rs(+50 -0)📝
src-tauri/src/http_dispatch.rs(+8 -1)📝
src-tauri/src/lib.rs(+1 -0)📝
src/features/shell/settings/components/ProfileImportSection.test.tsx(+35 -2)📝
src/features/shell/settings/components/ProfileImportSection.tsx(+37 -6)📝
src/features/shell/settings/components/SettingsPanel.tsx(+57 -7)📝
src/shared/api/profile-api.ts(+32 -3)📝
src/shared/api/remote-runtime.ts(+1 -0)📝
src/shared/components/ui/ExportFormatDialog.tsx(+9 -3)📄 Description
Linked issue
Closes #1811
Why this change
What changed
Refactor impact
Primary owner:
Impact areas reviewed:
Boundary notes:
src/shared/api/profile-api.tsinstead of raw Tauri or remote fetch.Pressure points touched:
src-tauri/src/lib.rscommand registrationValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo test --manifest-path src-tauri\Cargo.toml profile_zip_assets_warn_manifest_entries_without_matching_filecargo test --manifest-path src-tauri\Cargo.toml import_profile_zip_warns_and_preserves_data_when_asset_file_is_missingcargo test --manifest-path src-tauri\Cargo.toml profile_export_supports_compatible_and_zip_formatscargo test --manifest-path src-tauri\Cargo.toml profile_upload_import_accepts_json_payloadspnpm exec vitest run src\features\shell\settings\components\ProfileImportSection.test.tsxpnpm typecheckcargo check --manifest-path src-tauri\Cargo.tomlpnpm checknode C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonFeature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.