Skip to content

Add task.md with incoming changes#499

Open
codenerde wants to merge 4 commits into
CredenceOrg:mainfrom
codenerde:new_fixes
Open

Add task.md with incoming changes#499
codenerde wants to merge 4 commits into
CredenceOrg:mainfrom
codenerde:new_fixes

Conversation

@codenerde

@codenerde codenerde commented Jun 30, 2026

Copy link
Copy Markdown

Close #374

Close #393

Close #380

Close #382

codenerde and others added 2 commits June 29, 2026 21:16
- Detect chunk-load errors by analyzing error messages
- Show network-type ErrorState for chunk-load failures
- Maintain existing retry functionality
- Add comprehensive tests

Closes CredenceOrg#382

Co-authored-by: openhands <openhands@all-hands.dev>
@drips-wave

drips-wave Bot commented Jun 30, 2026

Copy link
Copy Markdown

@codenerde 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! 🚀

Learn more about application limits

codenerde added 2 commits July 3, 2026 10:34
Closes CredenceOrg#382

- Remove errorElement from root Route in App.tsx so chunk-load errors
  propagate to ErrorBoundary instead of being caught by RouteErrorPage
- Tighten isChunkLoadError detection: remove over-broad 'load' match,
  add precise patterns for Vite/Webpack chunk-load errors
- Add regression test verifying ErrorBoundary catches chunk-load errors
  from lazy-loaded routes and shows retry UI (connection issue + try again)
- Fix existing test error messages to not trigger chunk-load detection

User-visible impact: chunk-load failures (network blips, deploy
skew) now show a branded 'Connection issue' panel with a 'Try again'
button instead of a white screen or the generic route error page.
Previously some users were refreshing the page as a workaround;
the retry button makes this a one-click recovery.
Closes CredenceOrg#380, Closes CredenceOrg#393, Closes CredenceOrg#374

CredenceOrg#380 - Persist theme preference across reloads (FOUC fix)
- Add inline script in index.html reading credence:settings from localStorage
  before React renders, preventing flash-of-unstyled-content on reload
- Resolves 'system' preference via matchMedia inline matching SettingsContext
- Update docs/dark-mode.md with FOUC guard documentation

CredenceOrg#393 - Add explicit loading state to connect-wallet button
- Add isLoading support to EmptyState action prop (disabled + aria-busy +
  visual dimming + 'Connecting...' text)
- Wire isConnecting to Dashboard EmptyState action button
- Wire isConnecting to Bond 'Create Bond / Connect to Continue' button
  loading/disabled state to prevent double-clicks while extension opens
- Fix pre-existing bond: add missing connect/isConnecting destructuring,
  add missing useTranslation calls, fix undefined openConnectModal ref

CredenceOrg#374 - Skeleton loaders for primary data lists
- Verified all data-fetching pages (Dashboard, Transactions, TrustScore,
  TrustSummary) already use LoadingSkeleton with appropriate variants
- No remaining spinner-only loading for data lists

Other: add i18n config import to test-setup.ts so tests can use
useTranslation without setup errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant