fix(web): resolve issues #1087, #1071, #1079, and #1069 - #1163
Merged
Conversation
|
@fhayvy 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! 🚀 |
|
Deployment failed for project tariff-shield-web with the following error: Learn More: https://vercel.com/docs/concepts/projects/project-configuration |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Deployment failed for project tariff-shield-web with the following error: Learn More: https://vercel.com/docs/concepts/projects/project-configuration |
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.
Closes #1069
Closes #1071
Closes #1079
Closes #1087
This Pull Request implements frontend UX and visual feedback improvements across the Surety and Signup flows to resolve multiple frontend bugs:
Back Navigation Visual Affordance:
<Link>. It now displays as a polished, button-like component with a custom border, card background, hover transition, and an SVG back chevron icon. This highlights it as a primary navigation path without affecting layouts below it.Accrue & Clawback Success Path Confirmations:
act()and refreshed the view, forcing administrators to check for changes in balance numbers to infer whether they completed successfully.successMessageReact state insideapps/web/app/surety/[id]/page.tsxthat sets a success alert upon successful resolves. Banners display with checkmark icon layouts. Banners disappear automatically after 5 seconds using customuseEffecttimers, clear immediately on starting any subsequent action inside theact()wrapper, and feature a manual "Dismiss" action.**Signup Role Choice Consequence Explanations **:
apps/web/app/signup/page.tsx. Selection text dynamically updates depending on the choice (Importer vs. Surety Admin) to list capabilities, and clearly states that the role choice cannot be changed post-registration without contacting customer support.Surety Portfolio Dashboard Skeletons:
Loading...paragraph during initial load phases, contrasting poorly with the high-fidelity route skeletons of the importer dashboard.apps/web/app/surety/page.tsxthat show metric grid and portfolio item skeletons with Tailwindanimate-pulseanimations whenimporters === null.apps/web/app/surety/loading.tsxto handle route-level suspense boundaries during Next.js server streaming.Changed
apps/web/app/surety/[id]/page.tsx: Modified the navigation back link structure and introduced local success state, useEffect timers, and alerts for accrual/clawback results.apps/web/app/signup/page.tsx: Added dynamic helper descriptions detailing role permissions and constraints under the signup select tag.apps/web/app/surety/page.tsx: Replaced raw loading text with grid layout and item-list skeleton loaders underimporters === null.apps/web/app/surety/loading.tsx[NEW]: Created route suspense skeleton layout to streamline page transition phases.apps/api/package.json: Restored OpenTelemetry dependencies to their valid versions from the lockfile.package.json&package-lock.json: Configured local workspace packages to use lightningcss.