Feature/mock service layer#483
Merged
robertocarlous merged 4 commits intoJun 23, 2026
Merged
Conversation
- Create demo page at /demo/notifications with mock triggers - Add toast queue with success, info, warning, error variants - Add inline banner examples with all variants - Include mock flows for save, failure, and timeout scenarios - Display accessibility features and stacking limit controls Closes Neurowealth#477
- Fix Switch component to meet 44px minimum touch target requirement - Update demo page to include notification center with preferences - Notification center already implements pagination and read/unread states - Preference updates persist in localStorage via useNotificationPreferences hook - Notification items show title, timestamp, status icon, and action buttons - Unread items have clear visual distinction with left border accent Closes Neurowealth#476
- Create release checklist data structure and types - Build checklist page with functional and visual checks sections - Add known issues section with severity levels - Implement sign-off fields for product, design, and engineering - Add export summary functionality for release notes (markdown download) - Ensure responsive design for desktop and mobile views - Checklist rows with status chips and assignee fields - Progress tracking with visual progress bar Closes Neurowealth#475
- Create shared error model and types for consistent error handling - Implement base service adapter with retry logic and failure simulation - Add auth mock service with login, signup, logout, and token refresh - Add portfolio mock service with asset management and history - Add strategy mock service with allocations and performance tracking - Add transaction mock service with creation, filtering, and stats - Document adapter contract for future backend integration - Support configurable latency simulation and failure rates - Provide clear migration path from mock to real API services Closes Neurowealth#474
|
@johnsmccain 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! 🚀 |
4 tasks
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.
Close #474
Summary:
Created shared error model with standardized error codes (NETWORK_ERROR, TIMEOUT, UNAUTHORIZED, etc.)
Implemented base service adapter with:
Retry logic with exponential backoff
Configurable simulated latency (200-800ms default)
Configurable failure simulation
Centralized error handling
Implemented mock services:
AuthService: login, signup, logout, token refresh, email verification, password reset
PortfolioService: portfolio management, history tracking, asset add/remove
StrategyService: strategy listing, allocations, performance tracking
TransactionService: transaction creation, filtering, stats, cancellation