ReqoreProgress: a steps mode (one bar in segments: done, current, to come)

Đang mở
#712 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ó
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ệ
react, typescript
Lĩnh vực
accessibility, frontend

Hướng nghiên cứu

Start by locating ReqoreProgress and reviewing how it currently renders its bar and accessibility attributes; the issue does not name its source or test files. Compare the proposed steps mode with the WizardProgress workaround in the linked qorus-saas-landing PR. Done means segmented steps show done, current and upcoming states and expose the specified progressbar values and step text.

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

Mô tả

What the landing page needs

Filip's review of the qorus.cloud wizards (7 Oct 2026): "The steps bar looks like 1/2 now because it does not have steps, please make the progress bar have steps".

A wizard's progress reads as steps, not as a share: "Step 2 of 4" should be four segments, with the steps done in one colour, the current step in another, and the rest an empty track.

Proposed: a steps mode on ReqoreProgress, e.g. steps={4} with value={2}:

  • equal segments with a small gap, all at the bar's size and rounding;
  • a colour (or intent) each for done, current and to come;
  • one role="progressbar" with aria-valuemin=1, aria-valuemax=steps, aria-valuenow the step, and an aria-valuetext such as "Step 2 of 4".

What we did meanwhile

WizardProgress (src/components/wizard/WizardProgress.tsx in qorus-saas-landing, PR https://github.com/qoretechnologies/qorus-saas-landing/pull/19):

  • a grid of ReqoreProgress bars, one per step, each aria-hidden: done value={100} with intent="success", current value={100} with intent="info", to come value={0};
  • inside one element with role="progressbar" and the step's name;
  • marked TODO(reqore).

It replaced the continuous bar in three wizards: the hero wizard, the problem dialog and the early-access dialog.

Ngôn ngữ chính
TypeScript
Star
4
Fork
0
Merge trung bình
16 giờ 28 phút
Pull request đã merge (30 ngày)
9

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 qoretechnologies/reqore

Tất cả issue của qoretechnologies/reqore

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.