Ticket #1537 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Package create form wizard

Reported by: icmurray Owned by: icmurray
Priority: major Milestone: ckan-v1.7
Component: dgu Keywords: dgu form refactor wizard #1525
Cc: Repository: ckanext-dgu
Theme: none


Create the form wizard for the package-new form.

Each section of the form will be a separate page as this was decided to be simpler than the alternative of making AJAX calls for validation at each stage. (*)

  • separate pages for each section of the form
  • validation carried out at each stage against the whole schema. Each section/page declares a list of schema keys that need to validate for that section to validate, and thus move onto the next section.
  • no draft saving to be performed in this ticket.

(*) - although the javascript alternative will probably provide better UX (each step would require a page-load in the wizard approach), it was decided that:

  • with the javascript approach it would be harder to test the workflow.
  • with the javascript approach there would be additional work displaying validation correctly. Although not that complicated, it was felt to add another point of failure.
  • the multi-page wizard is quicker and easier to implement, and if it provided poor UX, then the javascript approach would be used instead.
  • the multi-page wizard wouldn't preclude a javascript-tabbing create-form for other cases (where the wizard workflow wasn't such a good match, eg on the hedatahub.org)
  • the multi-page wizard wouldn't preclude a javascript-tabbing edit-form.

Change History

comment:1 Changed 2 years ago by icmurray

  • Milestone changed from ckan-sprint-2011-12-19 to current-ckan-sprint-2012-01-09

comment:2 Changed 2 years ago by icmurray

  • Milestone changed from current-ckan-sprint-2012-01-09 to ckan-v1.6

comment:3 Changed 2 years ago by icmurray

  • Cc dread kindly shevski removed
  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.