jsoneditor/misc/todo.txt

102 lines
3.1 KiB
Plaintext
Raw Normal View History

2012-04-21 19:28:28 +08:00
JSON EDITOR ONLINE TODO
http://jsoneditoronline.org
________________________________________________________________________
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.
2012-04-21 19:28:28 +08:00
Bug: zooming on IE8 does not work nicely: width of the contents is not adjusted.
is fixed as soon as resize() is executed after zooming
2012-04-21 19:28:28 +08:00
Get things working in IE7? maybe only a sizing problem (besides no JSON support)
for highlighting and expanding: send a timestamp, and when very large,
split via a timeout in different parts so, the browser stays responsive.
The edit buttons on the right should stay visible on the right side always,
possibly overlapping the text (but with a horizontal scrollbar)
2012-04-21 19:28:28 +08:00
________________________________________________________________________
VERSION 2: Functionality
filter nodes
create onchange callbacks
2012-04-21 19:28:28 +08:00
make the editor more keyboard friendly. Shortcut keys, access to the type dropdown menu
alt+arrow keys to navigate through the fields and values
copy a structure via Ctrl+ drag and drop?
undo/redo
load files from url or by upload
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
2012-04-21 19:28:28 +08:00
create options:
- collapsed: true/false
- editableFields: true/false
when dragging higher than the top, or lower than the bottom, scroll the
whole editor.
________________________________________________________________________
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?