Closed bpierre closed 5 years ago
@bpierre What is the user impact of this, would this allow someone to link directly to a specific vote for example?
@lkngtn Exactly!
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).
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?)
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! 🦅
Already in the client
Make it possible to pass URL parameters to an Aragon app.