Governance Tab - Proposals & Votes
Summary
Continuing the work described in this issue front#4651 (closed), we need to store the proposal data in the DB to relate with Minds users.
The desired behavior would include storing a new entity on the data DB for proposals that would include a data structure similar to:
{
id: ID;
creator: UserID;
title: string;
body: string;
metadata: json;
type: string;
category: string;
createdAt: DateTime;
updatedAt: DateTime;
}
The intention of adding this feature is to show on the Newsfeed a new type of post (proposal post). It would look similar to this:
As can be seen in the image, it is necessary to determine which users followed by a user have voted on a proposal.
Current behavior
At this point we are only able to retrieve the list of proposals from Snapshot and we are not able to determine the type of proposal (area attribute: to differentiate between features, bugs, testing, etc). We cannot establish a relationship between Minds users and the proposal voters neither.