Commit Graph

2847 Commits

Author SHA1 Message Date
Pavel Dohnal
42bf4b31ae Allow user add lists
[MAILPOET-2452]
2019-12-10 16:22:44 +01:00
Pavel Dohnal
f389b55d8f Render list of segments
[MAILPOET-2461]
2019-12-10 16:22:44 +01:00
Pavel Dohnal
7054c24fbb Add label to list selection
[MAILPOET-2461]
2019-12-10 16:22:44 +01:00
Pavel Dohnal
ecf660d733 Create list selection blok
[MAILPOET-2461]
2019-12-10 16:22:44 +01:00
Amine Ben hammou
c9052d71d4 Disable send buttons and endpoints
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
Amine Ben hammou
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
Pavel Dohnal
24b8b53380 Add test for last name
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
2161fda884 Fix code after tests have run
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
08eab3940c Fix code after tests have run
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
1f5666ccd1 Mark mandatory fields
[MAILPOET-2451]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
639ee8b70d Refactor Blocks mappers
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
4396903719 Mark email as mandatory
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
9460006727 Map last name field
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
5ce2a2d918 Map first name field
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
f7a9753ae1 Register last name block
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
ce046dc331 Create last name block
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
0c1ca572ed Add mandatory option to First Name field
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
612f436dba Register first name block
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
040b7b1477 Create first name block
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Rostislav Wolny
e5ec9dc80a Ensure consistent data type for formData.settings.segments
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
3a65f103b0 Add test for form saving started reducer
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
fe204ec53f Add test and fixes form form validator
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
62bc8338e8 Fix name attribute in email block
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
b90939e118 Add check that input is an array to data mappers
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Pavel Dohnal
27243260ec Unify code style
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
60d528da84 Fix returning focus on title when clicked below form blocks
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
e9ee0323d3 Add acceptance test for email and submit editing
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
14831a592e Add workaroud for block/editor dependency issue
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
07b63e6893 Remove focus from block when title is focused
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
4b5b287b57 Save modified blocks on API
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
f806a24332 Switch sidebar tab when block is selected
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
d27581e805 Render block settings in block section in sidebar
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
84de31d4ab Add block editor components to editor
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
3efc103625 Add action, reducer and selector for blocks
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
d9295569a2 Add validation of missing obligatory blocks
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
a848731fec Add blocks to default state
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
c9d73f6970 Add mapper for mapping blocks to form body data
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
4e71908332 Add mapper for mapping form body to blocks
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
293956bbec Initialize blocks on editor startup
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
1ec371e24d Add submit block definition
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
c1b17d756b Add email block definition
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
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
Rostislav Wolny
cd0cce07a6 Refactor panel toggle reducer to be more readable
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
a1ac7cb4fd Add acceptance test for basic form editing
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
836974fbe2 Add list input highlight on save if no list selected
[MAILOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
338e2480d2 Refactor saving form notices end error processing from control to reducer
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
df3a0477b4 Fix file naming in reducers
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
5d1ffbc03a Refactor sidebar panels state to store
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00