Commit Graph

16613 Commits

Author SHA1 Message Date
436a80944a Enable browser forward/back between tabs
MAILPOET-4532
2022-09-08 10:41:45 +02:00
d339422d18 Memoize more things
MAILPOET-4532
2022-09-08 10:41:45 +02:00
f1fe9ed970 "Fix" some styling issues
This is a somewhat hacky approach to getting tabs to render as desired.
Because the table content appears inside the tab container it's
difficult to have matching box shadows because they overlap. There were
also rounded corners at the top of the border underneath the tabs.

MAILPOET-4532
2022-09-08 10:41:45 +02:00
d08ac2479d Restore original button padding
The .has-icon class for some reason redefines the padding to be `6x`
instead of `6px 12px`. This was making the button look almost cut off on
 the right side when we used an icon.

MAILPOET-4532
2022-09-08 10:41:45 +02:00
ea2f22d345 Use useCallback for query string updater
MAILPOET-4532
2022-09-08 10:41:45 +02:00
795473b497 Add counts dynamically to avoid type mismatch
MAILPOET-4532
2022-09-08 10:41:45 +02:00
ef1f967a76 Refactor tab calculation
MAILPOET-4532
2022-09-08 10:41:45 +02:00
494bcd45f7 Add workflow_id index to versions table
MAILPOET-4532
2022-09-08 10:41:45 +02:00
e64f2aca00 Use useMemo to avoid recalculating groups every render
MAILPOET-4532
2022-09-08 10:41:45 +02:00
c2e275f6b9 Delete "paged" search param instead of setting to 1
MAILPOET-4532
2022-09-08 10:41:45 +02:00
fe124b9764 Refactor content to be a local component
MAILPOET-4532
2022-09-08 10:41:45 +02:00
b3cef92147 Redirect to trash if attempting to edit trashed workflow
[MAILPOET-4532]
2022-09-08 10:41:45 +02:00
38b0d627b0 Add tab filters and implement pagination
[MAILPOET-4532]
2022-09-08 10:41:45 +02:00
a632982c8f Add button to create new automation and extract wrapper
MAILPOET-4532
2022-09-08 10:41:45 +02:00
626e319031 Add MailPoet top bar to automation listing page
MAILPOET-4532
2022-09-08 10:41:45 +02:00
84b6baa724 Remove actions dropdown
MAILPOET-4532
2022-09-08 10:41:45 +02:00
047bd94d98 Implement sending for automation emails
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
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
fadbcaca5b Fix workflow run getter and from array construction
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
7aa1fa775d Add automation registry context to editor state
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
08d7bee0df Hotfix inconsistent @wordpress/icon sizings
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
e1daaea431 Add tracking parameters
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
82b547f40b Make workflow editing logic extensible
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
a6d5b0d5c5 Add empty trigger type to automations core
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
0dd769a5fd Export StoreKey type for extensibility
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
604979e969 Make step separator rendering configurable with hook
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
047c67d9db Make step rendering configurable with hook
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
edf12d2c55 Add step ID to data attributes for workflow steps and separators
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
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
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
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
fa17f6887c Disable inserter sidebar until we implement drag & drop
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
971d580ec0 Show premium upsell modal when trying to delete a step
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
2d6c253106 Add step dropdown menu with delete button
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
5253841977 Fix Gutenberg block inserter overlaying modal dialog
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
3d5b2d5880 Show premium upsell modal when trying to add a step
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
6b4edbf8dd Add onInsert prop to inserter component
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
2915c38ed9 Fix step list item props type
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
84d4cd94d5 Add cursor: pointer to add step button
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
9d16d2dbd1 Remove mocked data, fallback to unknown step type rendering
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
c74a4cad12 Implement displaying triggers in step inserter list
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
d8a316ea7b Add WP user registered trigger type
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
c734ac0a0e Add someone subscribed trigger type
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
add0dee423 Add type (triggers vs. other steps) to inserter popover state
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
f2a207942d Implement add trigger placeholder & button
[PREMIUM-194]
[MAILPOET-4585]
2022-09-08 09:20:20 +02:00
6dfe77001a Make testing button create an empty workflow
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
22527c3b29 Add workflow-ending node
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
26473e5463 Set step separator height as per specs
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
598ae291e5 Fix issues detected by CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
c601aaa3eb Autofix issues detected by CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00