couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michellephung <...@git.apache.org>
Subject [GitHub] couchdb-fauxton pull request: GSoC 2015 - 2214 Dashboard as main p...
Date Thu, 28 May 2015 14:37:43 GMT
Github user michellephung commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/434#issuecomment-106362009
  
    @wadsashika you can include the 'Active Tasks Store' in your 'Active Tasks Widgets Store',
to get access to the functions. 
    Then you can put any additional widget functions it's own 'Active Tasks Widgets Store',
that uses data that you get from the 'Active Tasks Store'. 
    
    Active Tasks Store <-- active tasks functions only
    Active Tasks Widgets Store <-- active tasks widget functions only
    
    I'm thinking eventually you will have several 'X Widget Stores', which will include (require)
the stores from their respective addons, and you will write your widget-specific functions
in those.
    
    For example, you might have a 'most recent databases widget', which would have it's own
store file, and that 'most recent database widget store' would have custom functions that
you write that are only for the widget.
    
    Another option, would be for you to write your custom widget functions directly into each
of the add-ons stores, and then call the functions from your dashboard jsx file.
    
    @benkeen @robertkowalski. is one option better than another here? I thought having the
widgets each having their own stores would mean that they'd be easier to debug, and later
customize or extend.
    
    
    
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message