Commit Graph

9623 Commits

Author SHA1 Message Date
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
f9adff0a37 Add @wordpress/block package
[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
a07a576f8d Add css for block editor
[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
fcee93f436 Remove unnecessary imports from JS test
[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
7bf93b0c37 Update eslint config to support mocha and chai asserts
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
wxa
23b5c5c32d Release 3.41.0 2019-12-03 13:45:30 +03:00
Jan Jakeš
fa4dcb246f Try to fix flaky WooCommerce checkout optin checkbox
[MAILPOET-2543]
2019-12-02 20:11:48 +00:00
Jan Jakeš
7e6872b6dd Retry clicks failed on 'element click intercepted' to avoid flakiness
[MAILPOET-2543]
2019-12-02 20:11:48 +00:00
Jan Jakeš
8245ef878a Promote agency plan on Premium page
[MAILPOET-2534]
2019-12-02 13:18:45 +00:00
Rostislav Wolny
6015a1370d Refactor simple JS to be main JS tests
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
a6dfab1178 Add test for panel toggle reducer
[MAILPOET-2455]
2019-11-28 15:39:50 +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
ab7a4babea Unify input focus highlight in form basic settings panel
[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
Rostislav Wolny
1b0497bad3 Refactor sidebar tabs from local state to store
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Pavel Dohnal
1287152d0f Use curry instead of partial
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
c0b3ccfecc Refactor form data validation to extra function and run on every change
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
74d00145be Use classnames instead for getting conditional className
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
2e3b7cc14b Rename unclear getSegments and getPages selectors
[MAILPOET-2450]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
63431e48ea Add default options for codemirror wrap
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
01c0381418 Use partial application instead of nested function call
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
f024c57ed7 Fix translations strings for form settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
c2823f3f68 Apply custom css in editor
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
8d0ed7a084 Add missing list check and error notices
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
e53c58201b Add default styles for newly created forms
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
4712056c65 Add form basic settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
0ba2e15a1c Use codeMirror editor for Custom CSS
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
a1b1f173d2 Add custom css panel
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
72fe158069 Refactor form placement panel to extra component
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
969f66e71c Add form placement section to form settings
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Amine Ben hammou
2c0f16b0dd Fix tests and default values
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
d61d7ce483 Add class attribute to global class
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a5dc30c4b6 Use Doctrine to create the newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00