Upgrade NextJS to allow links and navigation
- Update to NextJS 9
- Factorize the global state into
_app.tsx
- Break the UI into pages that can be navigated to
-
Get parameters from the URL, using #hash
-
Replace buttons by links -
Transfer knowledge to @divdevdoe
Materialized list of steps:
-
Provide a starter project @dappfuse - AppContext
-
Declare the global state (GW clients, Web3 manager) @dappfuse
-
-
_app.tsx
-
Use the global state @dappfuse
-
-
lib/...
-
Port the GW connection logic @divdevdoe -
Post the bootnodes fetching logic @divdevdoe
-
- Refactor the views into pages
-
Main layout @dappfuse -
Index @divdevdoe -
Entity view @divdevdoe -
Entity edit @divdevdoe -
Process view @divdevdoe -
Process edit @divdevdoe -
Process new @divdevdoe -
News post view @divdevdoe -
News post edit @divdevdoe
-
- Allow to export parameterized builds
-
Production / Testing (production/test gateway bootnodes) @dappfuse -
Viewer / Manager (read/read-write) @dappfuse @divdevdoe
-
- Merge viewer + visualizer
Edited by Dapp Fuse