{"action":"created","issue":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/434","labels_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/434/labels{/name}","comments_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/434/comments","events_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/434/events","html_url":"https://github.com/apache/couchdb-fauxton/pull/434","id":80134423,"number":434,"title":"GSoC 2015 - 2214 Dashboard as main page","user":{"login":"wadsashika","id":1336729,"avatar_url":"https://avatars.githubusercontent.com/u/1336729?v=3","gravatar_id":"","url":"https://api.github.com/users/wadsashika","html_url":"https://github.com/wadsashika","followers_url":"https://api.github.com/users/wadsashika/followers","following_url":"https://api.github.com/users/wadsashika/following{/other_user}","gists_url":"https://api.github.com/users/wadsashika/gists{/gist_id}","starred_url":"https://api.github.com/users/wadsashika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wadsashika/subscriptions","organizations_url":"https://api.github.com/users/wadsashika/orgs","repos_url":"https://api.github.com/users/wadsashika/repos","events_url":"https://api.github.com/users/wadsashika/events{/privacy}","received_events_url":"https://api.github.com/users/wadsashika/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-24T11:31:02Z","updated_at":"2015-05-28T14:37:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/pulls/434","html_url":"https://github.com/apache/couchdb-fauxton/pull/434","diff_url":"https://github.com/apache/couchdb-fauxton/pull/434.diff","patch_url":"https://github.com/apache/couchdb-fauxton/pull/434.patch"},"body":"Added a widget that shows active tasks to the dashboard. In here I reused functions in Active task module. I did not implement test cases yet."},"comment":{"url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/comments/106362009","html_url":"https://github.com/apache/couchdb-fauxton/pull/434#issuecomment-106362009","issue_url":"https://api.github.com/repos/apache/couchdb-fauxton/issues/434","id":106362009,"user":{"login":"michellephung","id":836039,"avatar_url":"https://avatars.githubusercontent.com/u/836039?v=3","gravatar_id":"","url":"https://api.github.com/users/michellephung","html_url":"https://github.com/michellephung","followers_url":"https://api.github.com/users/michellephung/followers","following_url":"https://api.github.com/users/michellephung/following{/other_user}","gists_url":"https://api.github.com/users/michellephung/gists{/gist_id}","starred_url":"https://api.github.com/users/michellephung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michellephung/subscriptions","organizations_url":"https://api.github.com/users/michellephung/orgs","repos_url":"https://api.github.com/users/michellephung/repos","events_url":"https://api.github.com/users/michellephung/events{/privacy}","received_events_url":"https://api.github.com/users/michellephung/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T14:37:42Z","updated_at":"2015-05-28T14:37:42Z","body":"@wadsashika you can include the 'Active Tasks Store' in your 'Active Tasks Widgets Store', to get access to the functions. \r\nThen 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'. \r\n\r\nActive Tasks Store <-- active tasks functions only\r\nActive Tasks Widgets Store <-- active tasks widget functions only\r\n\r\nI'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.\r\n\r\nFor 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.\r\n\r\nAnother 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.\r\n\r\n@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.\r\n\r\n\r\n\r\n\r\n"}}