fix: mobile improvements - env handling, logging, dark mode, pull-to-refresh#84
Merged
phertyameen merged 1 commit intoApr 27, 2026
Conversation
, bridgelet-org#83 - mobile improvements - bridgelet-org#80: Add env config (mobile/app/src/config/env.ts) with EXPO_PUBLIC_ prefixed vars; update apiClient to use env.apiUrl; add .env.example - bridgelet-org#81: Create structured logger (mobile/services/logger/) with log levels and production-safe output; replace console.log in apiClient - bridgelet-org#82: Add Colors constants, useThemeColors hook, ThemeToggle component; update all screens to use dynamic theme colors from ThemeProvider - bridgelet-org#83: Add RefreshControl to send, claim, and security screens Closes bridgelet-org#80, Closes bridgelet-org#81, Closes bridgelet-org#82, Closes bridgelet-org#83
|
@BigBen-7 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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
Resolves four open issues assigned to bigben-7 in the mobile app.
Changes
#80 — Improve environment variable handling
mobile/.env.examplewith documented env varsmobile/app/src/config/env.tsas the single source of truth for env config usingEXPO_PUBLIC_prefix (required by Expo)apiClient.tsto readAPI_BASE_URLfrom the env config instead of a hardcoded string#81 — Standardize logging across mobile application
mobile/services/logger/index.tswith structured log levels (debug,info,warn,error)warnin production, safe for all environmentsconsole.loginapiClient.tswith the new logger#82 — Implement full dark mode across mobile app
mobile/app/src/constants/Colors.tswith complete dark/light palettesuseThemeColorshook that reads from the existingThemeProviderThemeTogglecomponent (light / dark / system switcher)send,claim,claim/success,security,onboarding,index) to use dynamic theme colors — no more hardcoded hex values#83 — Add pull-to-refresh functionality
RefreshControltosend/index.tsx,claim/index.tsx, andsecurity/index.tsxTesting
ThemeProvider.envfilesCloses #80
Closes #81
Closes #82
Closes #83