-
Notifications
You must be signed in to change notification settings - Fork 10
POLIO-2055 integrated campaigns UI #2632
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- TODO: replace obr name with ID to simplify validation
- replace serializerFields - update tests
…egrated_campaigns_UI
- extract WidgetPaperRow for reuse
- no edition
…egrated_campaigns_UI
…egrated_campaigns_UI
- outline add integrated component - align delete icons - use better translations - update blsq-comp
…egrated_campaigns_UI
beygorghor
approved these changes
Jan 5, 2026
hat/assets/js/apps/Iaso/components/papers/WidgetPaperComponent.tsx
Outdated
Show resolved
Hide resolved
Comment on lines
+170
to
+192
| {/* {!isPolio && ( | ||
| <Box ml={2} mb={2} mt={2}> | ||
| <Grid container justifyContent="flex-start"> | ||
| <Grid item xs={6} lg={5}> | ||
| <Typography variant="button"> | ||
| Integrated to Polio campaign: | ||
| </Typography> | ||
| </Grid> | ||
| <Grid item xs={6} lg={7}> | ||
| <Typography variant="button"> | ||
| <LinkTo | ||
| url={`campaignId/${values.integrated_to?.id}`} | ||
| condition | ||
| text={ | ||
| values.integrated_to | ||
| ?.obr_name | ||
| } | ||
| /> | ||
| </Typography> | ||
| </Grid> | ||
| </Grid> | ||
| </Box> | ||
| )} */} |
Collaborator
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.
?
| <WidgetPaper | ||
| title="Integrated campaigns" | ||
| elevation={1} | ||
| //@ts-ignore |
Collaborator
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.
you remove this with my changes
….tsx Co-authored-by: beygorghor <cgerard@bluesquarehub.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add interface to add integrated campaigns to polio campaign
Related JIRA tickets :POLIO-2055
Self proofreading checklist
Doc
In code
Changes
WidgetPaperwith child table listing the integrated campaignsAsyncSelectto avoid loading all campaignsHow to test
With the polio plugin activated:
Print screen / video
CREATE
https://github.com/user-attachments/assets/12164eb1-7ff6-49a0-8188-f9caa9c83679
EDIT
https://github.com/user-attachments/assets/7eb168df-f75e-464d-8d53-a4a3a9b21bff
Notes