Commit Graph

16408 Commits

Author SHA1 Message Date
John Oleksowicz
795473b497 Add counts dynamically to avoid type mismatch
MAILPOET-4532
2022-09-08 10:41:45 +02:00
John Oleksowicz
ef1f967a76 Refactor tab calculation
MAILPOET-4532
2022-09-08 10:41:45 +02:00
John Oleksowicz
494bcd45f7 Add workflow_id index to versions table
MAILPOET-4532
2022-09-08 10:41:45 +02:00
John Oleksowicz
e64f2aca00 Use useMemo to avoid recalculating groups every render
MAILPOET-4532
2022-09-08 10:41:45 +02:00
John Oleksowicz
c2e275f6b9 Delete "paged" search param instead of setting to 1
MAILPOET-4532
2022-09-08 10:41:45 +02:00
John Oleksowicz
fe124b9764 Refactor content to be a local component
MAILPOET-4532
2022-09-08 10:41:45 +02:00
John Oleksowicz
b3cef92147 Redirect to trash if attempting to edit trashed workflow
[MAILPOET-4532]
2022-09-08 10:41:45 +02:00
John Oleksowicz
38b0d627b0 Add tab filters and implement pagination
[MAILPOET-4532]
2022-09-08 10:41:45 +02:00
John Oleksowicz
a632982c8f Add button to create new automation and extract wrapper
MAILPOET-4532
2022-09-08 10:41:45 +02:00
John Oleksowicz
626e319031 Add MailPoet top bar to automation listing page
MAILPOET-4532
2022-09-08 10:41:45 +02:00
John Oleksowicz
84b6baa724 Remove actions dropdown
MAILPOET-4532
2022-09-08 10:41:45 +02:00
Jan Jakes
047bd94d98 Implement sending for automation emails
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
6e6d0e725a Set automation newsletters always as active
Their scheduling and validity will handled by the workflow engine so this should be OK.
We can also consider syncing the state based on the workflow state, somehow.

[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
fadbcaca5b Fix workflow run getter and from array construction
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
7aa1fa775d Add automation registry context to editor state
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
08d7bee0df Hotfix inconsistent @wordpress/icon sizings
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
e1daaea431 Add tracking parameters
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
82b547f40b Make workflow editing logic extensible
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
a6d5b0d5c5 Add empty trigger type to automations core
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
0dd769a5fd Export StoreKey type for extensibility
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
604979e969 Make step separator rendering configurable with hook
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
047c67d9db Make step rendering configurable with hook
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
edf12d2c55 Add step ID to data attributes for workflow steps and separators
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
441a913732 Add some automation symbols to exported modules
This is needed for the premium plugin.

[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
f8471e6660 Add hook for editor store extensibility
This will be used in the premium plugin.

[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
6828608273 Remove side-effect from store module, control store initialization
This is important so we're able to export it and use it in the premium plugin.

[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
fa17f6887c Disable inserter sidebar until we implement drag & drop
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
971d580ec0 Show premium upsell modal when trying to delete a step
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
2d6c253106 Add step dropdown menu with delete button
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
5253841977 Fix Gutenberg block inserter overlaying modal dialog
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
3d5b2d5880 Show premium upsell modal when trying to add a step
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
6b4edbf8dd Add onInsert prop to inserter component
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
2915c38ed9 Fix step list item props type
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
84d4cd94d5 Add cursor: pointer to add step button
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
9d16d2dbd1 Remove mocked data, fallback to unknown step type rendering
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
c74a4cad12 Implement displaying triggers in step inserter list
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
Jan Jakes
d8a316ea7b Add WP user registered trigger type
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
Jan Jakes
c734ac0a0e Add someone subscribed trigger type
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
Jan Jakes
add0dee423 Add type (triggers vs. other steps) to inserter popover state
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
Jan Jakes
f2a207942d Implement add trigger placeholder & button
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
Jan Jakes
6dfe77001a Make testing button create an empty workflow
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
22527c3b29 Add workflow-ending node
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
26473e5463 Set step separator height as per specs
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Jakes
598ae291e5 Fix issues detected by CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
Jan Jakes
c601aaa3eb Autofix issues detected by CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
Jan Jakes
a377f0c946 Do not limit memory for CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
Jan Jakes
6a6d11ccdb Fix ignore patterns for CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
Rostislav Wolny
56587753c0 Make sure save as draft button is clickable before clicking on it
[MAILPOET-4608]
2022-09-01 09:46:37 +02:00
Jan Lysý
3d4f7cc33f Fix subscribers' segment filter
[MAILPOET-4563]
2022-08-31 15:52:00 +02:00
Jan Lysý
6f5ddca2e9 Change comparison for updated at
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00