mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 11:31:31 +08:00
Add a small button with a pencil icon next to each response header on hover. Clicking this button does all of the following if necessary: - Prompt the user for a folder to store overrides in - Turn on the overrides setting - Create a '.headers' file to store header overrides in The user ends up in the same panel which shows the response headers, only that they are now editable to create header overrides. Video: https://i.imgur.com/nSqcwLj.mp4 Bug: 1297533 Change-Id: I974b3314b504ef69d041495f291dcdee39c4db4d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4003964 Auto-Submit: Wolfgang Beyer <wolfi@chromium.org> Reviewed-by: Danil Somsikov <dsv@chromium.org> Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>