Add specific UI elements for some common input variables data types
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず、ブロック UI で入力変数がどのようにレンダリングされるかを追跡します。各フィールドに使用されている汎用テキスト入力に注目してください。bool 変数がチェックボックスまたはトグルとしてレンダリングされ、enum 変数がサポートされている値を含むセレクトとしてレンダリングされれば完了です。issue では特定のファイルやテストは指定されていません。
索引モデルが issue の本文から書いたものです。
説明
For every input variable you add to a block, you get the same generic text input field in the UI.
In the future, it would be great to make the UI component to match the best UI for the specific data type. Integers, dates, etc. It would be also awesome to have hooks to allow plugin developers to use their own components to handle the fields.
But for starters, it would be great if we could add two basic field types:
- bool - render a checkbox or toggle
- enum - render a select
At Newspack, we have some usecases that could really use these. For example, in a list block, the API allow you to choose how to order the list. We can do this, but the user needs to know what are the supported fields, and type them perfectly. This could be easily acheived with an enum and a selectbox.
- 主要言語
- PHP
- スター
- 86
- フォーク
- 14
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 23
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Automattic/remote-data-blocks のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
Automattic/remote-data-blocks#883 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Automattic/remote-data-blocks#879 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
Automattic/remote-data-blocks#878 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Automattic/remote-data-blocks#821 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
Automattic/remote-data-blocks#312 ·
メンテナーはふだん 1 日以内に返信
Automattic/remote-data-blocks の issue をすべて見る
似ている issue
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.phpオープンenhancement feature: settings good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
nextcloud/integration_openai#480 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
omeka/plugin-Contribution#84 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
recca0120/vscode-phpunit#620 ·
メンテナーはふだん 1 日以内に返信