Improve behaviour for attempted copy of unsaved paragraph

Created on 1 November 2024, 14 days ago

Problem/Motivation

Error message "Nothing to copy" is confusing and does not explain what the problem is.

Steps to reproduce

* Edit a page, add a new paragraph.
* Without saving, choose "copy to clipboard".

It's currently possible to try "copy to clipboard" for a paragraph that has not been saved, i.e. was added in the current editing session.

Proposed resolution

One of the following:

1. Hide or disable the "copy to clipboard" menu option for paragraphs which cannot be copied.
2. Change the error message, for example: "You cannot copy an item which has not yet been saved". If there are other conditions that would prevent copy from working, then separate error messages would probably be needed to cover those cases.

The second option may be best, because it's then clear to the user what they need to do. Wifth the first option, they may not know why the "copy" menu item is hidden/disabled.

Remaining tasks

Minor code changes.

User interface changes

As outlined above.

Feature request
Status

Active

Version

1.0

Component

User interface

Created by

🇬🇧United Kingdom andy inman Gloucestershire, UK

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

Comments & Activities

Production build 0.71.5 2024