Merge pull request #584 from urbit/deps/upgrade
@@ -9,6 +9,6 @@
9 "react-hooks"
9 "react-hooks"
11 "rules": {
11 "rules": {
12− "prettier/prettier": "error"
12+ "prettier/prettier": "warn"
@@ -17,8 +17,8 @@ on node 11.1.0, so make sure you're using some other node version.
17You can use [nvm](https://github.com/creationix/nvm), for example, and do:
17You can use [nvm](https://github.com/creationix/nvm), for example, and do:
20−$ nvm install 11.0.0
20+$ nvm install 14.17.0
21−$ nvm use v11.0.0
21+$ nvm use v14.17.0
24before running `npm run pilot`.
24before running `npm run pilot`.
@@ -94,6 +94,56 @@ websocket. Do this by going to `about:config` and setting the
94Additionally you need to run with the `HTTPS` environment variable set to
94Additionally you need to run with the `HTTPS` environment variable set to
95`true`. Note that `npm run pilot` will handle this automatically.
95`true`. Note that `npm run pilot` will handle this automatically.
99+Automated tests for critical user journeys are coming Soon™️. Until then, here are several manual test cases to consider when making changes. It's worth noting that what to test depends on what the changes are. These test cases have limited utility when you are making a small change on a single screen; however, they are certainly a good idea when touching critical pieces such as transaction sending or secrets derivation.
103+"As a user, I can log into Bridge using a BIP39 mnemonic phrase"
105+1. Click the 'Mnemonic, Metamask, Hardware Wallet ...' Button, then click 'Mnemonic (BIP 39)'
106+2. Paste the mnemonic above (in 'Useful Accounts') into the text area, then click 'Login'
107+3. Confirm that you are able to view the Points list view. Since no points have been created yet, you should see the following message:
108+> No points to display. This wallet is not the owner or proxy for any points.
112+"As a user, I can create a new planet"
114+1. Once a star has been created, click it in the points list
115+2. Click "Issue Point", enter one of the suggested planet names, and sign and send the transaction
116+3. Log out and back into Bridge, confirm that the newly created planet is rendered in the points list
120+"As a user, I can create a new invite"
122+First, in `Bridge.js`, set the `INITIAL_NETWORK_TYPE` to Ropsten:
124+const INITIAL_NETWORK_TYPE = NETWORK_TYPES.ROPSTEN;
127+Then, in `tank.js`, set the port to `3011`:
129+const baseUrl = 'https://gas-tank.urbit.org:3011';
132+1. Ask one of the Collaborators of this project for an Invite code :)
134+(If you're generating a code, don't forget to set `inviteMail.js` port to `:3012` for testnet)
136+### Invite Acceptance
138+"As a new Urbit user, I can set up a new ID with an activation code"
140+1. On the Bridge landing page, click the small "Activate" link
141+2. Paste the Invite code from the previous test case, and click "Go"
142+3. Download the Passport file, then use the enclosed Master Ticket and ID to login to Bridge again
145+When testing the invite acceptance and login flow on Ropsten, some of the Azimuth API calls will fail (e.g., `getConditional`).
97## Releases
147## Releases
99To generate a release `bridge-$VERSION.zip` file, use a simple `npm run release`.
149To generate a release `bridge-$VERSION.zip` file, use a simple `npm run release`.
config-overrides.jsdeleted−13
@@ -1,13 +0,0 @@
1−const rewireReactHotLoader = require('react-app-rewire-hot-loader');
2−const rewireAliases = require('react-app-rewire-aliases');
4−const alias = rewireAliases.aliasesOptions({
5− 'react-dom': '@hot-loader/react-dom',
8−module.exports = function override(config, env) {
9− config = rewireReactHotLoader(config, env);
10− config = alias(config, env);
package-lock.json+18353−14253
This diff is too big to show here.
This diff is too big to show here.
This diff is too big to show here.
This diff is too big to show here.
src/indigo-react/components/Input.js+1−1
This diff is too big to show here.
src/lib/SolarisClient.js−2
This diff is too big to show here.
src/lib/authToken.js → src/lib/authToken.tsrenamed+9−7
This diff is too big to show here.
src/lib/constants.js → src/lib/constants.tsrenamed+26
This diff is too big to show here.
src/lib/flowCommand.js → src/lib/flowCommand.tsrenamed+1−1
This diff is too big to show here.
This diff is too big to show here.
This diff is too big to show here.
This diff is too big to show here.
This diff is too big to show here.
src/lib/trezor.js → src/lib/trezor.tsrenamed
The content is the same.
This diff is too big to show here.
src/lib/useIsEclipticOwner.js+1−1
This diff is too big to show here.
src/lib/usePermissionsForPoint.js+1−1
This diff is too big to show here.
src/lib/utils/address.test.tsnew file+19
This diff is too big to show here.
src/lib/utils/address.tsnew file+39
This diff is too big to show here.
src/lib/validators.js+7−2
This diff is too big to show here.
src/lib/wallet.jsdeleted−120
This diff is too big to show here.
src/lib/wallet.tsnew file+47
This diff is too big to show here.
src/react-app-env.d.tsnew file+1
This diff is too big to show here.
src/store/lib/useControlledPointsStore.js+1
This diff is too big to show here.
src/store/lib/useResidentsStore.js → src/store/lib/useResidentsStore.tsrenamed+3−4
This diff is too big to show here.
This diff is too big to show here.
src/views/AcceptLockup.js+1−1
This diff is too big to show here.
src/views/Activate/ActivateCode.js+2−1
This diff is too big to show here.
src/views/Activate/ActivatePassport.js+4−6
This diff is too big to show here.
src/views/CancelTransfer.js+1−2
This diff is too big to show here.
src/views/CreateGalaxy.js+1−1
This diff is too big to show here.
src/views/Login.js → src/views/Login.tsxrenamed
The content is the same.
src/views/Login/Keystore.js+2−1
This diff is too big to show here.
src/views/Login/Ledger.js → src/views/Login/Ledger.tsxrenamed+5−5
This diff is too big to show here.
src/views/Login/Metamask.js+2−1
This diff is too big to show here.
src/views/Login/Mnemonic.js+2−1
This diff is too big to show here.
src/views/Login/PrivateKey.js+3−1
This diff is too big to show here.
src/views/Login/Ticket.js+2−1
This diff is too big to show here.
src/views/Login/Trezor.js → src/views/Login/Trezor.tsxrenamed+16−7
This diff is too big to show here.
This diff is too big to show here.
src/views/Release/Transfer.js+1−1
This diff is too big to show here.
src/views/UrbitID/ResetKeys/ResetExecute.js+1−1
This diff is too big to show here.
src/views/UrbitID/SetProxy.js+2−2
This diff is too big to show here.
src/views/UrbitOS/NetworkingKeys.js+1−1
This diff is too big to show here.
This diff is too big to show here.