-
Notifications
You must be signed in to change notification settings - Fork 16
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
Share Collection and Share Dataset features #554
base: develop
Are you sure you want to change the base?
Conversation
@g-saracca looks good to me! Modern icons! |
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.
Great job~ I left some comments here may need changes.
src/sections/dataset/dataset-action-buttons/DatasetActionButtons.tsx
Outdated
Show resolved
Hide resolved
tests/component/sections/dataset/dataset-action-buttons/DatasetActionButtons.spec.tsx
Outdated
Show resolved
Hide resolved
tests/component/sections/shared/social-share-modal/SocialShareModal.spec.tsx
Outdated
Show resolved
Hide resolved
@ChengShi-1 all the requested changes have been addressed 👍🏼 , thanks! |
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.
Good! Approve
What this PR does / why we need it:
Replicates the Share feature on the Collection Page and Dataset Page, supporting the same sharing channel options as in JSF.
Same modal component
SocialShareModal
it's used for both pages.Which issue(s) this PR closes:
Suggestions on how to test this:
Click the share buttons and check that the redirections are correct.
Unlike the JSF version, the links do not open in a popup but open in a new tab.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Yes.
Collection Page
Dataset Page
Is there a release notes update needed for this change?:
No
Additional documentation:
No