feat: add network detection and switching (#69)#641
Conversation
e26ed21 to
3042e94
Compare
|
please i have tried all i could please help me merge this issue the issue on the ci test is not what i an fix |
|
Possible reasons:
🤖 Drips Wave Merge Agent |
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 34266369 | Triggered | Generic Password | f86b340 | backend/config/tests/redis.test.ts | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
|
boss can i be awarded please |
Go and check the drips guidelines for reward. Thank you for contributing to the project. Do well to leave a review 🙏 |
Summary
Implements issue #69 — network detection and switching for SubTrackr.
Changes
src/hooks/useNetwork.ts—useNetworkhook wrappinguseNetworkStore, auto-initializes on mount, exposesswitchNetwork,checkHealth,refreshNetworkssrc/components/common/NetworkSwitcher.tsx— UI component listing Stellar/EVM networks with tap-to-select, testnet badges, and accessibility rolessrc/screens/NetworkSettingsScreen.tsx— screen showing active network, the switcher, and an on-demand health checksrc/navigation/types.ts— addedNetworkSettingsroutesrc/navigation/AppNavigator.tsx— registeredNetworkSettingsScreenin SettingsStacksrc/screens/SettingsScreen.tsx— added Network Settings linkTests
24 new tests across 2 suites, all passing:
src/hooks/__tests__/useNetwork.test.ts(11 tests)src/services/__tests__/networkService.test.ts(13 tests)What was tested
closes 🔧 Fix getUpcomingSubscriptions performance #64