Vite migration (3/3): check-ui guards and small follow-ups
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
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- css, javascript, vite
- Lĩnh vực
- build-system, frontend, testing
Hướng nghiên cứu
Bắt đầu với make check-ui và kiểm tra script/check-built-assets.sh, ui/scripts/check-locale-resolution.js, ui/scripts/check-plugin-i18n-order.js và ui/scripts/locale-probe.js. Xem xét thứ tự khai báo trong Comment/index.scss và route pages/403, sau đó chạy ba check trên dev cùng các bước 1 và 2. Hoàn tất khi make check-ui ở trạng thái xanh và ./script/check-built-assets.sh --self-check báo cáo rằng mọi fixture đều thất bại đúng như dự kiến.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of #1578. Depends on #1580. Not required to boot.
Change. Three guard checks for behaviour a successful build does not demonstrate, wired as make check-ui: script/check-built-assets.sh builds the frontend, runs TestGetStyleResolvesBuiltAssets, and under --self-check rewrites the built index.html into shapes the server cannot use and asserts the check fails on each; ui/scripts/check-locale-resolution.js starts the real dev server and requires a non-default language to resolve through the module graph and to be fetchable over HTTP; ui/scripts/check-plugin-i18n-order.js registers a plugin translation bundle before and after i18next initialises and asserts the translations land. All three fail closed: preset failure, bounded server create, listen and close, a whole-run watchdog. Plus ui/scripts/locale-probe.js, the small CSS fix (Comment/index.scss declaration order) and the pages/403 route repoint. The one-line Editor/index.scss custom-property fix that #1567 also carried is not here: the new CSS minifier rejects the invalid declaration outright and fails the build, so it had to ride in step 2.
Done when. make check-ui is green on all three targets on dev plus steps 1 and 2 plus this change, and ./script/check-built-assets.sh --self-check reports every fixture failing as intended.
- Ngôn ngữ chính
- Go
- Star
- 15.7k
- Fork
- 1.4k
- Merge trung bình
- 1 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 apache/answer
-
List button click not working Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Hardening: cap the invite_user list size in UpdateQuestionInviteUser to bound notification fan-out Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Gravatar hash is computed from the un-lowercased email, so mixed-case accounts render an identicon Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Tất cả issue của apache/answer
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 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 75/100
googleapis/librarian#7670 · 2 bình luận ·