AutarkLabs / open-enterprise

A suite of apps that includes allocation, dot voting, issue curation, and other planning tools so organizations can collectively budget and design custom reward & bounty systems.
GNU General Public License v3.0
92 stars 54 forks source link

Pull Dot Vote app data into About app #1885

Open e18r opened 4 years ago

e18r commented 4 years ago

This issue should cover part of the following acceptance criteria:

In order to display latest dot vote information the About application needs to be connected with the Dot Voting application as an external contract so that events can be added to the About app state.

This issue covers modifications to the script.js file to connect to the first, or the default, dot voting application as an external contract to receive the event information. In order to connect to the dot voting application, we can use the installedApps endpoint in aragon.js.

a dotVotes object should be loaded into state, with sufficient information to display the following widget:

Screenshot from 2020-01-14 22-45-42