Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3774

Provide action which delegates to another action by node type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.4.4
    • Fix Version/s: 5.4.6
    • Component/s: content app
    • Labels:
    • Sprint:
      Kromeriz 37
    • Story Points:
      5
    • Magnolia Release:
      5.4.6

      Description

      Our content apps allows us to manage nodes of different types. The defaultAction property of an ActionBar definition allows to specify the name of the action executed if a user double-clicks on an item (see here in the documentation).

      However, this defaultAction property is type-agnostic - we can only define an action for all node types. We thus can't map each node type to a different detail app to e.g. edit that node type. It would be very useful to have a defaultAction property per node type.

      It seems that Jan's "Magnolia neat tweaks" module available at https://github.com/rah003/neat-tweaks already seems to offer a Java class implementing this feature - this could actually be a quick win.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ajuran AntonĂ­n Juran
              Reporter:
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.25h
                  0.25h