Skip to content

fix(web): add deposit input validation and timeline calendar controls - #1178

Merged
vjuliaife merged 1 commit into
vjuliaife:mainfrom
Dopezapha:fix/deposit-wizard-and-bond-timeline
Sep 2, 2026
Merged

fix(web): add deposit input validation and timeline calendar controls#1178
vjuliaife merged 1 commit into
vjuliaife:mainfrom
Dopezapha:fix/deposit-wizard-and-bond-timeline

Conversation

@Dopezapha

Copy link
Copy Markdown
Contributor

Closes #1051
Closes #1050
Closes #1052
Closes #1053

PR Description

I resolved four user interface issues in the web application focused on the deposit wizard flow and the bond activity timeline.

For Issue #1051 (Deposit amount field validation), the amount input in DepositWizard previously allowed users to click Next with an empty field, zero, or non-numeric values. This caused the UI to silently transition to the preview step displaying 0 XLM or NaN XLM. I added input validation to ensure the amount is present, numeric, strictly greater than zero, and at least 0.1 XLM. I added an inline red error message underneath the input when validation fails and disabled the Next button until a valid amount is entered. Near the input field, I also added a clear minimum deposit hint so users know the requirement upfront.

For Issue #1050 (Deposit receipt explorer link), on the DepositWizard receipt step, the transaction hash was rendered as static monospace text without a link to an on-chain explorer. I wrapped the truncated transaction hash in a link pointing to the Stellar testnet explorer on stellar.expert, opening in a new browser tab with rel=noopener noreferrer. This matches the existing explorer link styling used on the dashboard.

For Issue #1052 (Bond timeline empty state), in the BondTimeline component, when an importer had zero recorded events, the component rendered an empty grid without explaining why no events were visible. I added an inline empty-state notice explaining that no bond activity has occurred yet this month, while keeping the calendar grid visible to maintain UI structure.

For Issue #1053 (Bond timeline Today shortcut), I added a Today shortcut button next to the month navigation arrows in BondTimeline so users who page backward or forward through past or future months can jump back to the current month in a single click.

Changes Made

Testing

Command run:
npx tsc --noEmit -p apps/web/tsconfig.json

Result:
Zero TypeScript errors found in modified files apps/web/components/DepositWizard.tsx and apps/web/components/BondTimeline.tsx.

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

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

@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tariff-shield-web Error Error Aug 29, 2026 6:14am

@vjuliaife
vjuliaife merged commit eedbc2b into vjuliaife:main Sep 2, 2026
9 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment