Bug 235538 - Web Inspector: Network: move filtering checkboxes into a single gear-with-contextmenu to save space
Summary: Web Inspector: Network: move filtering checkboxes into a single gear-with-con...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-24 13:44 PST by Devin Rousso
Modified: 2022-01-24 15:24 PST (History)
5 users (show)

See Also:


Attachments
[fast-cq] Patch (14.16 KB, patch)
2022-01-24 13:46 PST, Devin Rousso
no flags Details | Formatted Diff | Diff
[Image] after Patch is applied (125.05 KB, image/png)
2022-01-24 14:30 PST, Devin Rousso
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2022-01-24 13:44:05 PST
.
Comment 1 Devin Rousso 2022-01-24 13:46:41 PST
Created attachment 449852 [details]
[fast-cq] Patch
Comment 2 Patrick Angle 2022-01-24 14:15:10 PST
Comment on attachment 449852 [details]
[fast-cq] Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=449852&action=review

r=me

> Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.js:2281
> +        contextMenu.appendCheckboxItem(WI.UIString("Preserve Log"), () => {

An aside, but could certainly be dealt with in this same bug: `Preserve Log` to me doesn't clearly communicate what this setting does. When I think "log", I think about the Console Tab and `console.log` et al.. Something like "Clear requests on navigation" or "Clear request history on navigation" (subject to further bike shedding) would better communicate the option IMO now that these are in a dropdown menu and we have a bit more space.
Comment 3 Devin Rousso 2022-01-24 14:20:11 PST
Comment on attachment 449852 [details]
[fast-cq] Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=449852&action=review

>> Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.js:2281
>> +        contextMenu.appendCheckboxItem(WI.UIString("Preserve Log"), () => {
> 
> An aside, but could certainly be dealt with in this same bug: `Preserve Log` to me doesn't clearly communicate what this setting does. When I think "log", I think about the Console Tab and `console.log` et al.. Something like "Clear requests on navigation" or "Clear request history on navigation" (subject to further bike shedding) would better communicate the option IMO now that these are in a dropdown menu and we have a bit more space.

Yeah that's a good point.  We should change this to something clearer now that it's in a contextmenu (which gives us more space).

Also, we should probably do something similar in the Console since there's a "Preserve Log" there too <https://webkit.org/b/235541>
Comment 4 Devin Rousso 2022-01-24 14:30:54 PST
Created attachment 449857 [details]
[Image] after Patch is applied
Comment 5 EWS 2022-01-24 14:34:55 PST
Committed r288470 (246355@main): <https://commits.webkit.org/246355@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 449852 [details].
Comment 6 Radar WebKit Bug Importer 2022-01-24 14:35:16 PST
<rdar://problem/87990907>