-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
138 lines (110 loc) · 4.67 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
=TODO=
[ADM]
=====
Definite
--------
P2 - convert ADM API to use exceptions for errors
P3 - move test utils into a separate .js file
P3 - add ADM unit tests
Need Thought
------------
P2 - higher-level validation like id can only start with alpha character
P1 - consider preventing selection outside of active page, or as Xu suggests,
making selection outside automatically change active page
P1 - consider moving active page and selection concepts to design node
P2 - consider validating widget registry entries on startup
[Design View]
=============
P2 - Make tools/panels movable to "dock" positions
- Not necessarily true flexible docking, but Shane is working on a scheme
to at least give us flexibility in fixed pane layouts, resizable in one
dimension
P2 - Make all DOM interactions into a "framework" class with well
defined APIs for things like:
* change page
* select object
* refresh (or reload) page
* refresh (or reload) document
* setting framework specific options (e.g. default transitions)
* generic message handler (?)
* delete object
* move object
* etc...
- Bugs to be fixed:
* Flip toggle switch widget in the design view cannot be selected.
- Update 1/3/12: Selectable but ugly and clicks fall through to it
* The option widget within a select menu does not show correctly in the design view.
- New design is to make options a property of select
[FileIO]
========
- See new project management features in UX design, and PTSDK-222 thru PTSDK-232,
especially PTSDK-224
[General]
=========
P2 - Rename template.js to something more appropriate for what it actually
does, which is handling the embedded design view contents styling and
behaviors in the framework context as opposed to the RIB JS/CSS
context
P1 - Separate "controller" and "design view" logic in js/builder.js. For
example, split it into two files... and make them more object oriented
P2 - Start saving context for UI states, preferences, current design, etc...
P3 - App title is currently always "title" which can't be changed; perhaps
this can just be removed, or made blank -- or it should be exposed as a
general property of the design somewhere. If that's to show up in the
property pane, we would need some way to select the "design".
P2 - It would be nice to preserve the ability to write pure jQuery Mobile apps,
which would require something like a design setting to turn Tizen widgets
on or off. Maybe better as a decision you make when opening a new project,
so we don't have to worry about deleting Tizen widgets if you turn those
off.
[Palette]
=========
P1 - Convert palette.json and palette.js to be usable for BWidget objects
Migrate the non-base widgets from widgets.js to palette JSON
* Base, Design, Page, Header, Footer and maybe Content will remain
in widgets.js
* Button, TextInput and others should migrate to a JSON format
P2 - Add additional jQM widgets to the palette JSON:
* Password Input
* Validated Inputs (number, email, url, telephone, etc.)
* Search Input
P2 - Convert the palette to a "palette.d" format, where new, custom palettes
can be added by simply adding new files into that dir. Needs some high
level design documentation.
[Properties]
============
[Serialize]
===========
[Template]
==========
P2 - Create additional templates
P2 - Add a "template picker" at startup and pre-populate the content area with
selected template
[Widgets]
P1 - Provide real UX icons for widgets
P2 - Perhaps display placeholder text in TextInput to guide user
(e.g. Enter hint text here) -- but only in design canvas
P3 - Someday we might want to distinguish between the order properties are
listed in properties pane and the order they are written in codegen
P3 - Could make form elements based on a common FormElement to inherit
the name attribute
P3 - Whether or not to wrap widget and label with a fieldcontain could be
an option on the widget
P2 - Add the ability to insert simple HTML at any point in the design:
text, <p> and <br> tags, <h?> tags, <b>, <i>, character entities, ...
- Might make sense to expose "class" property on everything
- Could make sense to expose Block elements so their ids could be set
[Code Gen]
==========
[Code View]
===========
[Preview]
=========
P2 - If you change pages with a button (e.g. with target "#page2") in the
preview, it might be nice if we noticed and updated our selection. OTOH,
maybe not.
P2 - If you navigate as above in the preview, probably when you come back to
preview later it should start you back on the same page you were looking
at in the design canvas again. Could use UX thought.
[Outline View]
==============