Commit Graph

9408 Commits

Author SHA1 Message Date
ca88ef3359 Make h2 and h3 different size in the form editor
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
52d94256da Map heading colours
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
3c32811720 Use block editor's color settings for block colors mapping
[MAILPOET-2754]
2020-03-17 21:22:13 +01:00
2d4061b998 Render headings
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
1b05ea2e68 Create renderer for form headers
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
0c796e7a7d Remove redundant attributes
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
40ee30259d Load headings data
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
f465564d41 Save heading data
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
4e54740666 Add heading block
[MAILPOET-2613]
2020-03-17 21:22:13 +01:00
cf501dfe1f Release 3.46.3 2020-03-17 11:23:23 +02:00
39c30eb6e8 Fix form preview rendering
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
126b69b750 Render proper font and background color for html block within column
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
1c0f5b875a Fix unique client ids for blocks
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
6e33cc80e2 Fix fields extraction for form data
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
69beccf285 Add default padding for columns with background and margin between columns
Older forms don't have these values in Custom CSS so these are default fallback values
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
6dae3b73ba Hide core/column toolbar because it is rendered empty
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
b6f704c2a8 Simply color styles rendering in form columns
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
8a66fd1811 Use block editor's color settings for block colors mapping
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
4ec53d2d52 Fix switching between HTML blocks
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
5c20c11ac9 Update form validator to be able to check email and submit are present columns
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
fb5df4b09e Add CSS fix for editor header
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
de3aa28dea Remove CSS fix for alignment columns
This was fixed in Gutenberg library

[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
4802461d5a Update fix for react-beautiful-dnd nested scrolling warnings
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
a151d146eb Upgrade react-beatiful-dnd library
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
1b0106b761 Update Gutenberg packages
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
3505ad65dc Re-enable columns and acceptance test
[MAILPOET-2754]
2020-03-16 19:27:27 +01:00
6671625fa9 Add padding to make styling consistent
[MAILPOET-2745]
2020-03-16 16:47:48 +01:00
bb3cfa8bc7 Use gutenberg button
[MAILPOET-2745]
2020-03-16 16:47:48 +01:00
0e0e25b208 Add back button to form editor
[MAILPOET-2745]
2020-03-16 16:47:48 +01:00
10e28e7a27 Remove absolute positioning
[MAILPOET-2744]
2020-03-16 10:00:55 +01:00
a8b0f1de2b Use name as fallback label
[MAILPOET-2747]
2020-03-16 08:35:52 +01:00
a98e98487b Fix Creating textarea custom field
[MAILPOET-2719]
2020-03-16 08:35:37 +01:00
27bf71bad9 Refactoring the control to be reusable
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
1026b07495 Add comments about TS keyof and overloads
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
187c8f5ac7 Use full name for classnames
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
33ccb84744 Create a separate bundle for settings
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
1fba3c2e5b Add Settings tabs
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
b9a3b40f12 Remove temporary code
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
e617475803 Add useSetting and useSettingSetter hooks
Because `useSelector('getSetting')` and `useAction('setSetting')` dont have detailed type definitions
for parameters and return. The type definitions for these two hooks are verbose but they ensure more
type coverage and proper code auto-completion.
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
9174df7323 Add useActions and useSelector hooks
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
1d6a7f6fde Create WP Redux store
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
408437af70 Inject all settings
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
1d029374e8 Create new settings page
[MAILPOET-2676]
The new settings can be accessed via `?page=mailpoet-new-settings`
I don't think we need a flag for this because it's already hidden.
2020-03-16 08:03:26 +01:00
2917361a98 Fix wrong Doctrine 'inversedBy' annotation
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
038a7fee1c Escape parameter for LIKE statement
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
2cc1caba07 Prefetch options & segments for listing
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
f3525eb293 Fetch latest queue & task for listing in batch
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
65ab8fd420 Fetch statistics for listing in batch
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
310d658647 Add tests for remaining NewslettersListingRepository functionality
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
cf88ada402 Rewrite old tests to NewslettersListingRepository tests
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00