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

Do not refresh grids in inactive apps and make DatasourceObservation extendable

XMLWordPrintable

    • Yes
    • Nucleus 31
    • 3

      Currently DatasourceObservation#register accepts mere Runnables (i.e. actions without without any inbound arguments), pretty much leaving us with only one observation reaction: "refresh the whole thing". For example, the app will still be refreshed even if the change occurred in an item the user doesn't have access to.

      As an optimisation or improvement of the interface, we could consider including addtional information about changed items (and maybe user) when triggering the listeners.

      This could potentially save us the effort and CPU resources by letting us skip the actual actions when they are irrelevant, or execute the update in a more intelligent way rather than a full refresh.

        Acceptance criteria

              ajuran Antonín Juran
              apchelintcev Aleksandr Pchelintcev
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1h
                    1h