[MGNLUI-5559] Missing notifications on successful cut/copy/paste in browser sub-app Created: 05/Nov/19  Updated: 17/Jan/20  Resolved: 16/Jan/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Michael Duerig
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 16m
Original Estimate: Not Specified

Attachments: PNG File item-copied.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Migrate apps to new UI framework
Sprint: UI Framework 14
Story Points: 3

 Description   
  • fix actions, do not yet generalise
    • Copy / Paste
    • Cut / Paste
  • create follow-up ticket to add UI test when new framework is ready

Example

When performing a Copy / Paste or Cut / Paste, in the new version of e.g. the Assets app, the user should get notified when the copy or cut was "successful".

On the "old" Dam-app, the user got a message Item copied (see attached screenshot).
Such a notification gives the user the confidence that he's using the app correctly (so far).

Messages

For the copy/paste use the same message as in the old version of the app:
Item copied
or maybe even better Item(s) copied.

Since Cut/Paste is new, we must figure out a reasonable Message.
Item copied in the context of Cut/Paste is not correct.
For the time being I propose:
Item marked to cut & paste

 



 Comments   
Comment by Christoph Meier [ 05/Nov/19 ]

mdrapela - may I ask you (as the linguist) to check the proposed message for the case a user is on the way performing a Cut & Paste - where we want to notify him, when the "cut" was fine (or something is ready to cut when the guy will paste ... if you know what I mean ...).

See Messages section in the description of the ticket above.

Comment by Anja von Gunten [ 19/Dec/19 ]

mdrapela Agree, I'd also prefer clipboard. "Item cut" sounds a bit odd. 

Comment by Christoph Meier [ 20/Dec/19 ]

So ... If I understand you both correctly, avongunten and mdrapela, the texts could/should be like this:

  • Asset copied to clipboard.
  • {{ {0} assets copied to clipboard.}}
    * Asset cut to clipboard.
    * {{{0}

    assets cut to clipboard.}}

Assuming we prefer again the specific instead of the generic noun.

In case we must stay fort he time being generic:

  • Item copied to clipboard.
  • {{ {0} items copied to clipboard.}}
    * Item cut to clipboard.
    * {{{0}

    }}items{{ cut to clipboard.}}

Comment by Michael Duerig [ 14/Jan/20 ]

This issue is not specific to assets. All apps supporting copy/cut/past actions ported to the new ui-framework are lacking the notification.

Comment by Michael Duerig [ 14/Jan/20 ]

Fix for making the notifications appear is under the way: https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/1287/overview

 

Re. the messages. Currently we have:

  • Copy: Copied {0} {0,choice,1#item|1< items}
  • Cut: Cut {0} {0,choice,1#item|1< items}.
  • Paste:  Pasted {0} {0,choice,1#item|1< items} into {1}.

avongunten, mdrapela let me know if / how we should improve this. Note: these are the generic messages that can be overridden per app.

Generated at Mon Feb 12 09:27:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.