[jira] Commented: (COUCHDB-632) Generic _changes listener added to jquery.couch.js

2010-02-10 Thread Benoit Chesneau (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12831908#action_12831908
 ] 

Benoit Chesneau commented on COUCHDB-632:
-

that would be an interesting features indeed. What about the undefined stuff 
that appears from time to time ? Shouldn't it be solved in jquery.couch.js ?

 Generic _changes listener added to jquery.couch.js
 --

 Key: COUCHDB-632
 URL: https://issues.apache.org/jira/browse/COUCHDB-632
 Project: CouchDB
  Issue Type: Improvement
  Components: Futon
 Environment: the Browser!
Reporter: mikeal
Priority: Minor
 Attachments: changes.diff, changes1.diff, jquery.couch.js

   Original Estimate: 0.02h
  Remaining Estimate: 0.02h

 I've written a Generic _changes listener and added it to jquery.couch.js 
 taken from Futon.

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



[jira] Commented: (COUCHDB-632) Generic _changes listener added to jquery.couch.js

2010-02-09 Thread Chris Anderson (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12831780#action_12831780
 ] 

Chris Anderson commented on COUCHDB-632:


If there were a Futon page of the 50 most recent _changes entries as they were 
being created / edited (using the All Documents ui) people would really 
appreciate this patch.

Because that would rule.

 Generic _changes listener added to jquery.couch.js
 --

 Key: COUCHDB-632
 URL: https://issues.apache.org/jira/browse/COUCHDB-632
 Project: CouchDB
  Issue Type: Improvement
  Components: Futon
 Environment: the Browser!
Reporter: mikeal
Priority: Minor
 Attachments: changes.diff, changes1.diff, jquery.couch.js

   Original Estimate: 0.02h
  Remaining Estimate: 0.02h

 I've written a Generic _changes listener and added it to jquery.couch.js 
 taken from Futon.

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



[jira] Commented: (COUCHDB-632) Generic _changes listener added to jquery.couch.js

2010-02-09 Thread Chris Anderson (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12831781#action_12831781
 ] 

Chris Anderson commented on COUCHDB-632:


ooh and you could even allow people to specify filters.

 Generic _changes listener added to jquery.couch.js
 --

 Key: COUCHDB-632
 URL: https://issues.apache.org/jira/browse/COUCHDB-632
 Project: CouchDB
  Issue Type: Improvement
  Components: Futon
 Environment: the Browser!
Reporter: mikeal
Priority: Minor
 Attachments: changes.diff, changes1.diff, jquery.couch.js

   Original Estimate: 0.02h
  Remaining Estimate: 0.02h

 I've written a Generic _changes listener and added it to jquery.couch.js 
 taken from Futon.

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



[jira] Commented: (COUCHDB-632) Generic _changes listener added to jquery.couch.js

2010-01-25 Thread Benoit Chesneau (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12804819#action_12804819
 ] 

Benoit Chesneau commented on COUCHDB-632:
-

If couchdb stop to get changes we received undefined results and oldest id :

Got 79ca040d0a6d784619c61b28e5ff
Got undefined
Got 79ca040d0a6d784619c61b28e5ff

Here is a quick test.html to reproduce :

!DOCTYPE html
html
  head
titleTest/title

  /head
  body
h1Test changes/h1


ul id=lines/ul

  /body
  script src=/_utils/script/json2.js/script
  script src=/_utils/script/jquery.js?1.3.1/script
  script src=/_utils/script/jquery.couch.js/script
  script
var db = $.couch.db(test);
var changes = db.changes({seq:15})
changes.addListener(function(data) {
console.log(data);
$(#lines).append(li Got  + data.id + /li);
});
changes.start();
  /script

/html


 Generic _changes listener added to jquery.couch.js
 --

 Key: COUCHDB-632
 URL: https://issues.apache.org/jira/browse/COUCHDB-632
 Project: CouchDB
  Issue Type: Improvement
  Components: Futon
 Environment: the Browser!
Reporter: mikeal
Priority: Minor
 Attachments: changes.diff, changes1.diff, jquery.couch.js

   Original Estimate: 0.02h
  Remaining Estimate: 0.02h

 I've written a Generic _changes listener and added it to jquery.couch.js 
 taken from Futon.

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