couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mickael Bailly (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-792) Bespin integrated in Futon views editor
Date Thu, 10 Jun 2010 14:35:13 GMT
Bespin integrated in Futon views editor
---------------------------------------

                 Key: COUCHDB-792
                 URL: https://issues.apache.org/jira/browse/COUCHDB-792
             Project: CouchDB
          Issue Type: New Feature
          Components: Futon
         Environment: HTML5 / Javascript
            Reporter: Mickael Bailly
            Priority: Minor
             Fix For: 0.11.1


Here is the "less-intrusive-I-can" patch to enable bespin editor in Futon database views page.

Implementation constraints :
- bespin can't have multiple instances
- bespin can't be enabled=>disabled=>enabled

I also met a bug on Google Chrome because CouchDB doesn't set a charset in HTTP response headers
for database.html ... As a result I only succeded with BespinEmbedded 0.7.1.

Implementation details :
- created proxy functions to get and set map/reduce code to/from editor ( instead of $("#viewcode_map").val()
... )
- created bespin wrapper class


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message