[PR #371] [MERGED] chore(settings): clarify backup/export labeling #4587

Closed
opened 2026-10-22 04:08:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/371
Author: @cha1latte
Created: 5/3/2026
Status: ✅ Merged
Merged: 5/3/2026
Merged by: @SpicyMarinara

Base: main ← Head: chore/clarify-backup-export-labels


📝 Commits (1)

  • 496bae5 chore(settings): clarify backup/export labeling

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 packages/client/src/components/panels/SettingsPanel.tsx (+2 -2)

📄 Description

Summary

Renames the "Import Profile (Full Export)" button to "Import Profile (JSON)" and rewrites the Backup & Export tooltip so the import/export labels visibly pair up.

Why

A user reported being unable to import a .zip from Settings → Advanced → Backup & Export → Download Backup via Settings → Import → Import Profile (Full Export). The labels mislead: "Import Profile (Full Export)" actually pairs with Export Profile (JSON) further down the Advanced tab, not with the .zip from Download Backup.

The tooltip on Backup & Export additionally claimed the feature is "useful on mobile where the server's data folder isn't directly accessible" — but the .zip currently has no in-app restore path on mobile (manual data-folder extraction isn't reachable there), so the framing was actively misleading.

This PR is labeling-only. It does not add a .zip restore endpoint — that's a separate, larger piece of work and stays out of scope here.

Known limitations

  • The .zip from "Backup & Export → Download Backup" still has no in-app restore. Restoring it requires manually extracting the archive into the server's data folder. The new tooltip text says so honestly.

Test plan

  • Settings → Import → green button reads "Import Profile (JSON)"; clicking it opens a .json file picker; importing a real marinara-profile.json still succeeds.
  • Settings → Advanced → Backup & Export → hover the (?) tooltip → text reads cleanly and points at "Export Profile (JSON)".
  • Tooltip renders correctly at ~400px viewport width (no clipping or overflow).
  • pnpm check passes locally.

Screenshots

Updated import button:
image

Updated Backup & Export tooltip:
image

Summary by CodeRabbit

  • Documentation
    • Updated Settings import section label for profile import format clarity.
    • Enhanced backup and export guidance with clearer instructions on manual extraction and the recommended migration approach for profile data.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/371 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/3/2026 **Status:** ✅ Merged **Merged:** 5/3/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `chore/clarify-backup-export-labels` --- ### 📝 Commits (1) - [`496bae5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/496bae56db3fcc39945b5286f558cc64fd9966f6) chore(settings): clarify backup/export labeling ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+2 -2) </details> ### 📄 Description ## Summary Renames the "Import Profile (Full Export)" button to "Import Profile (JSON)" and rewrites the Backup & Export tooltip so the import/export labels visibly pair up. ## Why [A user](https://discord.com/channels/1417099416812392641/1499895691412242554) reported being unable to import a `.zip` from **Settings → Advanced → Backup & Export → Download Backup** via **Settings → Import → Import Profile (Full Export)**. The labels mislead: "Import Profile (Full Export)" actually pairs with **Export Profile (JSON)** further down the Advanced tab, not with the `.zip` from Download Backup. The tooltip on Backup & Export additionally claimed the feature is "useful on mobile where the server's data folder isn't directly accessible" — but the `.zip` currently has no in-app restore path on mobile (manual data-folder extraction isn't reachable there), so the framing was actively misleading. This PR is labeling-only. It does not add a `.zip` restore endpoint — that's a separate, larger piece of work and stays out of scope here. ## Known limitations - The `.zip` from "Backup & Export → Download Backup" still has no in-app restore. Restoring it requires manually extracting the archive into the server's data folder. The new tooltip text says so honestly. ## Test plan - [x] Settings → Import → green button reads **"Import Profile (JSON)"**; clicking it opens a `.json` file picker; importing a real `marinara-profile.json` still succeeds. - [x] Settings → Advanced → Backup & Export → hover the (?) tooltip → text reads cleanly and points at "Export Profile (JSON)". - [x] Tooltip renders correctly at ~400px viewport width (no clipping or overflow). - [x] `pnpm check` passes locally. ## Screenshots _Updated import button:_ <img width="217" height="170" alt="image" src="https://github.com/user-attachments/assets/57c0baa0-4084-43ec-bdaa-c8b312cd46cf" /> _Updated Backup & Export tooltip:_ <img width="225" height="212" alt="image" src="https://github.com/user-attachments/assets/ad7c3854-7ed3-4b1e-9fa9-e70b00ebf0b1" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated Settings import section label for profile import format clarity. * Enhanced backup and export guidance with clearer instructions on manual extraction and the recommended migration approach for profile data. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:08:57 +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#4587
No description provided.