Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 144 lines (90 sloc) 4.569 kb
ff9df56 @mcdonc Move from colander.
mcdonc authored
1 TODOs
2 =====
3
78dbd01 @mcdonc Put label on right side of element rather than left.
mcdonc authored
4 - [_] Easier JQuery UI theme changing.
5
6 - [X] Put input element on left hand side of label in
7 RadioChoiceWidget and CheckboxChoiceWidget.
8
9 - [_] RadioChoiceWidget doesn't work when used multiple times in a
10 page.
11
12 - [X] Make error message translations possible.
ff9df56 @mcdonc Move from colander.
mcdonc authored
13
1c308e1 @mcdonc - Add ``deform.widget.DateInputWidget`` widget, which is a date picker
mcdonc authored
14 - [_] Progressive form validation (show validation errors as you
c26fc00 @mcdonc todo gardening
mcdonc authored
15 type).
1c308e1 @mcdonc - Add ``deform.widget.DateInputWidget`` widget, which is a date picker
mcdonc authored
16
17 - [X] Date widget with picker (see ``deform.widget.DateInputWidget``).
18
19 - [_] Time widget with picker.
20
21 - [_] DateTime widget with pickers.
ff9df56 @mcdonc Move from colander.
mcdonc authored
22
df3dd31 @mcdonc Merge Tres' patch submission for a select choice widget.
mcdonc authored
23 - [X] Add a single-select widget.
ff9df56 @mcdonc Move from colander.
mcdonc authored
24
9f8a20c @mcdonc Add Tres' checkbox choice widget.
mcdonc authored
25 - [X] Add a multi-select checkbox widget.
ff9df56 @mcdonc Move from colander.
mcdonc authored
26
224451f @mcdonc todo gardening
mcdonc authored
27 - [X] Add a "combo-box" widget (serviced by AutoComplete text box)
ff9df56 @mcdonc Move from colander.
mcdonc authored
28
29 o Mixes free-form input with a drop-down.
30
224451f @mcdonc todo gardening
mcdonc authored
31
9f8a20c @mcdonc Add Tres' checkbox choice widget.
mcdonc authored
32 - [_] Add a multi-select widget using dual lists.
33
113050f @mcdonc - Add text input mask capability to ``deform.widget.TextInputWidget``.
mcdonc authored
34 - [X] Add "fixed-lentgh" string widgets (done by using jquery.maskedinput in
35 text input field)
ff9df56 @mcdonc Move from colander.
mcdonc authored
36
37 o E.g., in parts of an SSN, filling in all digits in the first
38 part's field jumps automatically to the second.
39
40 - [_] Add a country / postal code widget
41
42 o Does a lookup and shows city and state / province.
43
44 - [_] Add an ISBN widget.
45
46 o Does a lookup and shows author, title, etc..
47
f8cc6fd @mcdonc Make forms automagically put the cursor into the first field of a form.
mcdonc authored
48 - [X] Make forms automagically put the cursor into the first field of a form.
4ed951b @mcdonc
mcdonc authored
49
5d69be6 @mcdonc Meta.
mcdonc authored
50 - [X] Readonly widget variants
4ed951b @mcdonc
mcdonc authored
51
113050f @mcdonc - Add text input mask capability to ``deform.widget.TextInputWidget``.
mcdonc authored
52 - [X] Use case: require (email or phonenumber; see
53 require_one_or_another in deformdemo).
5357f57 @mcdonc Test123.
mcdonc authored
54
838ef4b @mcdonc todo gardening
mcdonc authored
55 - [X] Add a convention that allows a widget to specify the (logical)
0b9f999 @mcdonc add feature talked about with tom
mcdonc authored
56 resources it requires (e.g. ["foo.css", "jquery"]). Add an API
57 that allows you to retrieve all the logical resources required
58 by all widgets that are part of a form.
59
24037ac @mcdonc - Add the ``deform.widget.TextInputCSV`` widget. This widget is
mcdonc authored
60 - [X] Provide a lame default widget for tuples in order to avoid ``
32b12fd @mcdonc todo gardening
mcdonc authored
61 File "/Users/...deform/widget.py", line 92, in serialize raise
62 NotImplementedError`` during serialization or provide a better
63 error message (maybe a subclass of Widget that spits out a more
24037ac @mcdonc - Add the ``deform.widget.TextInputCSV`` widget. This widget is
mcdonc authored
64 informative error message). (used TextInputCSV widget).
32b12fd @mcdonc todo gardening
mcdonc authored
65
66 - [ ] Somehow prevent schemas that have sequence types (tuples and
67 sequences) that have no schema children from reaching the point
68 where we try to serialize them, as a hapless user will wind up
69 with a `` File "/Users/...../deform/widget.py", line 773, in
70 serialize item_field = field.children[0]`` exception instead of
71 a more sensible error message.
72
f7dec08 @mcdonc todo gardening
mcdonc authored
73 - [ ] Allow for single-field readonly renderings (e.g. on an add form,
74 the name must be provided, on an edit form the name cannot be
75 provided).
76
0b47d3d @reedobrien Add a todo so it is remembered.
reedobrien authored
77 - [ ] Make deform.widget.RichText render only on oid specific element
78 in templates.
79
ecd7132 @reedobrien add specificity to unparsable todo
reedobrien authored
80 - [ ] Work out RichTextWidget default height and width and overrides
81 for them, then document how to do so.
105b880 @reedobrien Document and TODO grooming
reedobrien authored
82
83 - [ ] Add placeholder text to
84 :class:`deform.widget.AutocompleteinputWidget`
85
c26fc00 @mcdonc todo gardening
mcdonc authored
86 - [ ] CSRF:
87
88 <DanielHolth> I came up with a repoze.bfg.formish CSRF solution
89 that I don't entirely hate. The token stored on the
90 FormController is hmac(''.join(user_id, str(self.__class__),
91 request.url, csrf_secret), session_identifier). The main form
92 template inserts the token into the form if
93 hasattr(form.controller.csrf_token) and it's checked with a
94 decorator on the action method.
95 <DanielHolth> I tried setting
96 the token as a default value for a String() but then the form
97 will compute the correct csrf token when submitted without that
98 key.
99 <wiggy> I use a CSRForm class which is derived from formish.Form
100 and every user gets a secret which is reset on login
101
f2f03f5 @mcdonc garden
mcdonc authored
102 - Apply patches:
e2d71b9 @mcdonc gardening
mcdonc authored
103
f2f03f5 @mcdonc garden
mcdonc authored
104 [ ] http://bugs.repoze.org/issue151
e2d71b9 @mcdonc gardening
mcdonc authored
105
f2f03f5 @mcdonc garden
mcdonc authored
106 [X] http://bugs.repoze.org/issue165
e2d71b9 @mcdonc gardening
mcdonc authored
107
108 - [ ] Spinner for upload widget.
109
110 - [ ] Focus first element in node when sequence item is added.
111
2953507 @mcdonc gardening
mcdonc authored
112 - [ ] http://deformdemo.repoze.org/multiple_forms/ has weird styling.
e2d71b9 @mcdonc gardening
mcdonc authored
113
52a48b3 @mnaberez ``DatePartsWidget`` now renders error "Required" if all blank or
mnaberez authored
114 - [X] Date parts widget renders error "Incomplete" if all blank.
ea841c9 @mcdonc garden
mcdonc authored
115 should be "Required" for consistency with others
116
a950f5c @mcdonc Dont mention release status.
mcdonc authored
117 Topics Needing Documentation
118 ----------------------------
119
120 - Associating a Colander type with a new default widget type.
121
122 - Changing the close button image.
123
5357f57 @mcdonc Test123.
mcdonc authored
124 - Interfield validation.
125
ad7dc7b @mcdonc todo
mcdonc authored
126 - Explain ``widget_maker``.
127
a950f5c @mcdonc Dont mention release status.
mcdonc authored
128 Documentation Done, But Could be Better
129 ---------------------------------------
130
131 - The Form class (and thee Button class) explanations.
132
133 - Multiple forms on the same page (in Form API docs only).
134
135 - FileUploadWidget tmpstore (in FileUploadWidget API docs only).
136
137 - Form post target changing (only in API docs)
138
c6a1021 @mcdonc Documentation goalline nearing.
mcdonc authored
139 - Internationalization (weak chapter)
140
141 - Creating a new schema type (punts to Colander docs in basic.rst)
142
143
Something went wrong with that request. Please try again.