Commit Graph

112 Commits

Author SHA1 Message Date
886c8f6df8 Fix bug in asBoolean
[MAILPOET-2823]
2020-04-01 10:55:14 +02:00
0fdde2085f Normalize settings values
[MAILPOET-2823]
2020-04-01 10:55:14 +02:00
2edfac771f Set default label
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
2267912927 Avoid rerendering SegmentsSelect
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
15c34c9937 Fix radio input onChange event
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
88b12dc1cc Focus settings menu item
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
c1c845ab8d Rewrite t to be called as a normal function
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
d1968dfe50 Fix acceptance tests
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
dc0fc44194 Move utility functions to common functions
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
50ca3b7310 Move constants to MailPoet
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
ae3380ced3 Fix isMssActive selector
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
3af7601ab6 Add email addresses validation
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
adf8cc31e6 Show loading animation while saving
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
70a104a0f8 Use the new settings page
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
30d9a9c108 Add GDPR guide
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
3bed3562a1 Add shortcodes
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
918fb4bd87 Scroll to the top after saving
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
4ea653b81f Add new subscriber notifications
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
10a3ce4b98 Add stats notifications
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
afebf3b22b Add form error flag to state
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
b6f61a33eb Add Unsubscribe page
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
6026327b1f Add Manage subscription page
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
48c6fcce37 Add segments to the state
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
57e881dff5 Add subscribe in comments and registration
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
ecffd118af Add utils functions
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
6cdb029465 Make useSetting return value and setter
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
f8d88c70a4 Add DefaultSender fields
I could not reuse DefaultSender component from old settings
because it doesn't use the Redux store.
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
e5ff076e78 Fix save and track saved settings
[MAILPOET-2677]
2020-03-25 20:44:26 +01:00
c4d53df406 Add common CSS and components
[MAILPOET-2677]
2020-03-25 20:44:26 +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
7fb08a495c Avoid displaying MSS not active message for a short time when activating
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
61d66d730e Improve invalid key messages
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
10689f7a3c Add missing MSS not activated message & activation button
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
8cde305a34 Remove side-effects from messages
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
7151e23f47 Improve 'Verify' button styling
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
121740a08f Track Premium plugin state correctly
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
4e75bcd296 Implement API for Premium plugin installation and activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
757d09ac19 Improve message styling
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
d0b5a136b3 Preserve dependent functionality on MTA tab
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
014e6be4dc Automatically activate MSS after key activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00