We should probably have an update method for the grids.

Bug #823025 reported by Jo-Erlend Schinstad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Quickly Widgets
New
Undecided
Unassigned

Bug Description

We should have way to reload the data from the dictionary or the desktopcouch. After all, some of the beauty of DesktopCouch is the ability to share data among different applications on different machines. For instance, a feedreader might run on your primary machine, adding unread articles to the database. Another application would then simply display the data from the database and would like to poll it every x minutes. CouchGrid.update() would be nice.

Perhaps even a CouchGrid.set_update_interval(seconds=-1, minutes=-1, hours=-1) property for it to automatically update itself?

Revision history for this message
Jo-Erlend Schinstad (joerlend.schinstad-deactivatedaccount) wrote :

if we implement that auto-update, then we should probably use CouchDBs Update Seq and only add new entries to the treeview instead of reloading the whole thing, which may save lots of CPU-time if the list is long.

summary: - We should probably have an undate method for the grids.
+ We should probably have an update method for the grids.
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.