feat: route liquidity dashboard page and add schema drift monitor page#747
Merged
Conversation
- Register /liquidity-dashboard route in App.tsx (closes StellaBridge#691) - Add SchemaDriftMonitor page at /schema-drift consuming the backend drift API (closes StellaBridge#694) - Add useSchemaDrift hook with React Query for data fetching - Add getSchemaDriftReport API function with full TypeScript types - Register both routes in App.tsx with lazy loading - Add navigation entries for both pages in navigation.ts - Add tests for LiquidityDashboard route (4 tests) and SchemaDriftMonitor page (8 tests) Closes StellaBridge#691, Closes StellaBridge#694
|
@meshackyaro 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! 🚀 |
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
LiquidityDashboardat/liquidity-dashboardinApp.tsxwith lazy loading and adds a navigation entry under MonitoringSchemaDriftMonitorpage at/schema-driftthat consumes the existingGET /api/schema-drift/reportendpoint, with source and time-range filtering, severity badges, and drift type badgesChanges
frontend/src/App.tsx— lazy imports + routes forLiquidityDashboardandSchemaDriftMonitorfrontend/src/components/MobileNav/navigation.ts— nav entries for both pages under Monitoringfrontend/src/services/api.ts—getSchemaDriftReport()function withSchemaDriftReport,SchemaDriftSummary,SchemaDriftIncidenttypesfrontend/src/hooks/useSchemaDrift.ts— React Query hook for the drift report endpointfrontend/src/pages/SchemaDriftMonitor.tsx— new page listing drift events with severity, filtering by source, drift type, and time rangefrontend/src/pages/LiquidityDashboard.test.tsx— 4 tests confirming route renders and shows key UIfrontend/src/pages/SchemaDriftMonitor.test.tsx— 8 tests covering heading, stat cards, source summary, incident table, badges, and filtersTest plan
vitest run)/liquidity-dashboardrenders the Liquidity page with depth chart, venue table, and price impact calculator/schema-driftrenders the Schema Drift Monitor with source summary and recent incidents tableCloses #691, Closes #694