mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 17:57:36 +08:00
Improves UX for adding client hints in device settings screen. Instead of adding semi-colon separated value for brands, users will be able to input in different fields. Also added the same form to network conditions panel, so users can easily change client hints from network conditions. In network conditions, user agent client hints gets automatically updated when user changes device from dropdown. Device settings: Before: https://i.imgur.com/sn3E1dV.png After: https://i.imgur.com/rBMNjQt.png Network conditions panel: https://i.imgur.com/Sk9k3Bb.png Bug:1215598 Change-Id: Ie9f75456c67e30bb133675bef756a828fa117719 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2933920 Reviewed-by: Mathias Bynens <mathias@chromium.org> Reviewed-by: Brandon Walderman <brwalder@microsoft.com> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Maksim Orlovich <morlovich@chromium.org> Commit-Queue: Chait Pinnamaneni <cpinnamaneni@microsoft.com>