-
Notifications
You must be signed in to change notification settings - Fork 26
feat: allow sharing dialog to only show data sharing and hide metadat… #1709
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
Conversation
|
🚀 Deployed on https://pr-1709--dhis2-ui.netlify.app |
| dataSharing | ||
| ? 'endWrapper endWrapperData' | ||
| : 'endWrapper endWrapperMetadata' | ||
| dataSharing && metadataSharing |
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.
minor(if it makes sense to you): maybe all of these dataSharing && metadataSharing combinations can be stored in a variable to make it less verbose and semantic .. something like showAllSharingModes or even showDataAndMetadataSharing (or the other way, showMetaDataOnly)
|



Description
With this PR we want to change the sharing dialog so that it can be used for only data sharing, and no metadata sharing.
This will be used in the new maintanace app, for program stages sharing setting.
Checklist
Screenshots