couchdb-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/COUCHDB-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039909#comment-14039909
] 

ASF GitHub Bot commented on COUCHDB-2160:
-----------------------------------------

GitHub user sebastianrothbucher opened a pull request:

    https://github.com/apache/couchdb/pull/251

    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 https://github.com/sebastianrothbucher/couchdb 2160-string-edit

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

    https://github.com/apache/couchdb/pull/251.patch

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 <sebastianrothbucher@googlemail.com>
Date:   2014-06-15T19:06:03Z

    very first draft (buggy but showable) for editing JS

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

    Button to open - sel sensitive

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

    stable version of string editing

----


> Fields-view for documents
> -------------------------
>
>                 Key: COUCHDB-2160
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2160
>             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
(v6.2#6252)

Mime
View raw message