Offer an "Import everything" button to the user

Created on 5 May 2025, 10 days ago

Problem/Motivation

The user can run individual migrations via the GUI under /admin/structure/migrate/manage/wp_mig/migrations by pressing "Execute", but wouldn't it be cool to have a large "Import everything" button at the bottom of the page?

It would basically do the same as when you run drush migrate:import --all and take care of running required migrations, in the right order.

Steps to reproduce

Visit the migration page, see a lot of "Execute" buttons, and wonder which one to press, and in which order ...

Proposed resolution

Make it easier for the user, by offering to run all migrations, automatically in the right order.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

3.0

Component

User interface

Created by

πŸ‡©πŸ‡°Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ressa
  • πŸ‡ΊπŸ‡ΈUnited States hongpong Philadelphia

    A good idea. Would add "Execute all migrations in the suggested order ( ... ) " as a helper description text under the button. Thank you! +1

  • πŸ‡©πŸ‡°Denmark ressa Copenhagen

    That's great news, thanks @hongpong!

    A helper text like the one you suggested would work great.

    I ran into a minor problem while trying to document a complete process in DDEV in How to generate WordPress content and import into Drupal β†’ , and added an issue (have to run drush migrate:import --all twice). Making the "Import everything" button here will probably also fix that challenge with drush migrate:import --all, by correcting the requirements between the migrations, and getting the right order of the process set in stone, to get the button working.

  • πŸ‡ΊπŸ‡ΈUnited States hongpong Philadelphia

    Thank you, it's a great idea. IMO having as much logic outside of the drush file, but called from the drush file, would be an excellent way to achieve both of these.

Production build 0.71.5 2024