Document emails.logo and emails.logo_width (bundle config)
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 90/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- yaml
調査の方向性
まず content/4.api/ のバンドル設定リファレンスから、ユーザーのメール設定を確認します。silverback_api_components.emails.logo と logo_width を、デフォルト値、Twig パスの動作、正の整数の制約、および website_name の代替テキスト変更を含めて追加します。設定例を更新し、生成されたリファレンスが他のバンドル設定と一致することを確認してください。
索引モデルが issue の本文から書いたものです。
説明
The API components bundle adds config for the logo at the top of every email it sends (user emails and the orphaned resources notification): components-web-app/api-components-bundle#576 (issue components-web-app/api-components-bundle#573).
To document in the bundle configuration reference (content/4.api/), near the user email settings:
silverback_api_components.emails.logo: a Twig path to the image (e.g.emails/logo.pngfortemplates/emails/logo.png, or a namespaced@App/...path). Not a filesystem path: it is embedded through Twig'semail.image(). Default: the bundle's CWA logo (@SilverbackApiComponents/assets/images/email_logo.png).silverback_api_components.emails.logo_width: optional width in pixels (positive integer). Set it for a 2x (retina) image so it displays at half its pixel width; null shows the image at its own width (capped by the stylesheet'smax-height: 140px).- The logo's alt text is now the site's
website_name(it wasLogo). - This replaces the workaround of overriding
templates/bundles/SilverbackApiComponentsBundle/emails/_template.html.twigand the logo image.
silverback_api_components:
emails:
logo: emails/logo.png
logo_width: 200
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1時間 20分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
components-web-app/docs のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 40/100
components-web-app/docs#314 · コメント 1 件 ·
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
components-web-app/docs#290 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
components-web-app/docs#289 · コメント 2 件 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
components-web-app/docs#237 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
components-web-app/docs#1 · コメント 3 件 ·
components-web-app/docs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
🔊 a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
betagouv/mon-entreprise#4726 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Deltares/fews-pi-requests#357 ·
メンテナーはふだん 1 日以内に返信
-
bug confirmed js v6
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信