aragon / client

(Aragon 1) Create and manage decentralized organizations on Ethereum.
https://client.aragon.org
GNU Affero General Public License v3.0
831 stars 274 forks source link

App paths parameters #218

Closed bpierre closed 5 years ago

bpierre commented 6 years ago

Make it possible to pass URL parameters to an Aragon app.

lkngtn commented 6 years ago

@bpierre What is the user impact of this, would this allow someone to link directly to a specific vote for example?

bpierre commented 6 years ago

@lkngtn Exactly!

sohkai commented 6 years ago

I think this could be done with the context api we have ready in aragon.js, but never used. Just take the URL params, and pass them in as part of the context. The app could communicate back its current context if the user does something and then the app could reflect it in the URL (hopefully there's no trouble with this being async).

AquiGorka commented 6 years ago

Thinking off the top of my head here: what if we include the params in the iframe's href? Apps may be able to reuse the same code when sandboxed within the kit and as standalone (is that something that we want?)

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for contributing to Aragon! 🦅

luisivan commented 5 years ago

Already in the client