Ticket #76 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Convert to use formalchemy for all forms

Reported by: rgrp Owned by: dread
Priority: critical Milestone: v0.10
Component: ckan Keywords:
Cc: Repository:
Theme:

Description (last modified by rgrp) (diff)

Current form stuff is not very good (uses formencode). Switch to formalchemy would improve this, especially on validation.

As an extra we could utilize the formalchemy pylons admin interface (pretty much for free).

Cost: 12h

Details

  1. Replace htmlfill and formencode extract in controllers/templates with formalchemy
    1. Crude and simple
    2. Suppress unwanted fields (revision, state, all revisions) and sort out ordering to be similar to before.
    3. Sort out tag field with a special renderer
  2. Validation - testing definitely required.
  3. Fix up description and pretty css etc

Change History

comment:1 Changed 5 years ago by rgrp

  • Description modified (diff)

comment:2 Changed 5 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

Objectives 1 and 2 done. 3 left for another ticket if req'd. Several checkins from 4cd7935adaceup to af32f6c2c5f1

comment:3 Changed 5 years ago by dread

I spent 30 hours on this task.

comment:4 Changed 5 years ago by dread

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:5 Changed 5 years ago by dread

Reopening to improve look of the form. Text input fields need to be wider to be like before (size=40). Try and get remaining field information text on there.

comment:6 Changed 5 years ago by dread

  • Status changed from reopened to closed
  • Resolution set to fixed

Part 3 done in cset:7ace6c5d6c68.

Note: See TracTickets for help on using tickets.