Commit Graph

21667 Commits

Author SHA1 Message Date
John Oleksowicz
0de9389f92 Make padding consistent with automations listing
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
b73ea6677a Restore styles that weren't moved over
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
d3c0f6904e Remove style causing inconsistent padding
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
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
John Oleksowicz
28ca417261 Fix link casing and remove no longer needed check
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
bcde8bdd51 Fix other selector issues in segment tests
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
748b9c0009 Fix ManageWooCommerceSegmentsCest selector issues
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
913074888f Fix ManageSegmentsCest selector issues
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
8ff15f2b26 Add automation id for select all checkbox
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
b0e9099b91 Refactor getTabFromLocation to use regex
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
d5eb3db2c2 Reload dynamic segments after save
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
a8a0e11ac2 Fix plugin missing state
MAILPOET-5395
2024-04-24 12:59:37 +02:00
John Oleksowicz
a5a51f7cd8 Refactor updateDynamicQueryFromLocation
MAILPOET-5395
2024-04-24 12:59:37 +02:00
David Remer
9449b46441 Fix acceptance tests
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
501f240563 Apply prettier 2024-04-24 12:59:37 +02:00
David Remer
f3685bcb8d Styling of Dynamic Segment Listing
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
2945f49944 Use wordpress/components for search and select
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
9b7049140e Add value to search field
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
548faea3bc Use ConfirmDialog instead of Modal
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
2906b59d42 Bring default limit to 25
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
789cc31bcb Remove old listing
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
ea0876d4ef Ensure integer query values are in the correct format
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
5f86c0b123 Add duplicate action
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
54be3e7840 Add row actions
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
752855b5a8 Separate bulk action and action modal
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
77e1b9c324 Add notices and remove useless wrapper
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
2917b4ff53 Introduce Bulk Actions
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
dc5674dead Add select all functionality
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
929fab6f8c Add store to select and unselect segments
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
7c1c831f10 Use count to determine the total found rows
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
36975d9fa0 Add search bar
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
982af4872c Improve naming of tabs and content elements
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
baf9fa0dff Read state from URL and write state to URL
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
05a3033698 Update query always when no query is currently stored
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
18cb7c6398 Set offset to 0 when switching tab
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
48e120c52b Seperate listing tables and tabs
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
David Remer
767aa4f46a Enable sorting and pagination
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
Rodrigo Primo
2a1797d2c5 Add basic functionality of the new dynamic segments listing table
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
Rodrigo Primo
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
Rodrigo Primo
21cef7a713 Implement new design of the header of the segment listing page
[MAILPOET-5395]
2024-04-24 12:59:37 +02:00
Rodrigo Primo
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
Rodrigo Primo
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
alex-mpoet
9e96a5877f Release 4.49.0 2024-04-23 18:35:09 +03:00
Mike Jolley
008d42e333 Re-add deepmerge 2024-04-22 12:43:17 +01:00
Mike Jolley
5e87ddc53d Revert pnpm 2024-04-22 12:43:17 +01:00
Mike Jolley
d90e4dc962 Fix element styles and scrollbars 2024-04-22 12:43:17 +01:00
Mike Jolley
3e8105d9fa Fix column height in sidebar 2024-04-22 12:43:17 +01:00
Mike Jolley
d3f2376857 Set type for QA 2024-04-22 12:43:17 +01:00
Mike Jolley
8ae1ccbbe7 Use Setting 2024-04-22 12:43:17 +01:00
Mike Jolley
2a633bdcbf Fix fontFamilies error 2024-04-22 12:43:17 +01:00