AutarkLabs / open-enterprise

A suite of apps that includes allocation, dot voting, issue curation, and other planning tools so organizations can collectively budget and design custom reward & bounty systems.
GNU General Public License v3.0
92 stars 54 forks source link

refactor: add 'query' logic to usePathHelpers #1918

Closed chadoh closed 4 years ago

chadoh commented 4 years ago

This reverts commit c981c34c6df185504c7afc855b57275963f41fad

Nothing uses this now, but it's useful logic to have around. Specifically, it could be nice to use for things like feature-flipping features that are under construction by adding params to the URL. Example:

/?features=native-projects
chadoh commented 4 years ago

@rkzel if you like this, you can merge it, rebase 1874-native-projects-panel onto dev, and then use this to add proper (though simple) feature-flipping to the New Project panel

chadoh commented 4 years ago

NEVERMIND. This doesn't work because usePath doesn't pass in the query parameters as of @aragon/api-react@2.0.0-beta.9 😒 😒 😒