| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
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: ekamran <ekamran@git.wordpress.org> Co-authored-by: dkotter <dkotter@git.wordpress.org> Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org> To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 95.65217% with 1 line in your changes missing coverage. Please review.
@@ Coverage Diff @@
## develop #616 +/- ##
=============================================
+ Coverage 73.41% 74.01% +0.59%
- Complexity 1734 1736 +2
=============================================
Files 85 85
Lines 7486 7492 +6
=============================================
+ Hits 5496 5545 +49
+ Misses 1990 1947 -43
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry.
|
Sorry, something went wrong.
There was a problem hiding this comment.
Tests well via Playground, thanks!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What?
Hides the dashboard widget's Provider Capabilities section when no provider capability rows can be rendered.
Why?
The AI Capabilities dashboard widget already conditionally renders some UI based on available content. For example, the Abilities Explorer link only appears when that feature is enabled.
The Provider Capabilities section was different: it could render the section heading even when no provider capability rows were available. This left an empty section in the dashboard widget, which looked incomplete.
How?
This updates the provider capabilities rendering so it first collects providers that have renderable capabilities.
If no provider rows are available, the section is not rendered. If provider capabilities are available, the heading and rows continue to render as before.
A regression test was added for the empty provider capability state.
Testing Instructions
Automated checks run locally:
Result:
Manual verification:
Screenshots/Screencast
Before
The Provider Capabilities heading appeared even though no provider capability rows were shown.
After
The empty Provider Capabilities section is no longer rendered.
Use of AI Tools
AI assistance: Yes
Tool(s): ChatGPT / Codex
Used for: Repository review, reproduction planning, implementation guidance, test updates, and local verification. I reviewed the changes, tested the behavior locally, and take responsibility for the final submission.