Commit Graph

21621 Commits

Author SHA1 Message Date
8658ca11f6 Convert duplicate segment method to use await
MAILPOET-5395
2024-04-24 12:59:37 +02:00
d429f538af Convert bulk action to await
MAILPOET-5395
2024-04-24 12:59:37 +02:00
9a8d6de626 Convert segment fetching to await
MAILPOET-5395
2024-04-24 12:59:37 +02:00
e2ea09e830 Improve readability of plural confirmation messages
MAILPOET-5395
2024-04-24 12:59:37 +02:00
0de9389f92 Make padding consistent with automations listing
MAILPOET-5395
2024-04-24 12:59:37 +02:00
b73ea6677a Restore styles that weren't moved over
MAILPOET-5395
2024-04-24 12:59:37 +02:00
d3c0f6904e Remove style causing inconsistent padding
MAILPOET-5395
2024-04-24 12:59:37 +02:00
6675a616b5 Display proper notices for segment actions
This updates some of the segment listing messages to include the name of
 the segment to avoid confusion, and allows for the possibility that
 bulk actions will work for some segments but not all, in which case we
 need to show both success and error messages.

MAILPOET-5395
2024-04-24 12:59:37 +02:00
28ca417261 Fix link casing and remove no longer needed check
MAILPOET-5395
2024-04-24 12:59:37 +02:00
bcde8bdd51 Fix other selector issues in segment tests
MAILPOET-5395
2024-04-24 12:59:37 +02:00
748b9c0009 Fix ManageWooCommerceSegmentsCest selector issues
MAILPOET-5395
2024-04-24 12:59:37 +02:00
913074888f Fix ManageSegmentsCest selector issues
MAILPOET-5395
2024-04-24 12:59:37 +02:00
8ff15f2b26 Add automation id for select all checkbox
MAILPOET-5395
2024-04-24 12:59:37 +02:00
b0e9099b91 Refactor getTabFromLocation to use regex
MAILPOET-5395
2024-04-24 12:59:37 +02:00
d5eb3db2c2 Reload dynamic segments after save
MAILPOET-5395
2024-04-24 12:59:37 +02:00
a8a0e11ac2 Fix plugin missing state
MAILPOET-5395
2024-04-24 12:59:37 +02:00
a5a51f7cd8 Refactor updateDynamicQueryFromLocation
MAILPOET-5395
2024-04-24 12:59:37 +02:00
9449b46441 Fix acceptance tests
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
501f240563 Apply prettier 2024-04-24 12:59:37 +02:00
f3685bcb8d Styling of Dynamic Segment Listing
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
2945f49944 Use wordpress/components for search and select
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
9b7049140e Add value to search field
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
548faea3bc Use ConfirmDialog instead of Modal
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
2906b59d42 Bring default limit to 25
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
789cc31bcb Remove old listing
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
ea0876d4ef Ensure integer query values are in the correct format
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
5f86c0b123 Add duplicate action
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
54be3e7840 Add row actions
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
752855b5a8 Separate bulk action and action modal
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
77e1b9c324 Add notices and remove useless wrapper
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
2917b4ff53 Introduce Bulk Actions
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
dc5674dead Add select all functionality
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
929fab6f8c Add store to select and unselect segments
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
7c1c831f10 Use count to determine the total found rows
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
36975d9fa0 Add search bar
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
982af4872c Improve naming of tabs and content elements
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
baf9fa0dff Read state from URL and write state to URL
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
05a3033698 Update query always when no query is currently stored
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
18cb7c6398 Set offset to 0 when switching tab
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
48e120c52b Seperate listing tables and tabs
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
767aa4f46a Enable sorting and pagination
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
2a1797d2c5 Add basic functionality of the new dynamic segments listing table
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
8281438ba6 Implement temporary way to get dynamic segments
This will be used to populate the new dynamic segments table in the
listing page. It will need to be updated in the future as currently all
the parameters are hardcoded and I'm not sure if I'm doing things the
React way here.

[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
21cef7a713 Implement new design of the header of the segment listing page
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
a2832c25e5 Add option to <TopBar> to hide screen options
Doing this to avoid having to call <TopBarWithBeamer /> and
<HideScreenOptions /> separately. Will be used in the new design of the
segments listing page.

[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
edadbe1c19 Use WP i18n functions for the segment listing page
This commit improves the segment listing page by using WP i18n functions
instead of MP i18n functions. One string was deleted as it is not part
of the new design that will be implemented in subsequent commits and it
was not following i18n best practices.

[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
9e96a5877f Release 4.49.0 2024-04-23 18:35:09 +03:00
008d42e333 Re-add deepmerge 2024-04-22 12:43:17 +01:00
5e87ddc53d Revert pnpm 2024-04-22 12:43:17 +01:00
d90e4dc962 Fix element styles and scrollbars 2024-04-22 12:43:17 +01:00