Skip to content

Improvements #89

Open
Open
@mifi

Description

@mifi

Potential improvements discovered during #87 but not blocking its merge:

  • github action slack notification like we had in travis
  • Use github releases with release notes instead of changelog. (I normally use np for publishing npm modules as it reduces chances of forgetting something)
  • disable travis builder
  • Option to auto-download results files (downloadResults: true) for createAssembly? I already created an example for this, but it could be a nice feature to be integrated in the API. Then we could even create a simple transloadit CLI that allows people to process local files using predefined templates for different useful operations!
  • allow specifying filename and contentType of uploaded streams? See form-data
    • Maybe merge the concept of filename and fieldname (it's a bit confusing)
  • Show off more cool things in readme (visual examples? gifs)
    • More files under examples/
  • Create types for all any fields in ts

Logs / Global Event Emitter

Could allow the user subscribe to:

  • Log events
  • onProgress event
  • (Suggested by kvz:) I think it would be nice if there was an option: reporter. By default it would be false. It could be set to nodesdk.consoleLogger or a custom function (progressCb add default console logger).
    Is this still needed now that we have the debug module for logging?

If we decide to add an EventEmitter it could lead to breaking changes (e.g. removing onUploadProgress and onAssemblyProgress from method options and move them to event listener)

Tests improvements

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions