feat: mobile UI — merge config, data explorer, merge history#47
Merged
Conversation
- Merge screen now shows source comparison + config panel before starting - Preset profiles (Keep everything, Prefer A, Prefer B) - Advanced strategy selectors per data type - Cancel button to abort the flow - Data explorer screen with tabs: Stats, Notes, Highlights, Bookmarks, Tags - Full-text search for notes - Color-coded highlights with block ranges - Expandable tag tree with item counts - Explore button on backup cards (import screen) and export screen - Merge history section in Settings with clear button - Merge config persisted to AsyncStorage, restored on app launch - Merge strategies threaded through to core merge functions Closes #23
- Storage module using expo-file-system (document dir) + AsyncStorage for metadata - BackupMeta with isMerged, parentIds, isSourceOfTruth fields - Library screen: source of truth card, add backup (auto-merge), quick merge, imported files list - Import screen redirects to library when source of truth exists - Merge saves result as source of truth in library mode - Export screen shows "Saved as source of truth" badge, "Back to library" button - Cancel cleans up pending backups from storage - Storage init on app launch restores config + history + source of truth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports key web features to the React Native mobile app:
Merge Configuration
Data Explorer
Merge History
Store Updates
mergeConfig,mergeHistory,explorerDataloadPersistedConfig()restores saved config + history on launchopenExplorer()/closeExplorer()for data exploration navigationCloses #23
Test plan
pnpm --filter @jw-notes-sync/i18n build