Merged
Conversation
- 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
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> | ||
| )} */} |
| <WidgetPaper | ||
| title="Integrated campaigns" | ||
| elevation={1} | ||
| //@ts-ignore |
Collaborator
There was a problem hiding this comment.
you remove this with my changes
….tsx Co-authored-by: beygorghor <cgerard@bluesquarehub.com>
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
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