MetaMask / snaps-directory

Explore community-built Snaps to customize your web3 experience via our official directory.
https://snaps.metamask.io/
14 stars 9 forks source link

Change category names #372

Closed FrederikBolding closed 5 months ago

FrederikBolding commented 5 months ago

Add support for migrating between the legacy and new category names. This effectively allows Snaps to use either a legacy category name or a new one without breaking the app. The legacy category names are replaced using a mapping a build time, but the keeps the URLs for the legacy categories alive. The legacy URLs redirect to the new category page.

Also actually changes the underlying constants for the categories.

github-actions[bot] commented 5 months ago

Commit 175829fad5ea6afe94f2a17fcfa7d5f0a597c378 successfully pushed to staging website:

https://metamask.github.io/snaps-directory-staging/pr/372/