FLUID-5957: Important values should be modelized and passed to string tempting functions

Metadata

Source
FLUID-5957
Type
Improvement
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Justin Obara
Created
2016-09-15T08:50:37.649-0400
Updated
2021-07-29T01:47:20.685-0400
Versions
  1. 1.5
  2. 2.0
  3. 3.0
Fixed Versions
N/A
Component
  1. Uploader

Description

At the moment Uploader.js and related uploader scripts manually assemble token values for things such as, but not limited to:

  • fileCount
  • fileLabel
  • totalBytes
  • uploadedCount
  • uploadedSize
  • curFileN: that.queue.getUploadedFiles().length,
  • totalFilesN
  • errorString
  • fileLabel
  • totalCurrBytes
  • uploadedCount
  • uploadedSize
  • totalCount

These should be modelized and passed to string template function calls to provide greater flexibility in what an integrator can hook into for output strings.