chrome-devtools-frontend 1.0.1581449 → 1.0.1582745

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/agents/prompts/merging-devtools-module.md +144 -0
  2. package/agents/prompts/ui-widgets.md +351 -0
  3. package/agents/prompts/verification.md +2 -1
  4. package/docs/contributing/README.md +5 -6
  5. package/docs/contributing/changes.md +1 -2
  6. package/docs/styleguide/ux/README.md +1 -1
  7. package/front_end/core/sdk/OverlayModel.ts +4 -2
  8. package/front_end/core/sdk/RemoteObject.ts +7 -1
  9. package/front_end/core/sdk/StorageKeyManager.ts +6 -1
  10. package/front_end/core/sdk/Target.ts +4 -2
  11. package/front_end/entrypoint_template.html +5 -1
  12. package/front_end/entrypoints/greendev_floaty/FloatyEntrypoint.ts +31 -40
  13. package/front_end/entrypoints/greendev_floaty/floaty.css +41 -1
  14. package/front_end/entrypoints/greendev_floaty/floaty.html +8 -1
  15. package/front_end/entrypoints/greendev_floaty/greendev_floaty.ts +5 -5
  16. package/front_end/entrypoints/node_app/app/NodeMain.ts +19 -1
  17. package/front_end/entrypoints/node_app/node_app.ts +34 -0
  18. package/front_end/generated/InspectorBackendCommands.ts +1 -1
  19. package/front_end/generated/SupportedCSSProperties.js +2 -0
  20. package/front_end/generated/protocol.ts +0 -6
  21. package/front_end/models/ai_assistance/AiConversation.ts +10 -0
  22. package/front_end/models/ai_assistance/agents/AiAgent.ts +2 -0
  23. package/front_end/models/ai_assistance/agents/ContextSelectionAgent.snapshot.txt +26 -4
  24. package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +85 -7
  25. package/front_end/models/ai_assistance/agents/NetworkAgent.ts +2 -6
  26. package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +66 -2
  27. package/front_end/models/computed_style/ComputedStyleModel.ts +26 -0
  28. package/front_end/models/greendev/Prototypes.ts +1 -10
  29. package/front_end/models/issues_manager/ConnectionAllowlistIssue.ts +75 -0
  30. package/front_end/models/issues_manager/CookieIssue.ts +0 -28
  31. package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +0 -30
  32. package/front_end/models/issues_manager/IssuesManager.ts +5 -0
  33. package/front_end/models/issues_manager/descriptions/connectionAllowlistInvalidAllowlistItemType.md +12 -0
  34. package/front_end/models/issues_manager/descriptions/connectionAllowlistInvalidHeader.md +12 -0
  35. package/front_end/models/issues_manager/descriptions/connectionAllowlistInvalidUrlPattern.md +8 -0
  36. package/front_end/models/issues_manager/descriptions/connectionAllowlistItemNotInnerList.md +12 -0
  37. package/front_end/models/issues_manager/descriptions/connectionAllowlistMoreThanOneList.md +7 -0
  38. package/front_end/models/issues_manager/descriptions/connectionAllowlistReportingEndpointNotToken.md +10 -0
  39. package/front_end/models/issues_manager/issues_manager.ts +2 -0
  40. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +93 -6
  41. package/front_end/panels/ai_assistance/components/ChatInput.ts +8 -4
  42. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -11
  43. package/front_end/panels/application/DOMStorageModel.ts +1 -1
  44. package/front_end/panels/application/ResourcesPanel.ts +10 -5
  45. package/front_end/panels/application/preloading/PreloadingView.ts +8 -1
  46. package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +4 -1
  47. package/front_end/panels/application/preloading/components/PreloadingGrid.ts +2 -1
  48. package/front_end/panels/application/preloading/components/PreloadingString.ts +12 -3
  49. package/front_end/panels/application/preloading/helper/PreloadingForward.ts +14 -0
  50. package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +37 -3
  51. package/front_end/panels/changes/ChangesSidebar.ts +2 -6
  52. package/front_end/panels/common/AiCodeCompletionTeaser.ts +13 -3
  53. package/front_end/panels/common/aiCodeCompletionTeaser.css +6 -0
  54. package/front_end/panels/console/ConsoleSidebar.ts +3 -11
  55. package/front_end/panels/console_counters/WarningErrorCounter.ts +16 -10
  56. package/front_end/panels/elements/ComputedStyleWidget.ts +55 -37
  57. package/front_end/panels/elements/PlatformFontsWidget.ts +23 -10
  58. package/front_end/panels/greendev/GreenDevPanel.css +42 -1
  59. package/front_end/panels/greendev/GreenDevPanel.ts +30 -1
  60. package/front_end/panels/lighthouse/LighthouseStartView.ts +3 -5
  61. package/front_end/panels/lighthouse/lighthouseStartView.css +6 -0
  62. package/front_end/panels/network/NetworkLogView.ts +6 -6
  63. package/front_end/panels/network/RequestInitiatorView.ts +27 -19
  64. package/front_end/panels/network/RequestTimingView.ts +1 -1
  65. package/front_end/panels/settings/AISettingsTab.ts +1 -5
  66. package/front_end/panels/settings/KeybindsSettingsTab.ts +4 -3
  67. package/front_end/panels/settings/SettingsScreen.ts +0 -51
  68. package/front_end/panels/sources/OutlineQuickOpen.ts +19 -0
  69. package/front_end/panels/timeline/AnimationsTrackAppender.ts +4 -1
  70. package/front_end/panels/timeline/InteractionsTrackAppender.ts +1 -1
  71. package/front_end/panels/timeline/TimelinePanel.ts +25 -0
  72. package/front_end/panels/timeline/TimelineUIUtils.ts +13 -16
  73. package/front_end/third_party/chromium/README.chromium +1 -1
  74. package/front_end/third_party/lighthouse/README.chromium +2 -2
  75. package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +145 -144
  76. package/front_end/third_party/lighthouse/report/bundle.js +12 -5
  77. package/front_end/third_party/lighthouse/report-assets/report-generator.mjs +2 -2
  78. package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +5 -1
  79. package/front_end/ui/legacy/ListControl.ts +28 -1
  80. package/front_end/ui/legacy/Toolbar.ts +4 -4
  81. package/front_end/ui/legacy/Treeoutline.ts +5 -5
  82. package/front_end/ui/legacy/UIUtils.ts +26 -10
  83. package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +10 -13
  84. package/front_end/ui/legacy/components/utils/Linkifier.ts +4 -7
  85. package/front_end/ui/visual_logging/KnownContextValues.ts +2 -0
  86. package/inspector_overlay/main.ts +18 -3
  87. package/inspector_overlay/tool_green_dev_anchors.css +54 -0
  88. package/inspector_overlay/tool_green_dev_anchors.ts +164 -0
  89. package/inspector_overlay/tool_persistent.ts +14 -0
  90. package/package.json +1 -1
  91. package/docs/contributing/design.md +0 -166
  92. package/docs/design_guidelines.md +0 -1
  93. package/front_end/models/issues_manager/descriptions/federatedAuthRequestClientMetadataHttpNotFound.md +0 -1
  94. package/front_end/models/issues_manager/descriptions/federatedAuthRequestClientMetadataInvalidResponse.md +0 -1
  95. package/front_end/models/issues_manager/descriptions/federatedAuthRequestClientMetadataNoResponse.md +0 -1
@@ -1,166 +0,0 @@
1
- # Design Documents
2
-
3
- **TL;DR**: This document outlines the development process for Chromium DevTools,
4
- in particular the established culture and processes around design artifacts.
5
-
6
- [TOC]
7
-
8
- ## Writing a design document
9
-
10
- Any non-trivial technical effort that will significantly impact Chromium DevTools
11
- should have a design doc ([template](https://goo.gle/devtools-design-doc-template)),
12
- sometimes also referred to as _bluedoc_. Specifically, we require design docs
13
- (DDs) in the following cases:
14
-
15
- 1. When writing code that will have a large impact on DevTools as a whole, e.g.
16
- when you are changing behavior of a critical component like the Console or
17
- Sources panel.
18
- 1. When beginning a large technical undertaking that should be documented for
19
- historical reasons (>1 person-month of work can be used as a general
20
- guideline).
21
-
22
- *** promo
23
- **Tip (Googlers):**
24
- For smaller scale changes or when you are not sure yet whether any of the
25
- criteria above will apply, but you still want to have it written up and
26
- discussed, you can start with a Design Proposal
27
- ([template](http://go/chrome-devtools-greendoc-template)).
28
- These should always be Google internal.
29
- ***
30
-
31
- Public design docs have to live in the
32
- [Design Documents](https://drive.google.com/drive/folders/1JbUthATfybvMQR3yAHC4J0P7n6oftYNq)
33
- folder of the shared public
34
- [Chromium DevTools](http://go/chrome-devtools/team-resources#chromium-devtools-shared-drive) team drive,
35
- which automatically makes them commentable for
36
- [contributors@chromium.org](mailto:contributors@chromium.org) and
37
- [devtools-dev@chromium.org](mailto:devtools-dev@chromium.org). And they need to
38
- be send to
39
- [devtools-dev+design@chromium.org](mailto:devtools-dev+design@chromium.org).
40
-
41
- Google internal design docs have to live in the
42
- [Design Documents (internal)](http://go/chrome-devtools:design-internal-drive)
43
- folder of the shared internal
44
- [Chrome DevTools](http://go/chrome-devtools/team-resources#chrome-devtools-shared-drive) team drive, and
45
- should be sent to
46
- [chrome-devtools@google.com](mailto:chrome-devtools@google.com).
47
-
48
- *** note
49
- **IMPORTANT (Googlers):** Every design document (whether public or internal) must be editable
50
- by [chrome-devtools-staff@google.com](mailto:chrome-devtools-staff@google.com) and
51
- must have a `go/chrome-devtools:<project-name>-design` go/ link pointing to it
52
- (even for publicly visible documents).
53
- ***
54
-
55
- Follow the steps in the
56
- [Chrome DevTools Design Review Guidelines](#Review-Guidelines)
57
- to proceed with your design document and get it reviewed and approved.
58
-
59
- ## Review Guidelines
60
-
61
- When contributing to Chrome DevTools, please follow the process explained in this document. This is to reach a clear agreement on proposals, while involving all relevant stakeholders and decision makers.
62
-
63
- This process puts the IC in charge, but also requires Chrome DevTools' leaders to help the IC navigate the decision process. It includes an escalation path in case of disagreement. The overhead of this process should be proportionate to the scope of the proposal.
64
-
65
- **Important:**
66
-
67
- 1. Assume good intentions.
68
- 1. Be kind and civilized.
69
- 1. Be pragmatic.
70
-
71
- ![DevTools Design Process](./images/design-guidelines.png)
72
-
73
- ### Roles
74
-
75
- #### Individual Contributor (IC)
76
-
77
- _LGTM_: N/A
78
-
79
- This person is the creator of the feature and the creator of the design documentation.
80
-
81
- #### Technical Lead (TL)
82
-
83
- _LGTM_: Required. May delegate.
84
-
85
- The Chrome DevTools TL is Danil Somsikov (dsv@chromium.org). The TL ensures architectural consistency and good coverage by the right set of LGTM providers, and is required to sign off on the design. They may however explicitly delegate to other LGTM providers.
86
-
87
- In the absence of the TL, an EnReOw can act in their stead.
88
-
89
- #### LGTM provider
90
-
91
- _LGTM_: Required. May delegate.
92
-
93
- This is a person that is required to give LGTM. These are usually ICs with significant knowledge about the areas in question.
94
-
95
- #### Reviewer
96
-
97
- _LGTM_: Not required.
98
-
99
- This is somebody who reviews and comments on the proposal. Their input should be considered, although their LGTM is not required.
100
-
101
- #### The Eng Review Owners (EnReOw)
102
-
103
- _LGTM_: Not required. However, LGTM or non-LGTM is binding.
104
-
105
- Stuck proposals can be escalated to the [ENG_REVIEW_OWNERS](https://cs.chromium.org/chromium/src/third_party/devtools-frontend/src/config/owner/ENG_REVIEW_OWNERS). Potential use cases of such an escalation:
106
-
107
- - An LGTM provider is non-responsive.
108
- - No consensus on the design can be reached.
109
-
110
- The EnReOw can overrule non-LGTMs or LGTMs.
111
-
112
- ### Detailed workflow
113
-
114
- 1. IC shares the document with LGTM providers and reviewers according to the roles listed above.
115
- 1. LGTM providers may add more LGTM providers to remove themselves as LGTM providers.
116
- 1. LGTM providers and reviewers review the design document and add feedback.
117
- 1. IC incorporates feedback and iterates on their design document.
118
- 1. Optional: the design doc is shared publicly with devtools-dev+design@chromium.org (make sure to give comment access to contributors@chromium.org, but untick the "Notify" checkbox).
119
- 1. IC collects LGTMs by addressing feedback. Iterate if necessary.
120
- 1. Once all required LGTMs have been collected, proceed with implementation.
121
- 1. On disagreement that cannot be resolved or unreasonable delays, escalate to EnReOw.
122
- 1. Implement and iterate on CLs with code owners. We expect the implementation to take place on the public repository's main branch. Note that a series of small incremental changes has a higher chance of receiving timely reviews and actionable feedback.
123
-
124
- ## FAQ
125
-
126
- ### Is it worth creating a design document?
127
-
128
- It is always useful to have a design document. Its length can vary depending on the scope of the proposed change.
129
-
130
- ### When should the design process be kicked off?
131
-
132
- As soon as possible so that a wide range of opinions can be taken into consideration. If you share your idea or prototype at a later stage, you risk having to redo the work because you missed a constraint.
133
-
134
- ### How to decide who to add to the list of LGTM providers?
135
-
136
- Some pointers when people should be added to the list of LGTM providers:
137
-
138
- - OWNERs of the source files/directories you anticipate to touch
139
- - Main component expert of the components you anticipate to touch
140
- - Downstream consumers of your changes e.g. when you change an API
141
-
142
- ### Where can I find a template for design documents?
143
-
144
- [goo.gle/devtools-design-doc-template](https://goo.gle/devtools-design-doc-template)
145
-
146
- ### What if I made big changes to the design document?
147
-
148
- Make sure you still have the LGTMs e.g. by pinging the LGTM providers.
149
-
150
- ### LGTM providers do not comment on my design document, what should I do?
151
-
152
- In this case you can follow this path of escalation:
153
-
154
- 1. Ping them directly via mail, chat or comment/assignment in the doc and specifically ask them explicitly to add an LGTM or non-LGTM.
155
- 1. Get your TL involved and ask them for help.
156
- 1. Escalate to EnReOw.
157
-
158
- ### Somebody added me as an LGTM provider to a doc, what should I do?
159
-
160
- Review the design document. If you think there are other people who should take a look, add them as LGTM providers or as reviewers. If you don't think you are the right person, remove yourself as LGTM provider.
161
-
162
- If you agree with the design, add an LGTM to the table. If you have blocking concerns, add "Not LGTM, because <reason>" to the table. Be prepared to re-review the design after another iteration.
163
-
164
- ### How does this work together with the Blink Intents process?
165
-
166
- The Chromium DevTools Design Review Guidelines complement [Chromium’s feature launch process](https://www.chromium.org/blink/launching-features). If you are launching a new Web platform feature, please follow the Chromium launch process. It likely makes sense to have all the LGTMs gathered at the point in time you would send an Intent to Implement.
@@ -1 +0,0 @@
1
- This document has moved [here](./contributing/design.md#Review-Guidelines).
@@ -1 +0,0 @@
1
- # The provider's client metadata endpoint cannot be found.
@@ -1 +0,0 @@
1
- # Provider's client metadata is invalid.
@@ -1 +0,0 @@
1
- # The response body is empty when fetching the provider's client metadata.