Skip to content

Fix modal detection, light mode contrast, notification validation... - #990

Merged
robertocarlous merged 1 commit into
Neurowealth:mainfrom
johnsmccain:fix/audit-round6-issues-908-910-911-912
Sep 26, 2026
Merged

robertocarlous merged 1 commit into
Neurowealth:mainfrom
johnsmccain:fix/audit-round6-issues-908-910-911-912

Conversation

@johnsmccain

Copy link
Copy Markdown
Contributor

Summary

Fixes the following Round-6 audit issues:

Verification

  • Added/updated tests where applicable.
  • Verified light/dark mode behavior.
  • Verified notification persistence with valid and malformed data.
  • Verified WalletConnect modal detection and toast functionality.

Scope

Changes are limited to the affected files with no unrelated behavior changes.

Closes #912
Closes #911
Closes #910
Closes #908

…d toast memoization

Closes Neurowealth#912, Neurowealth#911, Neurowealth#910, Neurowealth#908

- Fix WalletConnectButton modal-detection to check descendants instead of only direct nodes, ensuring modal detection works when the matching class is on a descendant element
- Add test file for WalletConnectButton component to cover modal detection logic
- Fix unreadable search text in CommandPaletteDialog light mode by adding appropriate light-mode text-color variants to input, list items, and icons
- Add shape validation to useNotifications localStorage read with per-item validation following the guard pattern used in onboarding-state.ts
- Memoize ToastProvider's context value with useMemo and wrap functions in useCallback to prevent unnecessary re-renders of all useToast consumers
@drips-wave

drips-wave Bot commented Sep 26, 2026

Copy link
Copy Markdown

@johnsmccain 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

@robertocarlous
robertocarlous merged commit 4c06e9b into Neurowealth:main Sep 26, 2026
1 check failed
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