A new message is introduced to B2B recipients in the x-gift-article prompting the users to save their highlights in order to re-share the article with the received highlights.
Changes:
Created a new message HighlightRecipientMessage which will be shown to B2B users only if they open a shared article with highlights( highlights query parameter should be in the url)
Created a new success message HighlightSuccessMessage which will appear after the user clicks save the highlights.
Moved the highlights checkbox to a separate file - HighlightCheckbox, which will appear after the user has saved the shared highlights or when the user has created highlights on their own.
Updated HighlightsSection to be a wrapper of the highlights checkbox, the recipient message for saving highlights and the success message afterwards.
Created a separate highlightsApi client to be used only for requests to the user-annotations-api
Description
A new message is introduced to B2B recipients in the
x-gift-article
prompting the users to save their highlights in order to re-share the article with the received highlights.Changes:
HighlightRecipientMessage
which will be shown to B2B users only if they open a shared article with highlights(highlights
query parameter should be in the url)HighlightSuccessMessage
which will appear after the user clickssave the highlights
.HighlightCheckbox
, which will appear after the user has saved the shared highlights or when the user has created highlights on their own.HighlightsSection
to be a wrapper of the highlights checkbox, the recipient message for saving highlights and the success message afterwards.highlightsApi
client to be used only for requests to theuser-annotations-api
Jira ticket
https://financialtimes.atlassian.net/browse/ENTST-397
Visuals
https://github.com/Financial-Times/x-dash/assets/22678655/d6e1e69f-3551-4823-9513-e366ac306a29