Create a Queue and Migrate Single Item Command

Created on 19 July 2023, over 1 year ago
Updated 31 July 2023, over 1 year ago

Problem/Motivation

This functionality currently exists, but is hard to find and requires the use of a non-intuitive flag.

Rather than overload the queue-content-single-item command with `--force` thereby breaking the convention of commands for queuing and commands for migrating, create a command that makes it obvious in using it, that you will queue and migrate at the same time.

Steps to reproduce

N/A

Proposed resolution

Create a separate command that does queueContentSingleItem() called queue&Migrate and avoid the need for the “—force” flag.

Remaining tasks

Create the new command and test it.

User interface changes

Probably none for now.

API changes

N/A

Data model changes

N/A

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States adamzimmermann

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

Comments & Activities

  • Issue created by @adamzimmermann
  • @adamzimmermann opened merge request.
  • Status changed to Needs review over 1 year ago
  • Status changed to RTBC over 1 year ago
  • 🇺🇸United States markdorison

    LGTM!

  • 🇺🇸United States apotek

    This looks like a great refactoring of the existing command, and addition of the new one. While I guess one wouldn't need to support the disable duplicate checking flag for a single item migration, it can't hurt and does keep the interface to this command consistent with other migration commands.

    This should also allow for wiring up a UI element in the content editing form, for remigrating the item currently being looked at.

    Nice work. I keep wishing we could make these command names shorter, and was going to suggest removing the "content" part (so that content becomes the default, and keyword can stand on its own), but I think what we've got here is good.

    Nice work.

  • Status changed to Fixed over 1 year ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024