-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: [DHIS2-17878][DHIS2-17048] Add overflow menu with actions to stages&events #3756
feat: [DHIS2-17878][DHIS2-17048] Add overflow menu with actions to stages&events #3756
Conversation
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.
Nice @eirikhaugstulen! I could not find anything important, but I am not in a position to approve, so I am leaving this review without approval for now. Please ask for another review from someone else as well.
.../components/WidgetStagesAndEvents/Stages/Stage/StageDetail/EventRow/SkipAction/SkipAction.js
Outdated
Show resolved
Hide resolved
Tests are on their way, but thought you could have a look at the code in the meantime 👍 |
.../capture-core/components/WidgetStagesAndEvents/Stages/Stage/StageDetail/EventRow/EventRow.js
Outdated
Show resolved
Hide resolved
.../components/WidgetStagesAndEvents/Stages/Stage/StageDetail/EventRow/SkipAction/SkipAction.js
Show resolved
Hide resolved
…t/DHIS2-17048-add-skip-event-functionality-for-stages-and-events # Conflicts: # i18n/en.pot # src/core_modules/capture-core/components/Buttons/OverflowButton.component.js # src/core_modules/capture-core/components/WidgetStagesAndEvents/Stages/Stage/StageDetail/StageDetail.component.js
Thanks for the review @simonadomnisoru! I implemented your changes and also added some more validation on whether the user has write access and so on. |
@eirikhaugstulen, solid work, the code looks good now 👏 ! Once you add some cypress tests I'll approve |
…t/DHIS2-17048-add-skip-event-functionality-for-stages-and-events
…t/DHIS2-17048-add-skip-event-functionality-for-stages-and-events # Conflicts: # src/core_modules/capture-core/components/WidgetStagesAndEvents/Stages/Stage/StageDetail/StageDetail.component.js
@simonadomnisoru tests should be working now 👍 |
🚀 Deployed on https://deploy-preview-3756--dhis2-capture.netlify.app |
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.
Tested successfully on 2.42,2.41.2,2.40.5,2.39.7 versions
# [101.4.0](v101.3.3...v101.4.0) (2024-09-09) ### Features * [DHIS2-17878][DHIS2-17048] Add overflow menu with actions to stages&events ([#3756](#3756)) ([12af138](12af138))
🎉 This PR is included in version 101.4.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Summary:
Delete
-actionSkip
-actionUnskip
-action