Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Add Artifact loading support to API and UI #19

Closed
wants to merge 28 commits into from

Conversation

jakereps
Copy link
Member

@jakereps jakereps commented May 31, 2016

Adds support on front-end and backend for loading qtf artifacts from the current working directory.

Updates react-router to allow usage of the withRouter component wrapper. Requires npm install on all existing dev environments in order to update the package.

TODO:

  • Store valid input artifacts in state with correct workflow and input artifact instance
  • Handle deletion of artifact files, with confirmation dialog
  • Handle deletion of artifact files from inputArtifact storage

jakereps and others added 28 commits May 25, 2016 16:10
Adds cancel button to job pages, fixes qiime2#17
Adds smart container around job pages for statelessness
Adds an artifacts route to the API
Dynamically fetches artifacts and their data from the cwd
Instead of pulling the router from Context, change to using the react-router 2.4.x withRouter helper to pass the router to props instead. Will require a call to npm install on any development environments to update react-router
Adds DELETE api endpoint for artifacts that handles deletion of the files
Adds confirmation dialog to UI to prevent accidental deltions.
Should be changed to custom confirm dialog through React eventually instead of browser alert confirmation style
Adds Access-Control-Allow-Methods to response headers, as DELETE was being denied without it.
Adds input artifact storage by the name, as used in Q2D3.
Adds Job page dispatch and state mapping
Adds pre-commit npm test run hook (needs npm install ran)
Adds a jobs reducer for the next steps
Adds a test for the jobs reducer
MAINT: Update to use new framework API
Filter out plugins without workflows
Adds cancel button to job pages, fixes qiime2#17
Adds smart container around job pages for statelessness
Adds an artifacts route to the API
Dynamically fetches artifacts and their data from the cwd
Instead of pulling the router from Context, change to using the react-router 2.4.x withRouter helper to pass the router to props instead. Will require a call to npm install on any development environments to update react-router
Adds DELETE api endpoint for artifacts that handles deletion of the files
Adds confirmation dialog to UI to prevent accidental deltions.
Should be changed to custom confirm dialog through React eventually instead of browser alert confirmation style
Adds Access-Control-Allow-Methods to response headers, as DELETE was being denied without it.
Adds input artifact storage by the name, as used in Q2D3.
Adds Job page dispatch and state mapping
Adds pre-commit npm test run hook (needs npm install ran)
Adds a jobs reducer for the next steps
Adds a test for the jobs reducer
Slight API tweaks created conflicts. Fixed.
@jakereps jakereps closed this Jun 6, 2016
@jakereps jakereps deleted the dynamic-artifacts branch June 6, 2016 19:53
@jakereps jakereps restored the dynamic-artifacts branch June 6, 2016 20:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants