mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2125] [MERGED] Add profile import preview confirmation #5450
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#5450
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/2125
Author: @Xelvanis
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @Xelvanis
Base:
refactor← Head:feature/profile-import-preview📝 Commits (4)
6a2bc64Add profile import preview confirmation578dc30Harden profile import preview parityb5f3047Bound profile ZIP asset readsdb07885Cap inline profile asset payloads📊 Changes
10 files changed (+1642 additions, -178 deletions)
View changed files
📝
src-tauri/src/commands/storage/commands/profile.rs(+23 -2)📝
src-tauri/src/commands/storage/profile.rs(+689 -60)📝
src-tauri/src/commands/storage/profile/assets.rs(+194 -9)📝
src-tauri/src/commands/storage/profile/legacy.rs(+92 -13)📝
src-tauri/src/commands/storage/profile/zip_import.rs(+296 -40)📝
src-tauri/src/http_dispatch.rs(+2 -0)📝
src-tauri/src/http_server.rs(+49 -0)📝
src-tauri/src/lib.rs(+2 -0)📝
src/features/shell/settings/components/ProfileImportSection.tsx(+249 -52)📝
src/shared/api/profile-api.ts(+46 -2)📄 Description
Linked issue
N/A
Why this change
What changed
/api/profile/import/previewroute.Refactor impact
Primary owner:
Impact areas reviewed:
Boundary notes:
profileApiwrapper.Pressure points touched:
src-tauri/src/lib.rscommand registration.src-tauri/src/commands/storage/profile*.src-tauri/src/http_server.rs.Validation
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_import_preview -- --nocapturepassed.cargo test --manifest-path src-tauri/Cargo.toml profile_import_legacy_array -- --nocapturepassed.cargo test --manifest-path src-tauri/Cargo.toml preview_profile_zip -- --nocapturepassed.cargo test --manifest-path src-tauri/Cargo.toml profile_file_import_rejects_file_changed_after_preview -- --nocapturepassed.cargo test --manifest-path src-tauri/Cargo.toml storage_commands::profile:: -- --nocapturepassed on the rebased branch.pnpm typecheckpassed.pnpm check:architecturepassed.cargo check --manifest-path src-tauri/Cargo.tomlpassed.pnpm checkpassed on the rebased branch.git diff --checkpassed.Feature 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.mdNotes:
UI evidence
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.