Commit Graph

2847 Commits

Author SHA1 Message Date
Pavel Dohnal
a98e98487b Fix Creating textarea custom field
[MAILPOET-2719]
2020-03-16 08:35:37 +01:00
Amine Ben hammou
27bf71bad9 Refactoring the control to be reusable
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
1026b07495 Add comments about TS keyof and overloads
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
187c8f5ac7 Use full name for classnames
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
33ccb84744 Create a separate bundle for settings
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
1fba3c2e5b Add Settings tabs
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
b9a3b40f12 Remove temporary code
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
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
Amine Ben hammou
9174df7323 Add useActions and useSelector hooks
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
1d6a7f6fde Create WP Redux store
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
408437af70 Inject all settings
[MAILPOET-2676]
2020-03-16 08:03:26 +01:00
Amine Ben hammou
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
Pavel Dohnal
038cc0bc6b Remove Feedback section from form editor
[MAILPOET-2735]
2020-03-11 16:26:50 +00:00
Rostislav Wolny
54c2b5b6ac Disable columns blocks in form editor
[MAILPOET-2609]
2020-03-11 16:20:46 +00:00
Rostislav Wolny
9378aef58c Move layout category above fields in block inserter
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
0c64c38e61 Add small container detection on desktop
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
e5f84f9333 Ensure email and submit are always present even when deleted with columns
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
ab1e2ef0a9 Remove disabled from text inputs in form editor
Was causing that those inputs were rendered with transparent background
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
d6b06ec371 Store columns block vertical alignment settings
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
b51ce7c1b2 Store columns block custom class name
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
8e71f8d3cc Store columns text and background colors settings
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
7cccd68d08 Add storing of vertical alignment property for column blocks
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
1c6cffc44d Add mapping for blocks from stored form data
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
1d7fffbe8d Add saving of nested columns blocks
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
5f2aa1adda Add core\columns and core\column blocks to form editor
[MAILPOET-2610]
2020-03-06 14:15:14 +01:00
Rostislav Wolny
f31378922b Add layout category and move divider block in it
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
Amine Ben hammou
698c523d25 Remove React.FC
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Amine Ben hammou
e951591d6f Use Typescript instead of InferProps
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Amine Ben hammou
0ceac8921f Add Typescript linting to qa:lint-javascript command
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Amine Ben hammou
20909f0912 Generate PropTypes from Typescript definitions
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Amine Ben hammou
a669beed07 Add ESLint rule for Typescript files
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Amine Ben hammou
9de1481efe Add First .ts file
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Amine Ben hammou
33948892fa Add possibility to omit extensions
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Amine Ben hammou
83f3729e37 Refactor APIErrorsNotice to Typescript
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Amine Ben hammou
25aec60bc9 Refactor Notice component to Typescript
[MAILPOET-2658]
2020-03-02 20:55:24 +00:00
Rostislav Wolny
9547839aa9 Remove unused component
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
f5fc03ee1d Fix preview
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
b49ce7d4e4 Improve styling of styles settings panel
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
d83975dc64 Use font picker from components
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
57b0747b6e Remove toggle that has been removed from specs
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
24c87ad19e Add font size title
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
2c7b8a7d25 Use font size from settings
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
07bbdc59f6 Add font size control
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
3f74b74ff0 Rename component
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
713908b6c3 Display texts using selected colour
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
fbc650e331 Add component for font colour
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
eef74fa2cc Display background colour
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
317bed32b1 Add component for background colour
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
a1df6acdcc Add Form Styles Panel
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
Pavel Dohnal
927d9cf87e Add classes to inputs
[MAILPOET-2601]
2020-02-27 18:49:59 +00:00