feat: currency display, NPS survey, deposit tour, and branded report templates - #1183
Merged
vjuliaife merged 1 commit intoAug 30, 2026
Conversation
…lates - Cross-border currency conversion display on the importer dashboard: an optional display-currency preference with a live CoinGecko exchange rate, source/as-of disclosure, and the original XLM amount always shown alongside. Purely presentational — no contract calls are affected. - In-app NPS/feedback survey: a non-modal, cadence-gated prompt (server controlled via nps_survey_prompts) that stores per-importer responses and surfaces an aggregate weekly NPS trend on the surety admin dashboard. - Optional guided tour for DepositWizard explaining required collateral and the auto-top-up threshold, re-launchable from a help icon, with per-user completion state and no impact on deposit submission. - Customizable branded report export templates (logo/header/footer) stored per surety, with a live preview before saving and a default fallback, applied to the regulatory state-report and compliance report downloads without altering the underlying report data. Closes vjuliaife#1037, closes vjuliaife#1035, closes vjuliaife#1033, closes vjuliaife#1032
|
Deployment failed for project tariff-shield-web with the following error: Learn More: https://vercel.com/docs/concepts/projects/project-configuration |
|
@EmmanuelOchaje 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! 🚀 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements four requested importer/surety-facing enhancements:
Type of Change
Checklist
tscpasses locally forapps/apiandapps/web)npm run lintpasses forapps/apiandapps/webwith zero warningsnpm run format:checkpasses for all files touched by this PRbond-annotations.ts,onboarding.ts). Happy to add integration tests if requested.Related Issues
Closes #1037, closes #1035, closes #1033, closes #1032
Screenshots / Demo
UI changes: a "Display currency" selector + conversion note above the balance tiles on the importer dashboard, a corner NPS survey card, a "?" tour toggle + tour card in the deposit/reserve wizard, and an NPS trend widget + report template editor (with live preview) on the surety admin dashboard. Could not run a Loom/browser demo in this environment — happy to follow up with screenshots if helpful.
Deployment Notes
apps/api/src/migrations/0010_nps_survey_and_report_templates.tsaddsnps_survey_prompts,nps_survey_responses, andreport_templatestables — runnpm run db:migrate --workspace=apps/apiafter merge.NPS_SURVEY_CADENCE_DAYS(default30) can be set to tune the survey prompt cadence.api.coingecko.com) directly from the browser; no API key or backend proxy is required.