Skip to content

Conversation

@rambleraptor
Copy link
Member

Implements an in-memory mock server that can be toggled via a checkbox in the sidebar. When enabled, all resource CRUD and List operations are routed to an in-memory HashMap instead of making real network calls. This allows users to test the UI without requiring a live backend server.

Key changes:

  • Add Redux state slice for mock server toggle
  • Create MockResourceStore class for in-memory resource storage
  • Add "Use Mock Server" checkbox to sidebar
  • Route all CRUD operations (List, Get, Create, Patch, Delete) to mock store when enabled
  • Add mock-aware fetch wrapper for custom methods
  • Add Checkbox UI component

Implements an in-memory mock server that can be toggled via a checkbox in the sidebar. When enabled, all resource CRUD and List operations are routed to an in-memory HashMap instead of making real network calls. This allows users to test the UI without requiring a live backend server.

Key changes:
- Add Redux state slice for mock server toggle
- Create MockResourceStore class for in-memory resource storage
- Add "Use Mock Server" checkbox to sidebar
- Route all CRUD operations (List, Get, Create, Patch, Delete) to mock store when enabled
- Add mock-aware fetch wrapper for custom methods
- Add Checkbox UI component
@rambleraptor rambleraptor merged commit 936c47e into aep-dev:main Dec 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants