Skip to content

fix: resolve SearchBar, SEO, accessibility, and performance issues (#420, #419, #418, #417) - #510

Merged
nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
financialcrackerjack-max:fix/searchbar-seo-a11y-perf
Aug 29, 2026
Merged

fix: resolve SearchBar, SEO, accessibility, and performance issues (#420, #419, #418, #417)#510
nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
financialcrackerjack-max:fix/searchbar-seo-a11y-perf

Conversation

@financialcrackerjack-max

@financialcrackerjack-max financialcrackerjack-max commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Overview

This PR addresses all 4 assigned issues in a single comprehensive fix.

Issues Resolved

[#420] SearchBar fires onSearch on every render — fragile isMountedRef pattern

  • Fix: Removed fragile useRef/isMountedRef pattern from SearchBar.tsx
  • Result: Simplified to direct useEffect with proper dependency tracking
  • File: src/components/SearchBar.tsx

[#419] Dashboard and claims pages have no page-level metadata

  • Fix: Created layout files with metadata exports
  • Result: Each authenticated page now has descriptive SEO titles and descriptions
  • Files:
    • New: src/app/dashboard/layout.tsx
    • New: src/app/claims/layout.tsx

[#418] ConnectWalletPrompt missing aria-busy during connection

  • Fix: Added aria-busy attribute and aria-live region
  • Result: Screen readers now properly announce connection status
  • File: src/components/ConnectWalletPrompt.tsx

[#417] Dashboard totalCov/totalPaid BigInt reductions not memoized

  • Fix: Wrapped active filter and calculations with useMemo
  • Result: Eliminates unnecessary recalculation on unrelated state changes
  • File: src/app/dashboard/page.tsx

closes #417
closes #418
closes #419
closes #420

…arashield-Protocol#420, Parashield-Protocol#419, Parashield-Protocol#418, Parashield-Protocol#417)

- [Parashield-Protocol#420] SearchBar: remove fragile isMountedRef pattern and simplify to direct useEffect with query dependency
- [Parashield-Protocol#419] SEO: add page-level metadata layouts for dashboard and claims pages
- [Parashield-Protocol#418] Accessibility: add aria-busy attribute to ConnectWalletPrompt button during connection
- [Parashield-Protocol#417] Performance: memoize dashboard active policies filter and totalCov/totalPaid BigInt reductions
@netlify

netlify Bot commented Aug 29, 2026

Copy link
Copy Markdown

Deploy Preview for boisterous-sunshine-dd4c4c failed.

Name Link
🔨 Latest commit e925005
🔍 Latest deploy log https://app.netlify.com/projects/boisterous-sunshine-dd4c4c/deploys/6a926d0826635e00088bb117

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@financialcrackerjack-max 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

@nonsobethel0-dev
nonsobethel0-dev merged commit 49af615 into Parashield-Protocol:main Aug 29, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants