[docs] Missing warning redirects

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

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:

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

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 lit/lit.dev

Tất cả issue của lit/lit.dev

Issue tương tự

Thêm issue về TypeScript

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.