Keyboard: As a user, I can navigate around the new UI using basic (common) keyboard commands (leftovers from previous sprint) (MGNLUI-1641)

[MGNLUI-2057] Keyboard: Foundation for the DELETE keyboard shortcut (deleteAction) Created: 10/Sep/13  Updated: 09/Jul/14  Resolved: 16/Sep/13

Status: Closed
Project: Magnolia UI
Component/s: tree/list
Affects Version/s: 5.0.4
Fix Version/s: 5.1

Type: Sub-task Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Christopher Zimmermann
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-2107 Implement DELETE shortcut on all apps... Closed
relates to MGNLUI-2106 Pressing DELETE key while using inpla... Closed
Template:
Sprint: 5.1 Beta1- Frontend

 Description   

NOTE: The foundation is layed - but the actual DELETE key functionality is disabled until we resolve the problem mentioned in linked ticket: http://jira.magnolia-cms.com/browse/MGNLUI-2106

Use the same technique as the ENTER key handling.

  • WorkbenchViewImpl adds a vaadin DELETE key shortcut handler.
  • The AbstractContentPresenter fires ItemShortcutKeyEvent event on eventBus.
  • BrowserPresenter handles event, and calls executeDeleteAction().

Ive checked:
Pages
Contacts

Problem in Assets as there is a different command for deleting an asset and for deleting an assetfolder. So it would not really work here. Or id have to create an action that can handle both.

markAssetFolderAsDeleted - works on Assets and on Folders - so we could just have this one action - if its ok to have the same text.

*****

For now implement on Configuration App only.
Created linked ticket for setting up for the other apps as well.


Generated at Mon Feb 12 08:52:47 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.