Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add x_google_ignoreList support

Đang mở
#858 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
build-system, tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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/

Ngôn ngữ chính
JavaScript
Star
511
Fork
83
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
50

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của UI5/cli

Tất cả issue của UI5/cli

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.