Closed rossneilson closed 2 years ago
We have a new feature that I believe lets us get only our discussion posts and not all the replies to that discussion.
The margins for the proposal cards are 24px all around, but the margins for the discussion cards are 24px on the sides and 20px top/bottom. Should we unify margin sizes, or was it intentional?
Also, do the discussion card interactions on hover are the same as the proposal cards? Meaning: highlight border and content.
Will need to check with @pimato on margins but the discussion cards are meant to be more compact.
And I believe hover activity is supposed to be the same, at least it makes sense like that
Blocked by #175
Design for discussion cards:
We can call getPosts() by specifying the context as the guild address. In future we will do more filtering to only get the high level discussions then fetch more data but for now we can do just this.
https://orbis-web-teal.vercel.app/developers/api-documentation/getPosts
We can set the body to a json object that includes the title then the body.
This should be infinitely scrolling for now and we will put a limit on it eventually.
We also want to poll this for new data, for now lets set that to 10 seconds and change it later.
Reactions and replies will be 0 for now and fetched later