Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Remove TODOs that have been done
Alexis Sellier committed 4 years ago
commit 163e1040688f086a7637675ba2ede6e198199e32
parent 30d969e3acec09f3428f36560ad5ef18ae0022d2
6 files changed +0 -10
modified src/App.svelte
@@ -1,5 +1,4 @@
<script lang="typescript">
-
  // TODO: Navigating directly to /vesting doesn't work.
  import { Router, Route } from "svelte-routing";
  import { getConfig } from '@app/config';
  import { session } from '@app/session';
modified src/Form.svelte
@@ -10,7 +10,6 @@

<script lang="typescript">
  import { createEventDispatcher } from 'svelte';
-
  import { link } from 'svelte-routing';
  import { capitalize, isUrl, isAddress } from '@app/utils';
  import Address from '@app/Address.svelte';
  import type { Config } from '@app/config';
modified src/Header.svelte
@@ -1,8 +1,5 @@
<script lang="typescript">
  // TODO: Shorten tx hash
-
  // TODO: Link to correct network on etherscan
-
  // TODO: There's a bug where sometimes on first load, the 'Connect' button
-
  //       won't display the address even though we're connected.
  import { link } from "svelte-routing";
  import { formatBalance, formatAddress } from "@app/utils";
  import { error, Failure } from '@app/error';
modified src/base/orgs/Index.svelte
@@ -5,7 +5,6 @@
  import Create from '@app/base/orgs/Create.svelte';
  import { Org } from '@app/base/orgs/Org';
  import type { Config } from '@app/config';
-
  import Error from '@app/Error.svelte';
  import Blockies from '@app/Blockies.svelte';
  import Loading from '@app/Loading.svelte';

modified src/base/registrations/New.svelte
@@ -1,6 +1,4 @@
<script lang="typescript">
-
  // TODO: Should check for availability here, before saying a name is available.
-
  // Perhaps the availability check should be moved out of the 'submit' step then.
  import { onMount } from 'svelte';
  import { navigate } from 'svelte-routing';
  import { formatAddress } from '@app/utils';
modified src/base/registrations/registrar.ts
@@ -1,5 +1,4 @@
// TODO: Show "look at your wallet" / "confirm tx" before state change.
-
// TODO: Two registration actions with same label
import { ethers } from 'ethers';
import { writable } from 'svelte/store';
import type { BigNumber } from 'ethers';
@@ -147,7 +146,6 @@ async function commit(commitment: string, fee: BigNumber, minAge: number, config
  await tx.wait(1);
  session.state.updateBalance(fee.mul(-1));

-
  // TODO: Getting "commitment too new"
  state.set(State.WaitingToRegister);
  await tx.wait(minAge + 1);
}