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

Phase out ViewProvider and ViewContextKeyRegistry by merging their functionality directly into framework session mgmt

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 6.1
    • None
    • None
    • None

    Description

      The main goal is to simplify the way of creating new UI contexts, so that it would be a matter of one-two commands to create injection context for even a field or a table cell (so that it'd get its own datasource definitions injectable as well as other definitions etc).

      To make this easier for the framework user, we can try to move the complexity away from them to the lower level. I.e. while before there'd be a created view registry (to maintain the hierarchy), we can now move it all the way down to the session storage and maintain it automatically, cleaning up everything in cascading fashion and making the hierarchical instance look-up transparent to the user (they wouldn't have to worry about how it works).

      changeset:

      enhance lookup capabilities of BeanStorage
      eliminate ViewProvider abstraction
      instead let the session store maintain such hierarchy on its own
      augment add direct parent refs in ui ctx refs
      let all the sub-apps be part of the framework, expand by default on the base sub-app
      add Destructible interface case support directly in bean store
      in-build hierarchy support into the session store
      add API for the reachable context references
      bind/create stuff directly in the content detail sub-app
      adapt tasks app
      adapt notifications app

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                apchelintcev Aleksandr Pchelintcev
                apchelintcev Aleksandr Pchelintcev
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR

                    Time Tracking

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