Tip admonition block style is not applied correctly in v5
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
Start with packages/module/src/ConsoleShared/src/components/markdown-extensions/admonition-extension.tsx at line 20 and reproduce the TIP syntax from the issue using PatternFly 5. Compare the rendered result with the Alert custom variant documentation. Done means the TIP admonition displays the expected custom styling.
索引モデルが issue の本文から書いたものです。
説明
Description
When I use the following syntax for an admonition block with TIP variant.
[This is the tip contents]{{admonition tip}}
The block is displayed but its style is incorrect. I expect it to have "custom" variant style as in this doc: https://www.patternfly.org/components/alert#alert-variants.
| What I expect to see | What I saw instead |
|---|---|
Environment
Using v5.3.0 with Patternfly 5.
"@patternfly/quickstarts": "^5.3.0",
"@patternfly/react-catalog-view-extension": "^5.0.0",
"@patternfly/react-charts": "^7.3.0",
"@patternfly/react-core": "^5.3.4",
"@patternfly/react-icons": "^5.3.2",
"@patternfly/react-styles": "^5.3.1",
"@patternfly/react-table": "^5.3.4",
"@patternfly/react-topology": "^5.2.0",
Others
I think a quick fix would be to set the variant of the TIP admonition to custom or simply unset it. See below:
Reference: https://www.patternfly.org/components/alert#alert
- 主要言語
- TypeScript
- スター
- 15
- フォーク
- 47
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
patternfly/patternfly-quickstarts のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
PF Team
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
PF Team
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
patternfly/patternfly-quickstarts の issue をすべて見る
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100