Pop-up Note > Display MetaSection component
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
relates to
Checklist
hideTestRail: Results
Activity

Priyanka Terala July 7, 2022 at 6:26 AM
and
Thank you for the inputs!
Zak Burke July 6, 2022 at 6:58 PM
, : According to mod-notes documentation, created-by/updated-by UUIDs and usernames are already part of the metadata
attribute in the mod-notes schema. And we already have a ViewMetaData smart-component to handle retrieval and display of name information given a UUID, so I don't think any BE changes are necessary here.
Pavlo Smahin July 4, 2022 at 2:14 PM
From BE view it's not applicable to add users' details on the `note-links` endpoint because for each note we will need to request the user's data from mod-users. There could be performance degradation.
To resolve your problem you have two ways:
request note by ID `/notes/<id>` when you need user's names
request user's details from mod-users `users/<id>`. IDs are in createdByUserId and updatedByUserId fields.

Priyanka Terala July 4, 2022 at 12:33 PM
This ticket needs changes in stripe-smart-components. Hence the ticket will have to be moved to STSMACOM project.
This ticket needs createdBy and updatedBy names in meta section(alongside other createdDate and lastUpdatedDate) of user pop notes and checkout pop up notes.
So, I think there needs to be a BE change to provide the above mentioned names in note-links API response. Do you agree?

Khalilah Gambrell July 1, 2022 at 11:25 AM
Done. Thanks
Details
Details
Assignee

Reporter

Tester Assignee

On the notes pop-up display the MetaSection component (https://ux.folio.org/storybook/?path=/story/metasection--basic-usage). See attached mockup.
Default state: collapsed
Verify
Verify that this component displays when note pops up on Users app
Verify that this component displays when note pops up on Check-out app