[docs] Missing warning redirects
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với năm vị trí gọi cảnh báo được liên kết trong packages/reactive-element, sau đó kiểm tra phần cảnh báo runtime của development build tại lit.dev/docs/tools/development/#development-build-runtime-warnings và các redirect /msg/{kind} hiện có. Quyết định xem mỗi cảnh báo cần một redirect hay một warning kind rỗng, đồng thời ghi lại async-perform-update là tùy chọn. Được xem là hoàn tất khi các warning kind được liệt kê được xử lý nhất quán và tài liệu trên site hoặc hành vi redirect đã chọn được triển khai.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Following warning kinds do not have redirects:
- 'reactive-property-without-getter': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/reactive-element.ts#L743
- 'no-override-create-property': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/reactive-element.ts#L872
- 'no-override-get-property-descriptor': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/reactive-element.ts#L879
- 'async-perform-update': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/reactive-element.ts#L1354
- this one is also optional and should be documented in https://lit.dev/docs/tools/development/#development-build-runtime-warnings
- 'missing-class-metadata': https://github.com/lit/lit/blob/462350126d51d56f9211d50db43762d81a8b8ed1/packages/reactive-element/src/decorators/property.ts#L117
Either these should have the warning kind replaced with '' in the issueWarning() call if the message accompanying is sufficient, or we should put these on lit.dev.
Tangentially related, I wonder if we should just have a list of all warning kinds on the site, maybe https://lit.dev/docs/tools/development/#development-build-runtime-warnings, as opposed to the /msg/{kind} urls redirecting to middle of docs.
The list of warnings can have summary descriptions. Those that warrant deep dives can then link to the relevant doc.
It's an extra point of maintenance but gives us a place to talk about the reasoning behind these warnings without finding an appropriate place in the doc to include it. It would also allow us to be more liberal about adding a warning kind instead of just '' as we issue warning without needing to have long accompanying messages in the console.
- Ngôn ngữ chính
- TypeScript
- Star
- 140
- Fork
- 229
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của lit/lit.dev
-
The example for `when` doesn't show that it takes the condition value as a parameterCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
GetStream/stream-chat-react#3467 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
vercel-labs/ui#1139 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10Có thể đã có người làm @goranai đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] IntegerRange.contains counts a non-integer just above max as inside an inclusive rangeĐang mởbot:ai-assisted component:platform-js status:untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
midnightntwrk/platform-js#93 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100