pancake-frontend
pancake-frontend copied to clipboard
feat: Sg indicator shows down in mobile when background and add explorer indicator
When in mobile wallets with dapp browsers app put it into background for some time, when in foreground it first shows Down until next interval. It happens intermittently.
This pr will also reduce the blocknumber calls since it will use initialBlockNumber
PR-Codex overview
This PR updates health indicators to use a unified API status enum and reorganizes imports for consistency.
Detailed summary
- Added
ApiStatusenum for health indicators - Replaced
SubgraphHealthIndicatorwithApiHealthIndicator - Updated translations key
- Refactored health indicator components and hooks
The following files were skipped due to too many changes:
apps/web/src/hooks/useExplorerHealth.ts,apps/web/src/components/SubgraphHealthIndicator/SubgraphHealthIndicator.tsx,apps/web/src/hooks/useSubgraphHealth.ts
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}
⚠️ No Changeset found
Latest commit: b2abb820ead4a5289097f3976cef20fdd65e5102
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| aptos-web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 22, 2024 8:09am |
| blog | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 22, 2024 8:09am |
| bridge | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 22, 2024 8:09am |
| games | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 22, 2024 8:09am |
| gamification | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 22, 2024 8:09am |
| uikit | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 22, 2024 8:09am |
| web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 22, 2024 8:09am |
@memoyil please help resolve the conflict
@memoyil please help resolve the conflict
Done