Skip to content

feat:Multi-Issue Frontend & Contract Improvements - #621

Merged
pope-h merged 6 commits into
Shelterflex:mainfrom
Samuel1505:four
Apr 25, 2026
Merged

feat:Multi-Issue Frontend & Contract Improvements#621
pope-h merged 6 commits into
Shelterflex:mainfrom
Samuel1505:four

Conversation

@Samuel1505

@Samuel1505 Samuel1505 commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Pull Request: Multi-Issue Frontend & Contract Improvements

This PR addresses four distinct issues across the frontend and smart contract layers, improving transparency, user engagement, and measurement accuracy.

closes #534
closes #537
closes #580
closes #557

Resolved Issues

1. Issue 534: Full-payment Reward Breakdown and Receipt Transparency

  • Implemented: A new PayoutBreakdown component that transparently displays platform and reporter shares.
  • Improved: Integrated next-intl for full i18n support in the payment flow.
  • Fixed: Resolved rounding drift in NGN currency formatting by ensuring 2 decimal places.
  • UX: Added pre-confirmation preview and immutable post-payment receipt states.

2. Issue 537: Apartment Review Section with Filterable User Feedback

  • Implemented: A comprehensive review section on the property detail page.
  • Features:
    • Filtering by rating (1-5 stars).
    • Sorting by newest, highest, and lowest ratings.
    • "Verified Stay" toggle to filter reviews from actual tenants.
  • URL State: Integrated with next-navigation to preserve filter state in the URL.
  • States: Included loading, empty, and error states with appropriate UX.

3. Issue 580: Connect Whistleblower Dashboard to Live Stats, Listings, and Earnings

  • API Integration: Created a new whistleblowerDashboard API client.
  • Dashboard Update: Switched the dashboard from static mock data to live API fetching.
  • Error Handling: Implemented robust loading states and a dedicated connection error view for better resilience.

4. Issue 557: Contracts: Meaningful Migration Benchmark Metrics

  • Enhanced Metrics: Replaced placeholder counters in the migration test framework with actual measurements.
  • New Metrics: Now reporting CPU instructions, memory usage, and storage read/write bytes.
  • Infrastructure: Updated MigrationRunner and MigrationTestFramework to capture and report Soroban-specific resource consumption.

Verification

  • CI pipeline commands (lint, build, test) executed locally.
  • Component tests for PayoutBreakdown updated and verified.
  • Manual verification of review filters and dashboard loading states.

Commit History

  • feat(frontend): Issue 534 - Full-payment reward breakdown and receipt transparency
  • feat(frontend): Issue 537 - Apartment review section with filterable user feedback
  • feat(frontend): Issue 580 - Connect whistleblower dashboard to live stats, listings, and earnings data
  • feat(contracts): Issue 557 - Replace placeholder migration benchmark metrics with meaningful measurements

The PR description must not be empty.

  • The PR description must include these headings (exact text):

    • Summary

    • Changes

    • Checklist

  • Link an issue in the PR description (example: Closes metadata_hash canonical payload hashing spec #123).

  • Network

  • New Contract

  • Upgrade Governance

  • Verification Steps

@vercel

vercel Bot commented Apr 25, 2026

Copy link
Copy Markdown

@Samuel1505 is attempting to deploy a commit to the pope-h's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Apr 25, 2026

Copy link
Copy Markdown

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

@pope-h
pope-h merged commit 8b14dbc into Shelterflex:main Apr 25, 2026
4 of 6 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