Enhancement
Creation forms
Issue description
The creation of topics of a certain type involves many repetitive tasks and thus can be simplified for the user. It should be possible for an administrator to specify a "form" for the creation of topics of a type. This specification should include:
* a list of statement types
* the cardinality of each of those statement types
* which topic type the created instance has
* validation function formulated in javascript (maybe)
This form specification is then interpreted and displayed with the same statement editors that are used in the wiki. The form has an ok and a cancel button at the lower part of the page. The topic will only be created after clicking "ok".
Developer comments
I want to go in a different direction than the original description suggests. A form for creating (or editing) a topic should be generated from TMCL constraints. This should be fairly straight forward. The form creation should be done on the client. The topic should not be created until the user hits ok.
For now the TMCL subjects should be sufficient to create the forms.
|
Work sessions37
Start |
2009-12-13T07:45:34
|
End |
2009-12-13T09:32:55
|
Participant |
Robert Cerny
|
Summary |
First draft of implementation in JavaScript.
|
Start |
2009-12-14T12:07:27
|
End |
2009-12-14T17:19:10
|
Participant |
Robert Cerny
|
Summary |
* Implementation of two new resources (.form, .constraints).
* Implenentation of displays of a form in paragraphs and statements.
* Implementation of editing of occurrences.
* Styling of the form.
|
Start |
2009-12-15T08:04:19
|
End |
2009-12-15T09:46:13
|
Participant |
Robert Cerny
|
Summary |
* Implementation of the association editor with select box in JavaScript.
|
Start |
2009-12-15T13:05:04
|
End |
2009-12-15T18:12:05
|
Participant |
Robert Cerny
|
Summary |
* Implementation of statement addition, including respecting boundaries.
* Implementation of saving. Problem with saving the whole map at once.
|
Start |
2009-12-16T13:29:55
|
End |
2009-12-16T18:31:55
|
Participant |
Robert Cerny
|
Summary |
* Implementation of saving with TOPINCS.tmdm.ext.Changes.
* Implementation of validation.
|
Start |
2009-12-17T07:46:28
|
End |
2009-12-17T09:04:58
|
Participant |
Robert Cerny
|
Summary |
* Implementation of respecting subtype-supertype while determining the range of a role.
* Implementation of no-value option in role player selct.
* Implementation of marking of required statements.
|
Start |
2009-12-17T12:59:40
|
End |
2009-12-17T15:29:13
|
Participant |
Robert Cerny
|
Summary |
* Implementation of validation of min-max constraints.
|
Start |
2009-12-18T09:26:06
|
End |
2009-12-18T14:09:03
|
Participant |
Robert Cerny
|
Summary |
* Code review of new JavaScript files.
* Improvement of validation algorithm (allow non mandatory fields to be empty or invalid).
|
Start |
2009-12-18T15:54:09
|
End |
2009-12-18T17:29:24
|
Participant |
Robert Cerny
|
Summary |
* Attempt to convert TMCL ctms automatically to JTM.
* Started to work on server-side constraint construction (based on the declarations).
|
Start |
2009-12-19T05:27:12
|
End |
2009-12-19T11:00:26
|
Participant |
Robert Cerny
|
Summary |
* Implementation of fetching declared constraints.
* Importing and adjusting of TMCL topic maps.
* First successful creation of forms.
|
Start |
2010-01-18T15:12:28
|
End |
2010-01-18T16:03:42
|
Participant |
Robert Cerny
|
Start |
2010-01-20T13:30:32
|
End |
2010-01-20T16:20:32
|
Participant |
Robert Cerny
|
Summary |
* Attempt to simplify the transformation from schema.ctm to schema.jtm with the help of Mappa. Problems with Python.
|
Start |
2010-01-21T07:34:10
|
End |
2010-01-21T08:44:17
|
Participant |
Robert Cerny
|
Summary |
* Solution to the schema.ctm to schema.jtm simplification. Everything works as documentend in Mappa.
|
Start |
2010-01-22T08:40:10
|
End |
2010-01-22T10:05:05
|
Participant |
Robert Cerny
|
Summary |
* First import of new (with mappa converted) tmcl map.
* Topic type is very popular and is associated more than necessary.
|
Start |
2010-01-22T17:10:38
|
End |
2010-01-22T18:44:39
|
Participant |
Robert Cerny
|
Summary |
Implementation of support for topic name constraints.
|
Start |
2010-01-23T12:08:29
|
End |
2010-01-23T13:16:24
|
Participant |
Robert Cerny
|
Summary |
* Seperation of types and constraints in schema page.
|
Start |
2010-01-24T09:12:51
|
End |
2010-01-24T10:27:41
|
Participant |
Robert Cerny
|
Summary |
* Adjusted the patched schema.ctm based on irregularities in Topincs, e.g. topic does not have a name and is not a constraint.
|
Start |
2010-01-24T18:07:30
|
End |
2010-01-24T19:42:00
|
Participant |
Robert Cerny
|
Summary |
* Some more changes to the TMCL ctms to make forms for constraints right.
|
Start |
2010-01-26T13:51:50
|
End |
2010-01-26T17:14:39
|
Participant |
Robert Cerny
|
Summary |
Implementation of regular expression constraint validation in form.
|
Start |
2010-01-27T14:22:38
|
End |
2010-01-27T17:30:55
|
Participant |
Robert Cerny
|
Summary |
* Implementation of handling empty input fields (means usually no statement)
* Sorting of fields by constraint min value, so that all mandatory fields are displayed on top
|
Start |
2010-01-30T08:10:51
|
End |
2010-01-30T11:15:40
|
Participant |
Robert Cerny
|
Summary |
Implementation of advanced range selection that also respects the number of times a topic can play a role in an association.
|
Start |
2010-02-03T11:44:47
|
End |
2010-02-03T15:11:06
|
Participant |
Robert Cerny
|
Summary |
* Code review of Forms JavaScript code.
* Several simplifications based on the review.
* Support of associations with only one role type.
* Support of associations where subject plays more than one role.
|
Start |
2010-02-04T17:04:40
|
End |
2010-02-04T17:35:53
|
Participant |
Robert Cerny
|
Summary |
* Started to make paragraph validation testable.
|
Start |
2010-02-04T21:07:52
|
End |
2010-02-04T23:55:00
|
Participant |
Robert Cerny
|
Start |
2010-02-06T07:05:05
|
End |
2010-02-06T08:08:19
|
Participant |
Robert Cerny
|
Summary |
Analysis of not-displaying select boxes in IE. Problem was not in JavaScript, but in CSS.
|
Start |
2010-02-07T08:55:03
|
End |
2010-02-07T09:50:41
|
Participant |
Robert Cerny
|
Summary |
Refactoring of select boxes so that they work in IE.
|
Start |
2010-02-07T07:27:34
|
End |
2010-02-07T08:43:06
|
Participant |
Robert Cerny
|
Summary |
Testing. Works well. Very well.
|
Start |
2010-02-08T12:20:42
|
End |
2010-02-08T16:12:57
|
Participant |
Robert Cerny
|
Summary |
* Reduction of used TMCL terms on bare minimum because they still might change. Left only the ones which actually are evaluated in the map.
* Creation of some more label rules for TMCL constraint types.
|
Start |
2010-02-09T09:00:07
|
End |
2010-02-09T11:09:26
|
Participant |
Robert Cerny
|
Summary |
Update of the system topic map.
|
Start |
2010-02-09T12:39:36
|
End |
2010-02-09T16:21:34
|
Participant |
Robert Cerny
|
Summary |
Testing and small fixes.
|
Start |
2010-02-10T09:20:55
|
End |
2010-02-10T11:12:04
|
Participant |
Robert Cerny
|
Summary |
Testing, bug fixing, minor improvements.
|
Start |
2010-02-10T12:46:25
|
End |
2010-02-10T15:20:55
|
Participant |
Robert Cerny
|
Summary |
Testing, bugfixing, minor improvements.
|
Start |
2010-02-10T17:04:31
|
End |
2010-02-10T17:44:59
|
Participant |
Robert Cerny
|
Summary |
Testing, bug fixing and minor improvements.
|
Start |
2010-02-11T09:08:55
|
End |
2010-02-11T14:17:27
|
Participant |
Robert Cerny
|
Summary |
Testing, bugfixing.
|
Start |
2010-02-12T10:22:47
|
End |
2010-02-12T10:44:47
|
Participant |
Robert Cerny
|
Summary |
More testing.
|
Start |
2010-02-14T10:50:35
|
End |
2010-02-14T11:30:00
|
Participant |
Robert Cerny
|
Summary |
Small bug fix.
|
Start |
2010-02-15T08:19:24
|
End |
2010-02-15T11:46:54
|
Participant |
Robert Cerny
|
Summary |
* Final tests and bug fixing.
* Building of release.
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.