Skip to content

Harden image config, fix sponsor error state, add FAQ a11y, differentiate callback errors - #326

Merged
chonilius merged 1 commit into
MergeFi:mainfrom
boys-cyberhub:feat/stellar-wave-features
Aug 25, 2026
Merged

chonilius merged 1 commit into
MergeFi:mainfrom
boys-cyberhub:feat/stellar-wave-features

Conversation

@boys-cyberhub

Copy link
Copy Markdown
Contributor

Summary

  • Add contentSecurityPolicy and contentDispositionType: "attachment" to next.config.ts images config to prevent XSS via dangerouslyAllowSVG
  • Set isLive(true) on sponsor dashboard fetch error to match contributor page behavior and avoid misleading "Demo data" badge after a real fetch fails
  • Add aria-hidden="true" to FAQ expand + indicator for screen readers
  • Show different error hints for missing token vs backend unreachable in OAuth callback

Closes #266
Closes #267
Closes #268
Closes #269

Test plan

  • Verify next.config.ts builds without errors
  • Confirm FAQ + indicator is hidden from screen readers
  • Confirm sponsor dashboard shows "Live data" badge on fetch error (matching contributor page)
  • Confirm OAuth callback shows distinct messages for missing token vs backend unreachable

…a11y, differentiate callback errors

- Add contentSecurityPolicy and contentDispositionType to next.config images
  to prevent XSS via dangerouslyAllowSVG
- Set isLive(true) on sponsor dashboard fetch error to match contributor
  page behavior and avoid misleading "Demo data" badge after real fetch fails
- Add aria-hidden to FAQ expand indicator for screen readers
- Show different error hints for missing token vs backend unreachable in
  OAuth callback

Closes MergeFi#266
Closes MergeFi#267
Closes MergeFi#268
Closes MergeFi#269
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

@boys-cyberhub is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 25, 2026

Copy link
Copy Markdown

@boys-cyberhub 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment