Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-792

Bespin integrated in Futon views editor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • None
    • None
    • Futon
    • HTML5 / Javascript

    • New Contributors Level (Easy)

    Description

      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

      Attachments

        1. futon-bespin.patch.gz
          531 kB
          Michael Bailly

        Activity

          People

            Unassigned Unassigned
            mickael Michael Bailly
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: