-
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
Subscribe Widget - Email list form tab #1879
Conversation
resolver: yupResolver(schema), | ||
}); | ||
|
||
const getTextFromDraftJsContentState = (contentJSON: string): string => { |
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.
Theres's a utils file in the rich text editor folder, could you check if this exists there already and if not to add it there
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.
it does not but I added it there as you suggested
.object({ | ||
description: yup.string().max(500, 'Description cannot exceed 500 characters'), | ||
cta_type: yup.string(), | ||
cta_text: yup.string().max(25, 'Description cannot exceed 25 characters'), |
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.
can you choose a more descriptive name than cta, also the error message still has Description
df328e7
to
d0edb26
Compare
Codecov Report
@@ Coverage Diff @@
## main #1879 +/- ##
==========================================
- Coverage 70.38% 69.73% -0.66%
==========================================
Files 426 439 +13
Lines 12874 13354 +480
Branches 974 989 +15
==========================================
+ Hits 9061 9312 +251
- Misses 3644 3864 +220
- Partials 169 178 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
575748e
to
0b1ee8f
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
* email list & form sign up tabs * add rich text editor to both drawers * push changes * add subscribe widget path * add print statements for debugging * update routes * update column type cleanup pr * cleanup pr * remove unused imports * py lint * lint and add unit test * update revisions * update test file * pylint * Update factory_scenarios.py * add subscription import * pylint * fix head colisions * update tests * update test * add .strip function for json * update * update widget test * add more logs * lint * isort fix * application out of context error * add widget_id to filtering
-Add form for Email list
-Add rich editor to context
-update subscribe context
By 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).