feat: add Request Log tab for real-time request monitoring#124
Closed
custardcream98 wants to merge 3 commits into
Closed
feat: add Request Log tab for real-time request monitoring#124custardcream98 wants to merge 3 commits into
custardcream98 wants to merge 3 commits into
Conversation
- Add Tab.Log to constants.ts - Add Log TabButton in TabBar (before Settings) - Add LogTab placeholder component with empty state message - Wire LogTab in TabBody conditional rendering - Add i18n keys for tab label, controls, and log UI text in both EN and KO Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add LogTab with recording toggle, clear, matched/unmatched filter controls - Add LogEntry with accordion: time, MethodPill, status, URL, duration, matched icon - Add LogDetail with CodeEditor for request/response body (readOnly) - Add "Add Mock for this URL" button on unmatched requests -> navigates to AddMock tab - Add unread badge on Log tab button in TabBar - Move RequestLogProvider to DevTools.tsx (wraps both TabBar and TabBody) - Integrate fe's RequestLogContext with Tab.Log constant (replace TAB_LOG workaround) - Auto-scroll to newest log entry, reset unread count on tab entry Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add RequestLogContext with MSW event subscription and early buffer for capturing requests before React tree mounts - Filter out static assets (.js, .css, @vite/) from log entries - Fix body display timing: create entries synchronously, parse body async - Clean up early capture listeners after drain (prevent memory leak) - Move shouldCaptureRequest to request-log.tsx (SRP: worker.ts stays pure) - Add i18n key for "No body data available" (was hardcoded English) - Convert all Korean comments to English across LogTab components - Add changeset for minor version bump Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 3 Skipped Deployments
|
Owner
Author
|
Replaced with lint fix |
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
Add a 4th Log tab to MSW Devtools for real-time request/response monitoring.
Features
Changeset
@custardcream/msw-devtoolsminor version bumpTest plan
pnpm buildsuccesspnpm type-check7 workspaces passpnpm test139 tests pass🤖 Generated with Claude Code