Get current object path with custom button
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
Start with the JsonView.Copied component renderer and compare it with the other available component renderers to determine where the current object path could be exposed. The work is done when a custom button can retrieve the path for both nested properties such as data.foo and object rows such as data.
索引モデルが issue の本文から書いたものです。
説明
I'm trying to add a button next to the copy button which would get me the current object path. For example, if I have the object
{
"id": "1",
"data": {
"foo": "bar"
}
}
and I clicked the button on the "foo": "bar" row, I want to return "data.foo". Similarly, if I clicked the button on the "data": { row, I want to return "data".
Here's an image with the button for reference (fake data)
My first attempt was using the JsonView.Copied component renderer to just throw the button next to the copy button, but I don't have access to the current path in the object there. The renderer only knows the key and value of the row. I don't see how I would achieve what I want with the other available component renderers either.
Is there a method with the current functionality? If not, would it be possible to add support for this use-case?
- 主要言語
- TypeScript
- スター
- 420
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
uiwjs/react-json-view のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
uiwjs/react-json-view#92 · コメント 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
uiwjs/react-json-view#93 ·
-
Named exportオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
uiwjs/react-json-view#90 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
uiwjs/react-json-view#89 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
uiwjs/react-json-view#88 · リアクション 1 件 ·
uiwjs/react-json-view の issue をすべて見る
似ている issue
-
resources
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
railmapgen/rmg-palette#2445 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
danielmiessler/LifeOS#2242 ·
メンテナーはふだん 5 日以内に返信
-
good first issue hacktoberfest help wanted translation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
callstackincubator/appduct#129 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100