Skip to content

feat: add error boundary, funding progress bar, status badge, and por… - #15

Merged
Chucks1093 merged 2 commits into
StellarState:devfrom
Mikey-222:feat/invoice-improvements
Jul 28, 2026
Merged

feat: add error boundary, funding progress bar, status badge, and por…#15
Chucks1093 merged 2 commits into
StellarState:devfrom
Mikey-222:feat/invoice-improvements

Conversation

@Mikey-222

Copy link
Copy Markdown
Contributor

closes #5
closes #6
closes #9
closes #10

  • Add ErrorBoundary component with retry capability for catching render errors
  • Add DocumentPreview with IPFS error boundary fallback and download link
  • Add FundingProgressBar with animation, green at 100%, and XLM display
  • Add InvoiceStatusBadge with colored pills for all invoice states
  • Add portfolio utility for calculating active investment totals
  • Add structured client-side error logger
  • Update InvoiceDetail to use new components
  • Add vitest config and setup for testing
  • Add 23 unit tests across 3 test suites

Description

Closes #

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update
  • 🎨 UI/UX improvement
  • ♻️ Code refactoring
  • ✅ Test addition or update
  • 🔧 Configuration change

Checklist

  • My code follows the code style of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Testing

How to Test

  1. Step one
  2. Step two
  3. Step three

Test Coverage

  • Unit tests added/updated
  • Integration tests added/updated
  • E2E tests added/updated (if applicable)
  • Manual testing completed

Screenshots (if applicable)

Additional Notes

For Reviewers

  • Code quality and readability
  • Test coverage
  • Security implications
  • Performance impact
  • Breaking changes

…tfolio tests

- Add ErrorBoundary component with retry capability for catching render errors
- Add DocumentPreview with IPFS error boundary fallback and download link
- Add FundingProgressBar with animation, green at 100%, and XLM display
- Add InvoiceStatusBadge with colored pills for all invoice states
- Add portfolio utility for calculating active investment totals
- Add structured client-side error logger
- Update InvoiceDetail to use new components
- Add vitest config and setup for testing
- Add 23 unit tests across 3 test suites
@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@Mikey-222 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

@Chucks1093
Chucks1093 merged commit 19c5119 into StellarState:dev Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment