Clean up actions of the Resource files app (MGNLRES-221)

[MGNLRES-222] Adjust the title of the Action bar depending on the selected item(s) Created: 18/Sep/15  Updated: 29/Mar/22  Resolved: 14/Oct/15

Status: Closed
Project: Magnolia Resources Module
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Neutral
Reporter: Andreas Weder Assignee: Ilgun Ilgun
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.5h
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-3626 Deprecate hack for multiple selection... Closed
Template:
Date of First Response:
Sprint: Basel 15
Team: Nucleus

 Description   

The title of the Action bar of the Resource files app should change to reflect what has been selected.

The section on the available action on the wiki page contains all details, but to summarize it, here's what the title should read:

  • No item selected: "Resource files"
  • Folder selected: "Folder"
  • Multiple items selected: "Resource files"
  • Single file selected: title depends on type of resource file
    • "Template file": for templates (FTL, JSP; pages, areas, components)
    • "Web resource file": for web resources (HTML, Stylesheet formats, JS)
    • "Configuration file": for configuration files (YAML, Groovy, ...)
    • "Text file": for TXT, RTF, Word docs
    • "Resource file": for all other types


 Comments   
Comment by Ilgun Ilgun [ 14/Oct/15 ]

Please check the parent ticket for the changes.

Comment by Ilgun Ilgun [ 14/Oct/15 ]

In the description, It is mentioned that for single selection, section title should be reflecting the type of a given resource.
However, it is not doable at the moment, because we simply do not have a proper mechanism for identifying the type of a given resource.

Generated at Mon Feb 12 06:48:35 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.