Commit Graph

2142 Commits

Author SHA1 Message Date
856c870ae5 Show subscribers limit warning
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
wxa
98f18a48fb Always show 'Customize' button for WC email customizer [MAILPOET-2520] 2019-12-10 10:07:11 +00:00
wxa
b528b732a5 Add WC customizer activation button to the editor [MAILPOET-2520] 2019-12-10 10:07:11 +00:00
24b8b53380 Add test for last name
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
2161fda884 Fix code after tests have run
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
08eab3940c Fix code after tests have run
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
1f5666ccd1 Mark mandatory fields
[MAILPOET-2451]
2019-12-05 13:01:55 +01:00
639ee8b70d Refactor Blocks mappers
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
4396903719 Mark email as mandatory
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
9460006727 Map last name field
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
5ce2a2d918 Map first name field
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
f7a9753ae1 Register last name block
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
ce046dc331 Create last name block
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
0c1ca572ed Add mandatory option to First Name field
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
612f436dba Register first name block
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
040b7b1477 Create first name block
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
e5ec9dc80a Ensure consistent data type for formData.settings.segments
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
3a65f103b0 Add test for form saving started reducer
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
fe204ec53f Add test and fixes form form validator
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
62bc8338e8 Fix name attribute in email block
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
b90939e118 Add check that input is an array to data mappers
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
27243260ec Unify code style
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
60d528da84 Fix returning focus on title when clicked below form blocks
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
e9ee0323d3 Add acceptance test for email and submit editing
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
14831a592e Add workaroud for block/editor dependency issue
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
07b63e6893 Remove focus from block when title is focused
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
4b5b287b57 Save modified blocks on API
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
f806a24332 Switch sidebar tab when block is selected
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
d27581e805 Render block settings in block section in sidebar
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
84de31d4ab Add block editor components to editor
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
3efc103625 Add action, reducer and selector for blocks
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
d9295569a2 Add validation of missing obligatory blocks
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
a848731fec Add blocks to default state
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
c9d73f6970 Add mapper for mapping blocks to form body data
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
4e71908332 Add mapper for mapping form body to blocks
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
293956bbec Initialize blocks on editor startup
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
1ec371e24d Add submit block definition
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
c1b17d756b Add email block definition
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
b0a467d156 Use same component for form title as Gutenberg does
Ordinary textarea doesn't support automatic height detection.
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
cd0cce07a6 Refactor panel toggle reducer to be more readable
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
a1ac7cb4fd Add acceptance test for basic form editing
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
836974fbe2 Add list input highlight on save if no list selected
[MAILOET-2455]
2019-11-28 15:39:50 +00:00
338e2480d2 Refactor saving form notices end error processing from control to reducer
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
df3a0477b4 Fix file naming in reducers
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
5d1ffbc03a Refactor sidebar panels state to store
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
1b0497bad3 Refactor sidebar tabs from local state to store
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
1287152d0f Use curry instead of partial
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
c0b3ccfecc Refactor form data validation to extra function and run on every change
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
74d00145be Use classnames instead for getting conditional className
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
2e3b7cc14b Rename unclear getSegments and getPages selectors
[MAILPOET-2450]
2019-11-28 15:39:50 +00:00