-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
119 lines (80 loc) · 2.61 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
Actions
=======
+ Action parser and evaluator
+ params parser
* cond parser
+ prototype parser
+ can action yield?
* Entity actions
* Constructors
+ Actions returning values
Rewriting action parsing and generating
+ Action parsing, block parsing, cond parsing, var parsing
+ Complex cases, Hashes, Blocks, validations
+ Action yields
+ Action generation, and generationlets
+ Return values
Client Side
===========
* Transform Nifty.app ot Nifty.BootLoadr class
* Clean up and document Nifty.data
* Implement nifty panel in a cleaner way, with support for footers and special extra header thingis
* Clean up and document Nifty.widgets
* Field & Fieldeditor with event based interactions
* Simple validations for fields, auto marking for required fields
* Extra field information and data, to be added on the side, under field name.
* Empty entity
* BigButton implementation
* Saving new entity
* Add new fieldlets
* info for offline server
* info for not-found entity
* sample index page with list of x items
Server Side
===========
* Return errors for bad data.
DataModel
=========
+ Change DisplayLambda into Title format
+ Change Entity[:display] => Entity[:title]
== Client Side
* Smart-tabing between instances
* blur & focus events for instances
+ color dirty instances
+ update displayItem with values, via handlers.
+ field can be single or multiple
* show new empty instance on multiple edit fields
+ focus on the first editItem when editing instance
+ template-based markup generating for field, field-instnace & fieldlet, for using with grid (list)
+ clean up pages
+ clean up instances & fieldlets
* nifty-window, looks like facebook's one.
== Nifty Warnings & Errors:
* Not Found
* No access
* No internet connection
== Server Side
+ proper response for successfully saved entity
+ optimize entity saving
+ set the display after save
+ generate fields, entities & fieldlets automaticaly (JS side)
+ smart loading of enitites via fieldlets - for usage with links.
== Fieldlets
* proper folder tree
* proper definition file
+ define options for displayitems & edit items via fieldlets
+ fieldlet with xtemplates/rendered items as their display
+ redrawing display value when field is updated
* extract nifty-base-fieldlets to merb-plugin
* rake tasks for packing, testing and generating fieldlets
== Lists
== Cleaning up
+ Schema specified on models
* rspecs
* documentation for each class and mehtod, based on Merb's convention
+ fixtures and sample data
== Testing:
* Rspec unit tests
* many system fixtures
* many stories
* find a way to test fieldlets (maybe "interface-like" tests? (respond_to? :required_method))