-
Notifications
You must be signed in to change notification settings - Fork 43
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
Reports page api updates #1305
Labels
Custom Assessment
Items relating to custom assessment work
Comments
sjd78
added a commit
that referenced
this issue
Sep 21, 2023
Shows selection of possible questionnaires of current assessments Pass to `<Landscape>`: - If "All questionnaires" option has been selected then the whole assessments list is passed - When a specific questionnaire is selected then only the assessments bound to that questionnaire are passed. The consolidation of the risks is left to be handled by the Landscape component in following PR. #1305 ![image](https://github.com/konveyor/tackle2-ui/assets/1901741/c48b117f-7f5a-46e9-ac83-22cb7b14d85f) --------- Signed-off-by: Gilles Dubreuil <[email protected]> Co-authored-by: Scott Dickerson <[email protected]>
sjd78
added a commit
to sjd78/tackle2-ui
that referenced
this issue
Sep 22, 2023
Custom assessments changes risk and confidence to be accessed from `Assessment` and not `Application`. The reports page in general, and the `Landscape` component in specific need to be updated to use risk values from `Assessment`. Summary of Change: - `Reports` - Fetch `Questionnaires` and `Assessments` to allow easy use in the Questionnaire select menu - Adjust the `Card`s to be clickable and selectable when we provide custom actions (to avoid a console warning) - `Landscape` - Use data from props instead of fetching any additional data. The containing component is now responsible for controlling the source data. - Aggregate risk data into buckets matching `Risk` options - Setup responsive layout so the donut charts wrap nicely when the view becomes narrow - `Donut` - Force `id` to be provided - Set the width to `200px` - Make sure content lines up centered in its container - Deprecated `useFetchRisks()` Enhancement: https://github.com/konveyor/enhancements/blob/90b827b68cc367284a66bf66f087d5c263487e05/enhancements/assessment-module/README.md#changes-in-the-application-reports-view Part Of: konveyor#1305 Follow Up: konveyor#1374 Signed-off-by: Scott J Dickerson <[email protected]>
sjd78
added a commit
to sjd78/tackle2-ui
that referenced
this issue
Sep 22, 2023
Custom assessments changes risk and confidence to be accessed from `Assessment` and not `Application`. The reports page in general, and the `Landscape` component in specific need to be updated to use risk values from `Assessment`. Summary of Change: - `Reports` - Fetch `Questionnaires` and `Assessments` to allow easy use in the Questionnaire select menu - Adjust the `Card`s to be clickable and selectable when we provide custom actions (to avoid a console warning) - `Landscape` - Use data from props instead of fetching any additional data. The containing component is now responsible for controlling the source data. - Aggregate risk data into buckets matching `Risk` options - Setup responsive layout so the donut charts wrap nicely when the view becomes narrow - `Donut` - Force `id` to be provided - Set the width to `200px` - Make sure content lines up centered in its container - Deprecated `useFetchRisks()` Enhancement: https://github.com/konveyor/enhancements/blob/90b827b68cc367284a66bf66f087d5c263487e05/enhancements/assessment-module/README.md#changes-in-the-application-reports-view Part Of: konveyor#1305 Follow Up: konveyor#1374 Signed-off-by: Scott J Dickerson <[email protected]>
ibolton336
added a commit
that referenced
this issue
Sep 25, 2023
# Summary Custom assessments changes risk and confidence to be accessed from `Assessment` and not `Application`. The reports page in general, and the `Landscape` component in specific need to be updated to use risk values from `Assessment`. ## Changes `Reports` - Fetch `Questionnaires` and `Assessments` to allow easy use in the Questionnaire select menu - Adjust the `Card`s to be clickable and selectable when we provide custom actions (to avoid a console warning) `Landscape` - Use data from props instead of fetching any additional data. The containing component is now responsible for controlling the source data. - Aggregate risk data into buckets matching `Risk` options - Setup responsive layout so the donut charts wrap nicely when the view becomes narrow `Donut` - Force `id` to be provided - Set the width to `200px` - Make sure content lines up centered in its container Deprecated `useFetchRisks()` ## Screenshots All questionnaires: ![image](https://github.com/konveyor/tackle2-ui/assets/3985964/9711a2b9-aa7d-4d00-b1fc-22402e97f727) Single questionnaire: ![image](https://github.com/konveyor/tackle2-ui/assets/3985964/30cb1134-c368-4843-9534-d532db2b320a) ## References Enhancement: https://github.com/konveyor/enhancements/blob/90b827b68cc367284a66bf66f087d5c263487e05/enhancements/assessment-module/README.md#changes-in-the-application-reports-view Part Of: #1305 Follow Up: #1374 Signed-off-by: Scott J Dickerson <[email protected]> Co-authored-by: Ian Bolton <[email protected]>
With the details on this issue a bit old now, and direction changing slightly in advance of the next set of changes, this issue can be closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The reports page needs to be driven by all available questionnaire data. There will also be a dropdown to select which archetype to drive the reports data from at the top of the page with the default being all existing questionnaires in the database with a "required" flag set to true
https://www.sketch.com/s/af50e991-8061-4b69-84c1-c11241e274f2/a/VEvWnDo
https://www.sketch.com/s/af50e991-8061-4b69-84c1-c11241e274f2/a/zyq8Y1M
To do:
riskMessages
from the questionnaire displayed as a sub-title, when a single questionnaire is selected: See See ✨ Reports - Current Landscape update risk handling #1395The text was updated successfully, but these errors were encountered: