Sam Najian
90b5c03e51
Fix wrong import order
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
dd1b162199
Use @wordpress/i18n for coupon block
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
c42288c5ab
Add missing translation
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
096e8f7963
Fix regression for newly added translation
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
c9c75c8c6d
Add admin.js to all admin pages using AssetController
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
0a11fadb05
Enqueue newletter assest using asset controller
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
1c6d461129
Translate some more common strings using wp/i18n
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
befe68b721
Fix issue causing newsletter tests to fail
...
Accessing wp from global scope was making the tests fail
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
c54a414d51
Make sure translations are loaded for newsletter editor
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
67c7535051
Move code around to make registerTranslations accesable
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
9b14add577
Unify wording that was causing tests to fail
...
Test were sometimes using `Delete permanently` and sometimes
`Delete Permanently` with capital P, causing some to fail
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
f99bc544cf
Use wp/i18n in components that's used for newsletter app
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
c5bcd8927a
Use translator from @wordpress/i18n in newsletter app
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
f329306b1a
Remove editor translations from tpl and add via wp/i18n
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
005c5196c9
Fix memory issue when building translations
...
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Sam Najian
ece4977d6a
Add newsletter_editor.js using AssetsController
...
newsletter_editor.js was added via newsletter/editor.html
it's now removed from the template and wpEnqueueScript is
user instead
[MAILPOET-4908]
2023-03-20 11:49:27 +01:00
Veljko
cac0c8e93d
Exclude the test from scenarios
...
[MAILPOET-4958
2023-03-20 10:01:57 +01:00
Veljko
44489a1030
Optimize tests and improve existing
...
[MAILPOET-4958]
2023-03-20 10:01:57 +01:00
Veljko
0a125b8aeb
Add new test complex segment
...
[MAILPOET-4958
2023-03-20 10:01:57 +01:00
Jan Jakes
eb74b55b62
Fix radio control option alignment
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
5d8672ca27
Fix form editor global styles font size picker
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
9c74068039
Fix automation name button style
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
960518fd57
Fix form editor style settings styles after Gutenberg upgrade
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
a912f3500c
Fix form editor block inserter styles after Gutenberg upgrade
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
b15ad9692c
Simplify slot rendering in automations
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
b20690261f
Fix font size picker trying to process numbers as strings
...
This fixes the "fontSizeValue.startsWith is not a function" error. It seems that the font size picker
now always expects strings, while the values from SETTINGS_DEFAULTS could be numbers,
and we've been using numbers throughout our codebase as well.
This also enables the usage of any font size units, such as em and rem.
This may be related to: https://github.com/WordPress/gutenberg/issues/44857
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
551d6730db
Remove forgotten workarounds
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
2e80af9876
Render automation name dropdown centered
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
4c1164b89b
Use relative imports that are resolvable for types in premium
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
29970af07f
Add extensible interface for automation editor store
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
7b0bed4c19
Remove unused OmitFirstArgs and OmitFirstArg type helpers
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
4477932245
Alter export of modules from dynamic segments for premium and extend types
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
d7c5a53091
Fix rest of Typescript issues
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
f5a08dc2f3
Fix unknown properties type issues
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
d61d558eef
Fix type issues in dynamic segments
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
412cb56b02
Fix types for @wordpress/notices
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
77b6b61937
Add store types for @wordpress packages
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
534e7ee708
Reintroduce store name as identifier in automation editor store
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
898a479860
Reintroduce store name as identifier in dynamic segments store
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
2ba5a6b512
Reintroduce store name as identifier in dynamic segments store
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
895073972d
Reintroduce store name as identifier in form editor and templates stores
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
b8d00e24ec
Reintroduce store name as identifier in settings store
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
8233b9876a
Reintroduce store name as identifier in automation listing store
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Jan Jakes
2950862114
Add typings for all @wordpress/data store selection variants
...
Both store name and store descriptor typings should work in all cases.
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
0ce3eed33b
Fix types in form editor hooks
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
0c427a415e
Fix rendering options in option-button
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
ddb43a3d76
Refactor settings store init to use new api
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
566a329ec6
Fix dependency cycles in form editor
...
[MAILPOET-5120]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
da28bb8578
Fix Type errors related to block-editor store
...
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00
Rostislav Wolny
50ff982fd4
Fix TS issues related to core/notice store
...
@types/wordpress__notice uses @types/wordpress_data but these are no
longer updated and combination with build types from the latest @wordpress/data
causes issues.
[MAILPOET-5102]
2023-03-15 21:03:06 +01:00