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

Refactor the Uploader's file queue subcomponent

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 0.6, 0.7, 0.8, 0.8.1, 1.0, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.2beta1, 1.2, 1.2.1, 1.3, 1.4, 1.5
    • None
    • Uploader
    • None

    Description

      The Uploader currently has a helper object called fluid.FileQueue, which contains both the core model for Uploader. It consists of a list of files to be uploaded, as well as a data structure containing state information about the current batch of files.

      However, FileQueue also includes a set of convenience methods for operating on the model. It represents an awkward hybrid of traditional OO encapsulation and the familiar "open model" approach found in Infusion. The code in the FileQueue needs to be assessed, reworked, and ultimately split out into a common shared model that each component can use and a real event-aware subcomponent that can manage this model at the various important lifecycle points of the Uploader.

      Attachments

        Issue Links

          Activity

            People

              colin Colin Clark
              jobara Justin Obara
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: