Ticket #269 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

Improve gov package form

Reported by: dread Owned by: rgrp
Priority: major Milestone:
Component: ckan Keywords:
Cc: Repository:
Theme:

Description

If the notes field could use a WYSIWYG editor with word cleanup this would really help users who may well be pasting in text from Word (and I guess may have been approved or written by someone else)

having auto-complete on tags would both make the system easier to use - and reduce the risk of synonymous tags being created inadvertently.

Does the department drop down options list interact with user permissions - so that users who only have rights to one department only see that option ?

Similarly for licenses - can this reduce to the set of allowed options for this user/

What level of validation is there on the fields?

Change History

comment:1 Changed 4 years ago by rgrp

  • Status changed from new to closed
  • Type changed from enhancement to defect
  • Resolution set to invalid

I think this has been long obsoleted by other work (e.g. more recent work on gov form).

comment:2 Changed 4 years ago by dread

  • Status changed from closed to reopened
  • Resolution invalid deleted

Several of these points haven't been considered in the recent work.

comment:3 Changed 3 years ago by thejimmyg

  • Priority changed from awaiting triage to major
  • Type changed from defect to enhancement

Just discussed this with Evan...

notes field could use a WYSIWYG

  • No, Evan wants to discourage fancy features, plain text/markdown is fine
  • auto-complete on tags - DONE
  • department drop down options list interact with user permission - Evan building the API we need for this now.
  • licenses -> drop down is fine, let's just OGL as default

So just default licence and replacing department with provider and via to be implemented on this ticket.

Evan will provide:

organisation.one() to look up one organsisation by ID

organisation.many() to look up a list of organsisation by ID all at once

organisation.match() to match a string and return a organsisation ID

organisation.department() to take a organsisation ID and return the organsisation ID of the department it represents.

comment:4 Changed 3 years ago by dread

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

Licence is defaulted in CKAN cset:5bfbcd457426 (merged into default) and DGU cset:2d798e8af3d7.

"replacing department with provider" is covered in ticket: https://trac.dataco.coi.gov.uk/projects/datagov/ticket/742

Note: See TracTickets for help on using tickets.