Commit ce8c220
[network] Always show "Open in Network panel" context menu item.
Previously we'd only show the "Reveal in Network panel" context menu
item when we had an actual network request recorded for the resource.
While this is technically correct, it leaves the developer wondering
why the menu item isn't showing (the reasons are subtle). So with this
CL we rename the item to "Open in Network panel", and always show it,
but when there's no resource, we show it disabled and with a note
"(missing request)" appended.
Fixed: 372873222
Screenshot: https://i.imgur.com/elaOkCC.png
Change-Id: I8bf64827145aca93bbd2a0def6c22b9e3149315f
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5975683
Reviewed-by: Peter Müller <[email protected]>
Commit-Queue: Benedikt Meurer <[email protected]>1 parent e4611e4 commit ce8c220
File tree
3 files changed
+25
-6
lines changed- front_end/panels
- network
- timeline
- components
- utils
3 files changed
+25
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
151 | 152 | | |
152 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
153 | 162 | | |
154 | 163 | | |
155 | 164 | | |
| |||
757 | 766 | | |
758 | 767 | | |
759 | 768 | | |
760 | | - | |
| 769 | + | |
761 | 770 | | |
762 | 771 | | |
763 | 772 | | |
764 | 773 | | |
765 | 774 | | |
766 | 775 | | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
767 | 782 | | |
768 | 783 | | |
769 | | - | |
| 784 | + | |
770 | 785 | | |
771 | 786 | | |
772 | 787 | | |
| |||
783 | 798 | | |
784 | 799 | | |
785 | 800 | | |
| 801 | + | |
| 802 | + | |
786 | 803 | | |
787 | 804 | | |
788 | 805 | | |
789 | 806 | | |
790 | 807 | | |
791 | 808 | | |
792 | 809 | | |
| 810 | + | |
| 811 | + | |
793 | 812 | | |
794 | 813 | | |
795 | 814 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments