Project

General

Profile

Actions

Idea #3490

closed

[Workbench] Create and edit pipeline templates

Added by Peter Amstutz over 9 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
-
Start date:
Due date:
Story points:
2.0

Description

Goals:
  • Quicker to debug pipeline templates (if Workbench is used to run tests)
  • Friendlier validation (arv edit fails rudely if JSON syntax is wrong, and doesn't even notice any errors more subtle than that.)
Feature: "Edit components" tab in PipelineTemplate#view (when the current template is writable)
  • Textarea with components attribute in JSON format
  • "Save" button
  • Preview area (probably beside textarea)
  • "Update" button refreshes preview pane immediately (greyed out and disabled when already up-to-date or JSON is unparseable)
  • When textarea has changed since last AJAX request was initiated, and no input/click events have happened for (say) 1 second, update the preview pane:
    • Cancel any AJAX request in progress
    • If the textarea content is not parseable, disable the "Update" button, show an alert (class="alert alert-warning"?) to that effect, and stop
    • Grey out the "Update" button and change its text to "Updating..."
    • Start AJAX request for preview
Workbench server side
  • Add ApplicationController#preview method (and route put :preview, on: :member, just for pipeline instances for now) -- much like generic #update, but doesn't save.
  • Replace pipeline_templates/_show_chooser_preview.html.erb with something useful. It should look decent in this preview window and in the generic chooser / search dialog. (The current preview just defers to show_components and looks pretty bad.)

Related issues

Related to Arvados - Bug #4451: [Workbench] Fiddlesticks when rerunning pipeline with edited templateClosed11/06/2014Actions
Related to Arvados - Feature #4712: [Crunch] Skip some components when running a pipelineClosed12/03/2014Actions
Related to Arvados - Idea #2992: [Workbench] Support "display_order" (integer) key for pipeline template components. Obey when rendering pipeline summary/details in Workbench.Rejected03/13/2019Actions
Has duplicate Arvados - Feature #5291: [Workbench] Editing pipeline templates on WorkbenchClosed02/23/2015Actions
Actions #1

Updated by Tom Clegg over 9 years ago

  • Subject changed from [Workbench] User should be able to create and edit pipeline templates in workbench instead of having switch back and forth between workbench and command line. to [Workbench] Create and edit pipeline template components in Workbench.
  • Description updated (diff)
  • Category set to Workbench
  • Story points set to 2.0
Actions #2

Updated by Tom Clegg over 9 years ago

  • Target version set to Arvados Future Sprints
Actions #3

Updated by Tom Clegg over 9 years ago

  • Description updated (diff)
Actions #4

Updated by Peter Amstutz over 9 years ago

  • Target version changed from Arvados Future Sprints to 2015-01-07 sprint
Actions #5

Updated by Peter Amstutz over 9 years ago

  • Target version changed from 2015-01-07 sprint to Arvados Future Sprints
Actions #6

Updated by Tom Clegg over 9 years ago

  • Subject changed from [Workbench] Create and edit pipeline template components in Workbench. to [Workbench] Create and edit pipeline templates
Actions #7

Updated by Brett Smith about 9 years ago

Bryan suggested http://json.parser.online.fr/ for inspiration in the related ticket.

Actions #8

Updated by Tom Morris about 5 years ago

  • Status changed from New to Rejected
  • Target version deleted (Arvados Future Sprints)

Pipeline templates haven't been a thing for a while

Actions

Also available in: Atom PDF