Adds versionSort computed field to workflow-version following the
sorting pattern used in bespin-api for sorting workflow-versions.
Changes version sorting to use this new field for routes:
/new/select-workflow-version/ - select a workflow version
/workflows - lists workflow versions for each workflow
Adds versionSort computed field to workflow-version following the sorting pattern used in bespin-api for sorting workflow-versions. Changes version sorting to use this new field for routes:
Started using @each annotation to populate 'version' field in computed lists: https://guides.emberjs.com/v2.12.0/object-model/computed-properties-and-aggregate-data/ The bug in question was only visible when viewing cached workflow versions due to sorting done by bespin-api and the 'version' fields being null during sort('version') operation.
Added
ember-pad
to work around PhantomJS missing String.padStart.Fixes #148