forked from josdejong/jsoneditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.txt
75 lines (45 loc) · 2.32 KB
/
todo.txt
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
JSON EDITOR TODO
________________________________________________________________________
VERSION 1: Basic functionality
Bug: on Opera, you cannot double click to select a word in the field/value
editable div
Bug: get the breaking of long words working on Firefox an IE. Does not work for
a word like "blablablablablablablablablablablablablablablablablablablabla",
and in IE also not for urls.
for highlighting and expanding: send a timestamp, and when very large,
split via a timeout in different parts so, the browser stays responsive.
________________________________________________________________________
VERSION 2: Functionality
store the contents in the browser. also store all revisions (used with undo/redo)
add documentation/information about JSON in general
write documentation about the sourcecode
warning when an object has multiple fields with the same name
create options:
- collapsed: true/false
- editableFields: true/false
________________________________________________________________________
VERSION 3: Performance
performance improvements: lazy loading of the HTML elements
method getValue() should retrieve the data from its in memory JSON, and not
by reading the from the fields on screen. Fields on screen must directly
update their value in memory when changed.
Also, the in memory JSON should correspond one to one to the real JSON data...
automatically update left or right panel contents on change?
________________________________________________________________________
VERSION 4: Validator
Implement a JSON Schema validator
http://en.wikipedia.org/wiki/Json#Schema
http://tools.ietf.org/html/draft-zyp-json-schema-03
the editor on the right will get an extra button on the right: for specifying
validation parameters. On the left, we will get two text editors on top of each
other: one with the JSON data, the other with the JSON schema.
By default, the validator is not visible. There will be an option in the main
menu to toggle validator.
Also: create buttons to generate JSON from a schema.
________________________________________________________________________
VERSION 5
support for XML? others?
________________________________________________________________________
VERSION 6
store data online, with an account?
payed account without ads and with some nice extra features?