-
Notifications
You must be signed in to change notification settings - Fork 19
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
[To Main] Feature - DESENG-629: Add new engagement fields #2537
[To Main] Feature - DESENG-629: Add new engagement fields #2537
Conversation
Codecov ReportAll modified and coverable lines are covered by tests β
Additional details and impacted files@@ Coverage Diff @@
## main #2537 +/- ##
==========================================
+ Coverage 75.94% 75.97% +0.02%
==========================================
Files 603 603
Lines 21758 21781 +23
Branches 1667 1671 +4
==========================================
+ Hits 16525 16548 +23
Misses 4970 4970
Partials 263 263
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Thanks for the changes and for updating some of the language in the app to be clearer/more concise!
Could you please just remove the console logs!
@@ -43,7 +47,7 @@ const EngagementForm = () => { | |||
setIsNewEngagement(!savedEngagement.id || savedEngagement.id === 0); | |||
}, [savedEngagement]); | |||
|
|||
const getErrorMessage = () => { | |||
const getNameError = () => { |
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.
ππ»thanks for the more descriptive function name
Engagement Date | ||
</BodyText> | ||
<BodyText size="small"> | ||
Specify the date range for the public comment period, during which the public may provide |
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.
ππ»
@@ -548,7 +558,10 @@ export const EngagementTabsContextProvider = ({ children }: { children: React.Re | |||
status_block: surveyBlockList, | |||
}); | |||
|
|||
console.log('Engagement saved:', engagement); |
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.
π
if (!isNewEngagement) { | ||
console.log('Updating engagement settings...'); |
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.
π
Quality Gate passedIssues Measures |
Issue #: ποΈ DESENG-629
Description of changes:
sponsor_name
,cta_message
, andcta_url
to the engagement modelBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).