Commit Graph

16919 Commits

Author SHA1 Message Date
Sam Najian
60d9a3f1ac Add posibility to add wrapper click handler to form fields
In some cases we need to disable the form field but add a click
handler to the field, but to make it work accross browsers the
click handler should get added to the wrapper and not the disabled
form field itself

[PREMIUM-200]
2022-10-20 10:30:30 +02:00
Sam Najian
b64fbbdb7f Remove ga field default value when disabled
[PREMIUM-200]
2022-10-20 10:30:30 +02:00
Sam Najian
12e8d44a43 Disable ga field when premium plugin is not active
[PREMIUM-200]
2022-10-20 10:30:30 +02:00
David Remer
667658ae2f Show 'is now activated' snackbar only when status of workflow is active
[MAILPOET-4737]
2022-10-20 10:24:06 +02:00
David Remer
9d2624163c Close ActivatePanel when there are errors
[MAILPOET-4737]
2022-10-20 10:24:06 +02:00
Jan Jakes
8f6688eba7 Check for CircleCI results file existence 2022-10-20 09:31:58 +02:00
David Remer
b360d9a2cf Set focus on new activate button
[MAILPOET-4530]
2022-10-19 13:34:45 +02:00
David Remer
11384bbf6a Fix bug where the type of $step was Data\Step instead of Integration\Step
[MAILPOET-4530]
2022-10-19 13:34:45 +02:00
David Remer
6235944442 Fix bug where an empty array would generate a malformed SQL query
[MAILPOET-4732]
2022-10-19 13:34:45 +02:00
David Remer
83573b0d43 Use labels to make editor more accessible
[MAILPOET-4530]
2022-10-19 13:34:45 +02:00
David Remer
bd87c09e1a Add acceptance test for automation workflow
* Creates an simple welcome email workflow
* Activates it
* Subscribes and checks whether the email arrives in the inbox

[MAILPOET-4530]
2022-10-19 13:34:45 +02:00
Rodrigo Primo
1010b64c05 Update updateNames() to work with Woo Custom Order Tables
[MAILPOET-4711]
2022-10-19 11:32:41 +02:00
Rodrigo Primo
dd1fcd5100 Add helper method to get the name of the WooCommerce order addresses table
[MAILPOET-4711]
2022-10-19 11:32:41 +02:00
David Remer
75706c9e8b Store success message of activation in activate action
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
David Remer
61e1dd6a83 Add an activating state
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
David Remer
8d5af952f6 Use sprintf instead of replace
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
David Remer
2751a4bf3a End the sentence with a period
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
David Remer
ed297dd68d Show snackbar notice
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
David Remer
17c7d42ede Remove activate toggle
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
David Remer
1741b39375 Style ActivatePanel
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
David Remer
800432ab54 Introduce ActivatePanel
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
David Remer
f169c8f8ac Use save method in Update button
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
David Remer
f92a12db30 Make strings translateable
[MAILPOET-4462]
2022-10-19 09:07:33 +02:00
Jan Jakes
3ea730a0b6 Fix tab button focus styles
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
e3c19fa306 Improve listing styles
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
f2c4890def Avoid loosing tab focus on navigation
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
5bc2f62d98 Improve namin & add small simplifications to listing
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
c954603bfc Improve popover rendering
1) Rendering it in a slot (under slot fill provider) avoids inheriting deeply nested styles.
2) Bottom-left is a nicer default as it's the rightmost button in the table rows.

[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
bf552801ec Fix editor stats label color
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
6bb1af0a18 Simplify and fix stats rendering using CSS grid
Fixed separator rendering, simplified CSS (grid can do this), removed
had extra paddings that were causing problems on the listing page.

[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
48dca5e298 Reuse stats component in workflow listing
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
c08813be1d Extract workflow stats to atomation root component level
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
1cc6d93717 Do not wrap or shrink status cells
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
18a071fd7b Render "edit" and "more" actions in the same column
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
32d310d999 Add listing api error handler
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
c76d18e647 Add edit workflow link
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
865706c112 Extract edit workflow from cell to a generic action
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
3238049828 Add undo trash button
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
a41de82030 Add workflow duplicate/trash/restore/delete success notices
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
ccec1faeb1 Add notices component for automation listing
This component combines data store from @wordpress/notices together with
MailPoet's notice rendering that is suitable for listing.

[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
b19887add0 Remove duplicate notices div
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
ba2cb75877 Add delete confirmation dialog
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
b89905aa80 Add trash confirmation dialog
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
a25e879cac Add delete workflow action
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
0106c5123d Add restore workflow action
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
2cb20a8f63 Add trash workflow action
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
fe1a994442 Add duplicate workflow action, use dropdown from @wordpress/components
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
70889ab06d Load workflows list from store
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
aab6865f50 Initialize automation listing store
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
efd32043e3 Add workflow count to automation listing page
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00