couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-2160) Fields-view for documents
Date Sat, 21 Jun 2014 18:09:24 GMT


ASF GitHub Bot commented on COUCHDB-2160:

GitHub user sebastianrothbucher opened a pull request:

    2160 string edit

    Implemented a string-edit windows (as briefly discussed in COUCHDB-2160): when the cursor
is on a line that contains a JSON-String (possibly with encoded quotes / newlines), one can
open a textarea containing the unescaped text. This can replace much of what the field-edit
view of futon could do - and it should help a lot with editing javascript for design docs
or e.g. Angular with couch (when the code is actually contained in documents). Feedback is
highly appreciated!

You can merge this pull request into a Git repository by running:

    $ git pull 2160-string-edit

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #251
commit 80242d44f85c5bde2e4498883bd0cd7807e056ab
Author: sebastianrothbucher <>
Date:   2014-06-15T19:06:03Z

    very first draft (buggy but showable) for editing JS

commit 957ba5150710c04697850acc50c369e6d84f29b2
Author: sebastianrothbucher <>
Date:   2014-06-21T09:33:40Z

    Button to open - sel sensitive

commit 483ba5d3eb2481f28a5f27c5e74301d57ae794b2
Author: sebastianrothbucher <>
Date:   2014-06-21T17:57:41Z

    stable version of string editing


> Fields-view for documents
> -------------------------
>                 Key: COUCHDB-2160
>                 URL:
>             Project: CouchDB
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Alexander Shorin
>         Attachments: edittext_screen.png
> Futon provides two representation of documents: raw JSON and, how I called it, fields-view
where document is represented in nicer k-v table form. This representation is very user friendly,
since you don't have to care about JSON syntax - you don't even have to know about it. You
just double clicks on value, enters something and Futon guesses right type for the input.
No commas, no quotes, no brackets, just keys and values.
> Currently, Fauxton has no such view providing documents representation only as raw JSON
(thought it has very rich editor for it).

This message was sent by Atlassian JIRA

View raw message