Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add x_google_ignoreList support

未关闭
#858 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript

调研方向

Start by reading the linked Chrome DevTools x_google_ignore_list documentation and tracing how the UI5 tooling component provides libraries and generates source maps. Define how a configurable parameter would maintain UI5 library entries only in local development, and verify that the resulting source maps produce the intended ignored-library behavior.

由索引模型根据 Issue 内容生成。

描述

Is your feature request related to a problem? Please describe.

Developing means to debug. Currently debugging an UI5 can mean to get a lot of messages that are not really related to my code. For instance, UI5 standard coding related to an OData call is part of the console output.

request | @ | datajs.js:2592
invokeRequest | @ | datajs.js:1615
odata.request | @ | datajs.js:7957
(anonym) | @ | ODataMetadata.js:255
ODataMetadata._loadMetadata | @ | ODataMetadata.js:193
Component._createManifestModels | @ | Component.js?eval:1951

Finding out what part of the log is part of my own coding is not as easy as it could be. Disabling completely the logging for the standard UI5 coding is not an option, as the log messages can still provide value.

Describe the solution you'd like

I'd like to have support for x_google_ignoreList. Controlled via a new parameter. The list should include all ( or some, configurable) UI5 libraries / code that are not part of the UI5 app. The ignoreList should be dynamically maintend by the ui5 tooling component that provides the UI5 library. This way the configuration is only applied in the local dev environment.

Describe alternatives you've considered

The x_google_ignoreList values can also be manually set by the developer in the Chrome DevTools. In the settings, the ignore list can be custom configured. Adding the value /resources* adds all UI5 libs loaded to the ignore list. This greys out any log message caused by UI5. In case adding x_google_ignoreList to the source map is not possible, maybe the UI5 documentation can be enhanced to add this information.

Additional context

https://developer.chrome.com/articles/x-google-ignore-list/

主要语言
JavaScript
星标
511
派生
83
平均合并
1 天 5 小时
30 天内合并 PR
50

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

UI5/cli 的其他 Issue

查看 UI5/cli 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。