Description
This is a UI/UX issue for the GrantFox campaign. Expose a collapsible side panel with the last 50 test-call requests for the current API; clicking restores params and response.
Requirements and Context
- Last 50 entries from existing testCall history
- Click restores params + shows cached response
- Collapsible with persisted state
- Mobile bottom-sheet variant
- Must be secure, tested, and documented
- Should be efficient and easy to review
Suggested Execution
- Fork the repo and create a branch
git checkout -b feature/api-usage-history-panel
- Implement changes
src/pages/ApiUsage.tsx
src/components/RequestHistoryPanel.tsx (new)
src/state/testCallHistory.ts (new)
- Test and commit
- Run the repo's standard test suite and lint
- Cover edge cases; include output in the PR
Example commit message
feat: add request-history side panel to ApiUsage
Acceptance Criteria
Guidelines
- Responsive across all breakpoints
- WCAG 2.1 AA accessibility
- Design-token + dark-mode consistency
- Clear documentation and inline comments
- Timeframe: 96 hours
Description
This is a UI/UX issue for the GrantFox campaign. Expose a collapsible side panel with the last 50 test-call requests for the current API; clicking restores params and response.
Requirements and Context
Suggested Execution
src/pages/ApiUsage.tsxsrc/components/RequestHistoryPanel.tsx (new)src/state/testCallHistory.ts (new)Example commit message
Acceptance Criteria
Guidelines