0xBootleggers / bufficorn

Bufficorn Ventures Custom DAO App
https://bufficorn.vercel.app
MIT License
0 stars 1 forks source link

Hide View Details Buttons #13

Closed earth2travis closed 1 year ago

earth2travis commented 1 year ago

Hide View Details buttons on proposal list view if not a member of the DAO

earth2travis commented 1 year ago

proposals-list

earth2travis commented 1 year ago

proposal-details

earth2travis commented 1 year ago

If possible, we can just not display the View Details button for non-members

TravisWyche commented 1 year ago

Agree. Remove View Details button and add a persistent banner that notifies a non-member that certain information is not available. Need to decide the precise copy text for the banner.

earth2travis commented 1 year ago

Decided not to do this:

When users who are not members of the DAO click the View Details button from the Proposals list they should not be able to see the proposal details.

We can consider using the HTML dialog Element or a traditional modal on the proposals list. This may be easier to implement rather than actually loading the proposal details view with alternate text.

And will keep it simple but not displaying the View Details button if not a member of the DAO

earth2travis commented 1 year ago

Image