feat: resolve issues #1048, #1047, #1046, #1042 - #1174
Merged
Conversation
…juliaife#1042 - vjuliaife#1048: Add cancel/exit controls to DepositWizard on preview and confirm steps - Cancel resets wizard to amount step with default state - Cancel hidden during in-flight deposit (busy state) - Added optional onCancel prop for parent integration - vjuliaife#1047: Add stakeholder notification subscriptions for contract upgrade proposals - New upgrade_subscriptions table for opt-in subscriptions - New upgrade_notification_history table for event retention - API routes for subscribing/unsubscribing and viewing history - Notification service that alerts subscribers on propose/approve/cancel events - vjuliaife#1046: Add admin/importer annotation notes on bond timeline events - New bond_timeline_annotations table - API routes for CRUD operations on annotations - Updated BondTimeline component with click-to-view annotations - Only importer and surety_admin can view/add annotations - Annotation edits timestamped and attributed to author - vjuliaife#1042: Add configurable business hours and SLA tracking - New business_hours_config table with per-day hours and holidays - New sla_targets table for configurable SLA hours per item type - New sla_tracking table for monitoring item response times - API routes for managing business hours, targets, and tracking - SLA breach checker job runs every 5 minutes - SLA compliance rate reportable over date ranges
|
@Smartdevs17 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
This PR resolves 4 issues in a single changeset:
Closes #1048 — DepositWizard cancel/exit
Closes #1047 — Stakeholder Notification Subscriptions for Upgrade Proposals
Closes #1046 — Admin/Importer Annotation Notes on Bond Timeline Events
Closes #1042 — Configurable Business Hours and SLA Tracking
Changes
New Files
apps/api/src/migrations/0006_stakeholder_subscriptions_annotations_sla.ts— Database migrationapps/api/src/routes/upgrade-subscriptions.ts— Upgrade subscription APIapps/api/src/routes/bond-annotations.ts— Bond annotation APIapps/api/src/routes/sla.ts— Business hours & SLA APIapps/api/src/services/upgrade-notifications.ts— Notification serviceapps/api/src/jobs/sla-breach-checker.ts— SLA breach monitoring jobModified Files
apps/web/components/DepositWizard.tsx— Added cancel functionalityapps/web/components/BondTimeline.tsx— Added annotation popoverapps/web/app/app/page.tsx— Pass importerId/userRole to BondTimelineapps/web/lib/api.ts— Added annotation API methods and typesapps/api/src/constants/notification-kinds.ts— Added upgrade + SLA notification kindsapps/api/src/index.ts— Registered new routes and SLA breach checker job