[rhmessaging-commits] rhmessaging commits: r1374 - in mgmt: notes and 1 other directory.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Nov 27 17:03:51 EST 2007


Author: justi9
Date: 2007-11-27 17:03:51 -0500 (Tue, 27 Nov 2007)
New Revision: 1374

Modified:
   mgmt/cumin/python/cumin/broker.py
   mgmt/notes/justin-todo.txt
Log:
Updates my todo list.

Broadens the set of brokers returned in the broker list.  Fixes the
pagination.



Modified: mgmt/cumin/python/cumin/broker.py
===================================================================
--- mgmt/cumin/python/cumin/broker.py	2007-11-27 19:33:11 UTC (rev 1373)
+++ mgmt/cumin/python/cumin/broker.py	2007-11-27 22:03:51 UTC (rev 1374)
@@ -83,7 +83,7 @@
 
     def get_items(self, session, model):
         start, end = self.paginator.get_bounds(session)
-        return model.sys.brokers[start:end]
+        return list(mint.Broker.select())[start:end]
 
     def do_process(self, session, model):
         if self.submit.get(session):
@@ -109,7 +109,7 @@
 
     class BrokerPaginator(Paginator):
         def get_object(self, session, model):
-            return self.parent().get_items(session, model)
+            return list(mint.Broker.select()) #XXX ugh
 
 class BrokerFrame(CuminFrame):
     def __init__(self, app, name):

Modified: mgmt/notes/justin-todo.txt
===================================================================
--- mgmt/notes/justin-todo.txt	2007-11-27 19:33:11 UTC (rev 1373)
+++ mgmt/notes/justin-todo.txt	2007-11-27 22:03:51 UTC (rev 1374)
@@ -4,22 +4,21 @@
 
  * Queue: Add a msg enq rate msg deq rate chart
 
- * Pagination and sort in tables
+ * Sort in tables
 
+ * Restore high-low
+
+ * Restore the consumer, producer, and bindings stat links
+
+ * Add queue journal stats
+
 Deferred
 
  * Add a wooly.focus(id) method to replace the ad-hoc javascript I'm
    using
 
- * Think about making css and jscript pages produce their document in
-   some kind of widget-tree traversal order
-
- * We're generating lots of duplicate css rules
-
  * The granularity of radio and checkbox disabling seems to be off
 
- * Rename Widget.name to .__name
-
  * Make the status lights also be links to an appropriate view
 
    - Defer until we know what we're going to link to
@@ -41,8 +40,6 @@
  * Make item counts in tab labels a little grayer, that is, less
    intense than the name
 
- * Add favicon and a mapping in the server to serve it
-
  * Separate wooly stuff into its own devel subdir
 
  * Consider having a cssclass set on widgets




More information about the rhmessaging-commits mailing list