edit changeset

Signed-off-by: nikolar <reyna.nikolayev@autodesk.com>
This commit is contained in:
nikolar
2024-01-23 14:32:25 -08:00
parent 2bb58bfee2
commit 3a5ae74da0
+15 -17
View File
@@ -6,23 +6,21 @@
<!-- @backstage/plugin-entity-feedback -->
Add in logic to require comments for specific feedback responses
const overviewContent = (
const requireComments = (
<Grid container spacing={3} alignItems="stretch">
...
<LikeDislikeButtons
- <Grid item md={2}>
- <InfoCard title="Rate this entity">
- <LikeDislikeButtons
- feedbackDialogResponses = {[
- { id: 'incorrect', label: 'Incorrect info' },
- { id: 'missing', label: 'Missing info', mustComment: true },
- { id: 'other', label: 'Other (please specify below)', mustComment: true },
- ]}
- />
- </InfoCard>
- </Grid>
...
</Grid>
);
<!-- @backstage/plugin-entity-feedback-backend -->
Add in description for 400 response when rating and not authenticated
- feedbackDialogResponses = {[
- { id: 'incorrect', label: 'Incorrect info' },
- { id: 'missing', label: 'Missing info', mustComment: true },
- { id: 'other', label: 'Other (please specify below)', mustComment: true },
- ]}
- />
...
</Grid>
);
<!-- @backstage/plugin-entity-feedback-backend -->
Add in description for 400 response when rating and not authenticated