Feature CustomerProfile
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
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, react
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu bằng cách xác định component SearchResults và xem xét cách các hàng trong bảng cùng state của nó được xử lý. Thêm component CustomerProfile bên cạnh bảng, kết nối nút Show profile của mỗi hàng với id của khách hàng được chọn, rồi xác minh các trạng thái ban đầu và kết quả sau khi nhấp được nêu cho khách hàng 1 và 2.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
20. Display a customer profile - iteration 1
Instructions:
Ccreate a new <CustomerProfile /> component. This component should be rendered next to the table in the <SearchResults /> component. This component should receive one prop id.
Add a new column in the table of the <SearchResults /> component and display a <button> for each row.
The text of the button should read "Show profile"
When clicking on a "Show profile" button for a given row, the component <CustomerProfile /> should display the text "Customer Profile", where is the id of the selected customer. Initially, the <CustomerProfile /> component doesn't show anything.
Hint: You need to record the selected customer id after clicking on a "Show profile" button. In which component do you think this state should be defined?
Test:
When first showing the page, no customer profile is displayed. When clicking the first "Show profile" button of the table, the text "Customer 1 profile" appears. When clicking the second "Show profile" button of the table, the text "Customer 2 profile" appears instead.
- Ngôn ngữ chính
- JavaScript
- Star
- 1
- Fork
- 28
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 CodeYourFuture/React-Module-Project
-
Feature Error Message Đang mở♟️ Dependent ticket 🏕 Priority Mandatory 🐇 Size Small 📅 Week 3 📅 Week 4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Loading Message Đang mở🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Search State Đang mở🐂 Size Medium 📅 Week 3 🧩 Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Active Row Đang mở🏝️ Priority Stretch 🐂 Size Medium 📅 Week 2 🧩 Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Bookings state Đang mở🏕 Priority Mandatory 🐇 Size Small 📅 Week 2 🧩 Feature
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Tất cả issue của CodeYourFuture/React-Module-Project
Issue tương tự
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-webui/open-webui#30750 · 1 bình luận ·
-
Độ 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 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100