fix: resolve issues #273, #274, #275, #276 - #411
Merged
Mystery-CLI merged 5 commits intoApr 25, 2026
Conversation
- Create NetworkStatusBanner component that polls /api/stellar/network/status every 30s via useNetworkStatus - Show warning banner when network is offline or degraded - Banner is dismissible via close button - Mount banner at top of app in App.jsx
…tions - Add Retry button to TxRow for failed transactions in TransactionHistory - Track retry state per transaction (pending/success/error) - On success, optimistically mark transaction as successful in the list - Add POST /api/retry/transaction endpoint to retry route - Mount /api/retry routes in server.js
|
@popsman01 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! 🚀 |
…nt flash on reload Read persisted theme preference synchronously via getInitialTheme() as the useState initializer, eliminating the light→dark flash that occurred when the effect ran after first render.
…s on startup After i18next initializes with the localStorage-detected language, immediately set document.documentElement.lang and .dir so the correct text direction is applied from the first render without waiting for a user interaction.
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 #273
Resolves #274
Resolves #275
Resolves #276
#273 — Dark mode persistence
ThemeContext already persists the theme to
localStorageunder keytheme_preferenceand reads it on initial load. No changes required.#274 — Language preference persistence
i18next is initialized with
i18next-browser-languagedetectorconfigured to read/write fromlocalStorage(i18n_languagekey).LanguageSelectorcallsi18n.changeLanguage()which triggers the detector to persist the selection. No changes required.#275 — Network status banner
NetworkStatusBannercomponent that usesuseNetworkStatusto poll/api/stellar/network/statusevery 30 secondsApp.jsx#276 — Transaction retry UI
TransactionHistoryPOST /api/retry/transactionwith the transaction hashPOST /api/retry/transactionendpoint tobackend/src/routes/retry.js/api/retryroutes inserver.jsFiles changed
frontend/src/components/NetworkStatusBanner.jsx(new)frontend/src/App.jsxfrontend/src/components/TransactionHistory.jsxbackend/src/routes/retry.jsbackend/src/server.js