Repository navigation
feat(mobile): responsive UI for Android & compact screens, bottom navigation bar, safe area insets - #72
Merged
Conversation
…ar, safe area insets and panic logging for Android
…n, larger bottom safe area, clean empty state
…s in planning, graph and threads toolbars
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
Adapts the egui desktop UI for portrait mobile viewports and Android (
NativeActivity/arm64-v8a):widgets/bottom_nav.rs): 48 pt touch-friendly 5-tab bar (Page, Graph, Planning, Threads, Search) replacing the desktopWorkspaceStripon compact screens (width < 640.0 ptor Android).⋮): Replaces window caption buttons on mobile with a compact titlebar and 3-dots overflow menu containing folder sync (sync_folder), IMAP email sync (open_imap), appearance (appearance), command palette, integrations, FAQ, and locale toggle.onboarding,appearance,confirm_delete,faq,shortcuts) adapt dynamically to screen width (clamp(280.0, ...)), fixing the issue where the onboarding tour dialog (hardcoded 560 pt) was cut off horizontally on phones.planning_view.rs: task statistics moved to header subtitle on compact screens, preventing text overlap with the 4 segment tabs.graph/mod.rs&threads_view.rs: compact toolbar buttons without overflowing hint labels.android_logger(logcat), and fallback forsettings_dir()tovault::app_data_dir()when desktop env vars (APPDATA,HOME,XDG_CONFIG_HOME) are missing.feat/**branches in.github/workflows/android.yml.Detailed maintainer documentation:
docs/NATIVE_MOBILE_RESPONSIVE_UI.md.Verification
cargo test --manifest-path native/Cargo.toml --lib -j 1.widgets/bottom_nav.rsandmodals/onboarding.rs.Debug APK (arm64-v8a)) and tested on physical Android device.