Support for Multiple Walkthroughable Elements in a Single `CopilotStep`
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react-native, typescript
- 領域
- mobile
調査の方向性
Issue に記載されている walkthroughable API と CopilotStep の動作から始め、その後、複数の walkthroughable 子要素が現在どのように処理されているかを確認します。1 つの CopilotStep が、walkthroughable ではない Text とともに 2 つの walkthroughable Text 要素を含むことができ、意図したハイライトとステップの動作がテストでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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!
- 主要言語
- TypeScript
- スター
- 2.4k
- フォーク
- 425
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mohebifar/react-native-copilot のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
mohebifar/react-native-copilot#354 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
mohebifar/react-native-copilot#351 · コメント 1 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
mohebifar/react-native-copilot#349 · コメント 11 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
mohebifar/react-native-copilot#348 · コメント 2 件 ·
mohebifar/react-native-copilot の issue をすべて見る
似ている issue
-
Resources: New templates of Beijing Subway対応中かも @rmt-svc が今日担当しました。 オープンresources
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
railmapgen/rmg-templates#2726 ·
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
homarr-labs/homarr#7729 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Buzzpy/Dev-Encyclopedia#218 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
prio:low status:done type:content
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
davidsneighbour/samui-samui.de#1925 ·