Rename mark to staged and staged to differ#391
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f10ce2e78e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| /// Base data directory: `~/.staged/` | ||
| pub fn data_dir() -> Option<PathBuf> { | ||
| dirs::home_dir().map(|d| d.join(".mark")) | ||
| dirs::home_dir().map(|d| d.join(".staged")) |
There was a problem hiding this comment.
Avoid colliding Staged data dir with legacy standalone prefs
Pointing the main app data root to ~/.staged reuses the exact location the old standalone Staged app already used for preferences.json; when that file exists, migrate_legacy_preferences_file exits early, so Mark-era preferences from ~/.mark/preferences.json are not migrated for users who had both apps installed. In that upgrade path, users silently lose their prior main-app settings after the rename, so the migration should handle pre-existing standalone prefs instead of treating them as authoritative.
Useful? React with 👍 / 👎.
Summary
apps/stagedapp toapps/differand update its package, Tauri, and doc identityapps/markapp toapps/stagedand update root commands, installers, launcher script, and brandingTesting