Created on 30 March 2021, over 3 years ago
Updated 15 December 2023, 11 months ago

Problem/Motivation

This module replaces all results of the search query and currently has no way to replace some.

Steps to reproduce

When on /admin/content/scanner, enter a search string and a replace string, and click "Replace".
Notice there's no way to limit what results are going to get replaced.

Proposed resolution

On the replacement confirmation page (/admin/content/scanner/confirm),
show the search results (same as the "Search" functionality on /admin/content/scanner),
add checkboxes (checked by default),
when the user clicks "Confirm", only replace the items that are checked.

Remaining tasks

* Add check/uncheck all button (all checked by default).
* Ensure tests still run.
* Perhaps add a test.
* Review by others.

User interface changes

The replacement confirmation page now always includes search results and checkboxes enabling the user to limit the replacements.

API changes

None

Data model changes

None

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States olivier.bouwman Portland, Oregon

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024