Add `completed` event for stepper / steps
- Ngôn ngữ chính
- TypeScript
- Star
- 25k
- Fork
- 6.8k
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 91
Mô tả
#### Bug, feature request, or proposal:
Proposal
#### What is the expected behavior?
Optionally allow the consumer define if it wants to auto-advance an step when it completes (by using [completed] step property)
#### What is the current behavior?
Nothing happens as soon the step is marked as completed
#### What is the use-case or motivation for changing an existing behavior?
Use Observable based state such as NgRx stores, and in a more functional way allow set the stepper navigation based on state, now I have to subscribe to store and call navigation via an stepper instance in order to handle steps advance, too imperatively and also results in a awful timing issues because when stepper.next() is called and [completed] property update is on its way nothing happens.
#### Is there anything else we should know?
I'm willing to implement such feature. No breaking changes would be introduced.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu từ entry point của component stepper/steps của Angular Material và kiểm tra cách thuộc tính hiện có của step đã hoàn thành và navigation được xử lý. Làm rõ contract auto-advance tùy chọn, sự tương tác của nó với các cập nhật state và phạm vi regression coverage cần thiết; được xem là hoàn tất khi behavior là opt-in và không làm hỏng navigation hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- frontend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100