From 2c2af3d049594c9bce5254505dac178db2c2650c Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Fri, 21 Aug 2026 19:06:47 +0900 Subject: [PATCH] WIP --- .../task.artifact.md | 20 ------------- .../walkthrough.artifact.md | 30 ------------------- 2 files changed, 50 deletions(-) delete mode 100644 .artifacts/b3cb996b-7f1f-4810-999d-5be96c526f74/task.artifact.md delete mode 100644 .artifacts/b3cb996b-7f1f-4810-999d-5be96c526f74/walkthrough.artifact.md diff --git a/.artifacts/b3cb996b-7f1f-4810-999d-5be96c526f74/task.artifact.md b/.artifacts/b3cb996b-7f1f-4810-999d-5be96c526f74/task.artifact.md deleted file mode 100644 index 7fec665..0000000 --- a/.artifacts/b3cb996b-7f1f-4810-999d-5be96c526f74/task.artifact.md +++ /dev/null @@ -1,20 +0,0 @@ -- [x] Task 1: Define Colors and Theme -- [x] Task 2: Create Initial Reusable Components -- [x] Task 3: Implement Initial Screens (Splash, Onboarding) -- [ ] Task 4: Complete Wallet Setup Flow - - [ ] Add `MnemonicDisplayScreen` (24-word grid) - - [ ] Add `MnemonicVerifyScreen` (Verification challenge) - - [ ] Add `MnemonicInputScreen` (Recovery input) - - [ ] Add `SetupSuccessScreen` (Reusable success layout) -- [ ] Task 5: Implement Transaction Flow - - [ ] Add `SendFormScreen` (Amount, Address, Dropdowns) - - [ ] Add `SendReviewScreen` (Confirmation) - - [ ] Add `QRScannerScreen` (Scanning mockup) - - [ ] Add `QRReceiveScreen` (QR display) -- [ ] Task 6: Implement Management & Settings - - [ ] Add `SettingsScreen` (Biometrics toggle) - - [ ] Add `ManageOverviewScreen` (Wallets/Accounts list) - - [ ] Add `WalletDetailScreen` and `AccountDetailScreen` - - [ ] Add `DeleteConfirmationScreen` - - [ ] Add `ExplorerScreen` (Placeholder for Transactions) -- [ ] Task 7: Update Router in MainActivity diff --git a/.artifacts/b3cb996b-7f1f-4810-999d-5be96c526f74/walkthrough.artifact.md b/.artifacts/b3cb996b-7f1f-4810-999d-5be96c526f74/walkthrough.artifact.md deleted file mode 100644 index 5c58c22..0000000 --- a/.artifacts/b3cb996b-7f1f-4810-999d-5be96c526f74/walkthrough.artifact.md +++ /dev/null @@ -1,30 +0,0 @@ -# Walkthrough - Edge-to-Edge Layout Fixes - -I have implemented comprehensive edge-to-edge layout support across the GajuMobile wallet. This ensures that UI elements, particularly bottom action buttons, are correctly positioned above system software navigation bars and below the status bar, preventing any awkward overlap on modern Android devices. - -## Changes Made - -### [core] -- **[MODIFY] [MainActivity.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/MainActivity.kt):** Disabled `isNavigationBarContrastEnforced` to allow the app's custom theme and backgrounds to flow seamlessly into the system navigation area. - -### [ui-components] -- **[MODIFY] [GajuComponents.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/components/GajuComponents.kt):** - - Updated `GajuBottomNavigation` to use `windowInsetsPadding(WindowInsets.navigationBars)`, ensuring the navigation icons stay above the system buttons. - - Refactored `SuccessLayout` to use a proper `Scaffold` with a fixed `bottomBar` for action buttons, utilizing `innerPadding` for the main scrollable content. - -### [ui-screens] -- **[OnboardingFlow.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/OnboardingFlow.kt) & [SplashScreen.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/SplashScreen.kt):** Applied `safeDrawingPadding()` to top-level containers to keep branding and buttons within the safe viewport. -- **[WalletSetupScreens.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/WalletSetupScreens.kt), [TransactionScreens.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/TransactionScreens.kt), & [ManagementScreens.kt](file:///home/ceverett/vcs/android/MyApplication/app/src/main/java/swiss/qpq/gajumobile/ui/screens/ManagementScreens.kt):** - - Refactored screens with bottom buttons (e.g., Mnemonic Grid, Send Form, Manage Detail) to use `Scaffold`. - - Moved action buttons into the `bottomBar` slot, ensuring they are fixed and correctly spaced above system navigation. - - Wrapped middle content in `verticalScroll` and applied `innerPadding`, allowing long lists (like the 24-word recovery grid) to scroll properly without being cut off. - -## Layout Improvements -- **Fixed Overlap:** Critical buttons like "CONTINUE", "NEXT", and "SEND" are now guaranteed to be tappable and visible above software buttons. -- **Scrolling Robustness:** Long forms and lists now utilize the full height of the screen, scrolling behind the transparent system bars while maintaining clear interaction boundaries. - -## Verification Results - -### Build & Deploy -- Successfully executed `./gradlew assembleDebug`. -- Verified in Compose Preview that the `bottomBar` correctly accounts for system insets in both Dark and Light modes.