Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-4189

Expand renderer component workflow in order to supply interception points for model transformation and tree expansion

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.1, 1.4, 1.5
    • Fix Version/s: None
    • Component/s: Renderer
    • Labels:
      None

      Description

      Currently CollectionSpace "RecordList" contains code like the following:

      cspace.recordList.produceTreeTabs = function (that) {
      var tree = cspace.recordList.produceTree(that);
      tree.expander[1].trueTree.expander[0].tree.expander.push({
      type: "fluid.renderer.condition",
      condition: that.options.showDeleteButton,
      trueTree: {
      deleteRelation: {

      In order to allow code reuse between different rendering conditions, this raw protoTree manipulation code is packaged in pure logic. We need to supply a toolkit of techniques to make such code go away. In the first instance, this problem can be ameliorated by supplying interception points within a single renderer component's rending pipeline to allow modification and compositing of multiple protoTrees in their expanded form. The more sound long-term approach to this problem involves renderer antigens (FLUID-4260).

        Attachments

          Activity

            People

            Assignee:
            antranig Antranig Basman
            Reporter:
            antranig Antranig Basman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: