-
Notifications
You must be signed in to change notification settings - Fork 526
Fix incorrect folder coverage calculation #6614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
c390b9f
56aef27
4fe6cd0
ff52c18
eb886f4
b3bdc2c
9294cd8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@backstage-community/plugin-code-coverage': patch | ||
| --- | ||
|
|
||
| Fix folder coverage calculation to use aggregated tracked and missing lines instead of averaging child coverage percentages. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@backstage-community/plugins': patch | ||
| --- | ||
|
|
||
| docs(feedback): add new frontend / hybrid migration notice | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,6 +38,18 @@ It is dedicated to simplifying the process of gathering and managing user feedba | |
|
|
||
| ### Plugin Setup | ||
|
|
||
| ## New Frontend / Hybrid Migration Notice | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these changes aren't expected right?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
You are right that README change was not intended for this PR. I have reverted it and pushed the update. Thanks for pointing it out. |
||
|
|
||
| The Feedback plugin currently has limited support for the new | ||
| Backstage frontend and hybrid migration setups. | ||
|
|
||
| The following steps are **legacy frontend only**: | ||
|
|
||
| - Adding routes in `App.tsx` using `FlatRoutes` | ||
| - Registering components directly in `AppRouter` | ||
|
|
||
| ## The backend configuration and catalog annotations remain the same for both legacy and new frontend setups. | ||
|
|
||
| 1. Install the plugin in your environment | ||
|
|
||
| ```bash | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run
yarn changesetfrom thecode-coverageworkspace instead of the rootThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I regenerated the changeset from the plugin-code-coverage workspace (not root) and pushed the update. Please let me know if anything else is needed.