Skip to content

Adds optional description to providers#210

Merged
JasonTheAdams merged 4 commits intotrunkfrom
add/provider-description
Feb 27, 2026
Merged

Adds optional description to providers#210
JasonTheAdams merged 4 commits intotrunkfrom
add/provider-description

Conversation

@JasonTheAdams
Copy link
Copy Markdown
Member

This adds "description" as an optional field for providers. This is useful in contexts where providers are being listed out for users.

@JasonTheAdams JasonTheAdams self-assigned this Feb 25, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 25, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: JasonTheAdams <jason_the_adams@git.wordpress.org>
Co-authored-by: felixarntz <flixos90@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.41%. Comparing base (c23867f) to head (4b49f2b).
⚠️ Report is 5 commits behind head on trunk.

Additional details and impacted files
@@             Coverage Diff              @@
##              trunk     #210      +/-   ##
============================================
+ Coverage     87.38%   87.41%   +0.02%     
- Complexity     1188     1189       +1     
============================================
  Files            60       60              
  Lines          3837     3846       +9     
============================================
+ Hits           3353     3362       +9     
  Misses          484      484              
Flag Coverage Δ
unit 87.41% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@felixarntz felixarntz added the [Type] Enhancement A suggestion for improvement. label Feb 25, 2026
@felixarntz felixarntz added this to the 1.2.0 milestone Feb 25, 2026
Copy link
Copy Markdown
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Though this prompts for a slight refactoring of ProviderMetadata constructor.

Copy link
Copy Markdown
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost good to go! Preemptively approving, but please address the remaining feedback before merge.

@JasonTheAdams JasonTheAdams merged commit 7dd7316 into trunk Feb 27, 2026
9 of 11 checks passed
@JasonTheAdams JasonTheAdams deleted the add/provider-description branch February 27, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants