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 Vote app data into About app #1883

Closed Quazia closed 4 years ago

Quazia commented 4 years ago

This issue should cover part of the following acceptance criteria:

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

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

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

image

e18r commented 4 years ago

I just changed the estimate to reflect the fact that the store needed to be upgraded. This won't affect the delivery date.

javieralaves commented 4 years ago

Tested in the experimental client, works as expected!