V3 lists api only returns 10 lists per page. In order to fully populate the Newsletter configuration dropdown menu we need to paginate to fetch all lists for an account.
Manual Testing Steps
local setup, tested with an account with 155 lists and with an account with 4 lists. 155 had a few seconds of latency due to the synchronous requests
Pre-Submission Checklist:
[ ] You've updated the CHANGELOG following the steps here
[ ] Internal Only - If this is a release, please confirm the following:
[ ] The links in the changelog have been updated to point towards the new versions
[ ] The version has been incremented in the following places: module.xml and composer.json
NOTE: Please use the Changelogger cli tool to manage versioned file upgrades.
Description
V3 lists api only returns 10 lists per page. In order to fully populate the Newsletter configuration dropdown menu we need to paginate to fetch all lists for an account.
Manual Testing Steps
Pre-Submission Checklist:
NOTE: Please use the Changelogger cli tool to manage versioned file upgrades.