Commit Graph

2075 Commits

Author SHA1 Message Date
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
63431e48ea Add default options for codemirror wrap
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
01c0381418 Use partial application instead of nested function call
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
f024c57ed7 Fix translations strings for form settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
c2823f3f68 Apply custom css in editor
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
8d0ed7a084 Add missing list check and error notices
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
4712056c65 Add form basic settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
0ba2e15a1c Use codeMirror editor for Custom CSS
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
a1b1f173d2 Add custom css panel
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
72fe158069 Refactor form placement panel to extra component
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
969f66e71c Add form placement section to form settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
9e27afc994 Fix bug
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
c24f43b2e8 Remove default context value
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
76d0dc0d9b Add context to help entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
3345903eaa Add context to forms entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
b98df95ccc Add context to form editor entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
62bd6f1126 Add context to features entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
1b5e371177 Add context to dynamic_segments entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00