Action button issues and improvements
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
まず、issue にリンクされているアクション確認とバッチアクションのドキュメントから始め、次に通常ビューとバッチビュー用の既存の action および ActionGroup エントリーポイントを確認します。列挙された確認、スタイリング、優先度、条件付き有効化、および ActionGroup のケースが解決され、それらの動作が一貫してカバーされれば作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
Hello,
I can see many small issues or potential improvements related to action buttons.
Here are some of them:
-
askConfirmation()is not working in combination withrenderAsButton()(used to submit form). -
Some styles are not really rendering well. Eg:
asInfoAction()in dark mode orasTextLink()in light mode -
In dark mode, the hover effect ofsecondarybuttons (default when noasXxxAction()style is specified) looks strange. The button briefly flashes white before returning to its normal color.
Batch actions
-
askConfirmation()does not work insideBatchAction.
Instead, we are supposed to useaskConfirmationOnBatchActions(), but this method is only available atCrudconfiguration level, so there is no way to configure a different message par button inside batch actions.
=> Why not just supporting the existingaskConfirmation()in batch actions? -
In batch actions, button priority is handled differently from normal views.
For example, a button usingasPrimaryAction()is rendered on the left in the batch action menu, while in the normal view it is rendered on the right. -
For batch actions, add a way to conditionally enable or disable the action button based on the selected items, using
displayIf()or a dedicated method.
For example: an "Archive" batch action should only be enabled if all selected items are in the "completed" status.
This could be implemented by evaluating the condition for each row and adding a data attribute indicating whether the batch action is allowed for that item, for exampledata-ea-batch-action-archive="true". -
Unable to use
ActionGroupinside batch actions
- 主要言語
- PHP
- スター
- 4.3k
- フォーク
- 1.1k
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 52
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
EasyCorp/EasyAdminBundle のほかの issue
-
bug design
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
EasyCorp/EasyAdminBundle#7958 ·
メンテナーはふだん 2 日以内に返信
-
design feature
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
EasyCorp/EasyAdminBundle#7930 ·
メンテナーはふだん 2 日以内に返信
-
design
難易度 2/5 1時間未満 初心者へのやさしさ 88/100
EasyCorp/EasyAdminBundle#7879 ·
メンテナーはふだん 2 日以内に返信
-
design
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
EasyCorp/EasyAdminBundle#7875 ·
メンテナーはふだん 2 日以内に返信
-
#[AdminRoute]: the requirements of an action silently replace the ones of the class対応中かも @anthonyhacart が 1 日前に担当しました。 オープンfeature
難易度 3/5 半日 初心者へのやさしさ 30/100
EasyCorp/EasyAdminBundle#7956 ·
メンテナーはふだん 2 日以内に返信
EasyCorp/EasyAdminBundle の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
taskforcesh/bullmq#5238 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] v-change-database-password reports success but doesn't change the password when MySQL validate_password rejects it対応中かも @bfs2021 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Automattic/jetpack#55517 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
-
area/import type/enhancement when/later
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信