Support for Multiple Walkthroughable Elements in a Single `CopilotStep`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react-native, typescript
- Lĩnh vực
- mobile
Hướng nghiên cứu
Bắt đầu từ walkthroughable API và hành vi của CopilotStep được mô tả trong issue, sau đó kiểm tra cách nhiều phần tử con walkthroughable hiện đang được xử lý. Hoàn thành có nghĩa là một CopilotStep có thể chứa hai phần tử Text walkthroughable cùng với một Text không walkthroughable, với hành vi highlight và step như dự kiến được bao phủ bởi các bài kiểm thử.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi, thank you for creating and maintaining this great library!
I have a use case where I need to include multiple walkthroughable elements inside a single CopilotStep. Specifically, I have a View containing three Text components. I would like to make two of these Text components walkthroughable using const CopilotText = walkthroughable(Text);, while the third Text remains non-walkthroughable.
Here’s a simplified example of what I’m trying to achieve:
import { walkthroughable } from 'react-native-copilot';
const CopilotText = walkthroughable(Text);
<CopilotStep text="Step 1" order={1} name="step1">
<View>
<CopilotText>Walkthrough Text 1</CopilotText>
<Text>Non-Walkthrough Text</Text>
<CopilotText>Walkthrough Text 2</CopilotText>
</View>
</CopilotStep>
Currently, it seems that the library does not support multiple walkthroughable elements within the same CopilotStep. Is there a way to achieve this with the current API? Or would this require an enhancement to the library?
If not supported, I believe this feature could be a valuable addition for scenarios where multiple interactive components need to be highlighted within a single logical step.
Looking forward to your response. Thank you for your time and for maintaining this awesome library!
- Ngôn ngữ chính
- TypeScript
- Star
- 2.4k
- Fork
- 425
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 mohebifar/react-native-copilot
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
mohebifar/react-native-copilot#354 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
mohebifar/react-native-copilot#351 · 1 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
mohebifar/react-native-copilot#349 · 11 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
mohebifar/react-native-copilot#348 · 2 bình luận ·
Tất cả issue của mohebifar/react-native-copilot
Issue tương tự
-
Resources: New templates of Beijing SubwayCó thể đã có người làm @rmt-svc đã nhận hôm nay. Đang mởresources
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
railmapgen/rmg-templates#2726 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
homarr-labs/homarr#7729 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Buzzpy/Dev-Encyclopedia#218 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
prio:low status:done type:content
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
davidsneighbour/samui-samui.de#1925 ·