Skip to content

fix: add Badge icon prop, Storage security error handling, Logo text, Toast memo - #644

Merged
nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
benfoster-dev:fix/badge-icon-storage-security-logo-text-toast-memo
Sep 24, 2026
Merged

nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
benfoster-dev:fix/badge-icon-storage-security-logo-text-toast-memo

Conversation

@benfoster-dev

Copy link
Copy Markdown
Contributor

Closes #600
Closes #601
Closes #602
Closes #603

What changed

Details

#600 - Badge Custom Icons

  • Added optional icon prop to BadgeProps interface
  • Custom icon takes precedence over status-based icons

#601 - Storage SecurityError Handling

  • Added warnSecurityError helper that logs warning once per session
  • Detects SecurityError DOMException and warns about disabled storage
  • Applied to get, set, remove, getSession, setSession, removeSession

#602 - LogoWordmark Text Color

  • Extracted shield text color to a variable for clarity
  • Ensures proper contrast: text-gray-900 for light mode, text-white for dark mode

#603 - ToastItem Memo

  • Wrapped ToastItem component with React.memo
  • Prevents re-rendering all toasts when one is dismissed

… text, ToastItem memo

Closes Parashield-Protocol#600
Closes Parashield-Protocol#601
Closes Parashield-Protocol#602
Closes Parashield-Protocol#603

- Add optional icon prop to Badge component for custom icons (Parashield-Protocol#600)
- Detect SecurityError in storage module and warn once (Parashield-Protocol#601)
- Fix LogoWordmark variant for shield text color visibility (Parashield-Protocol#602)
- Memoize ToastItem to prevent unnecessary re-renders (Parashield-Protocol#603)
@drips-wave

drips-wave Bot commented Sep 24, 2026

Copy link
Copy Markdown

@benfoster-dev 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

@netlify

netlify Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for boisterous-sunshine-dd4c4c failed.

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

@nonsobethel0-dev
nonsobethel0-dev merged commit 2a00e12 into Parashield-Protocol:main Sep 24, 2026
0 of 5 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