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

Improve warning headings and validation status clarity

Đang mở
#55 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
62/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
frontend, testing

Hướng nghiên cứu

Bắt đầu từ giao diện UI xác thực và xem xét của workflow nhập siêu dữ liệu GitHub, sau đó kiểm tra các tiêu đề cảnh báo hiện có, số lượng và trạng thái của các trường bắt buộc. Thêm hoặc cập nhật các bài kiểm thử cho trạng thái ban đầu chưa được thay đổi và phần hiển thị trạng thái; công việc hoàn tất khi nhãn và số lượng là rõ ràng, cảnh báo nhập dữ liệu được phân biệt với lỗi xác thực, và các trường bắt buộc chưa được thay đổi không bị coi là không hợp lệ.

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

Mô tả

During testing of the GitHub metadata import workflow, the validation/review UI displays warning headings and counts that are difficult to interpret.

Reviewers noted that labels such as "Needs attention," "done well," and "errors" do not clearly communicate what the associated counts represent. There is also some confusion between the warnings generated during metadata import and the warnings/errors displayed during metadata validation.

Additionally, required fields can appear as warnings or errors before the user has interacted with them. Required fields should be clearly indicated, but should not appear invalid simply because they have not yet been filled out or interacted with.

Expected Behavior

  • Warning and validation headings should clearly communicate what is being counted.
  • Import warnings should be distinguishable from validation errors and fields requiring attention.
  • Required fields should be visually marked as required without appearing invalid before user interaction.
  • Validation status should be consistent and easy to understand.

Acceptance Criteria

  • Clarify the headings and labels used for warnings, errors, and validation status.
  • Make the associated counts clearly correspond to the category being displayed.
  • Distinguish import warnings from metadata validation errors.
  • Prevent untouched required fields from appearing invalid before user interaction.
  • Preserve the existing validation logic and behavior.
  • Add or update tests covering the initial untouched state and warning/validation status display.
Ngôn ngữ chính
JavaScript
Star
0
Fork
0
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
5

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 Imageomics/OpenCite

Tất cả issue của Imageomics/OpenCite

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.