Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Use the ellipsis symbol consistently
Rūdolfs Ošiņš committed 3 years ago
commit 5cb733e73b0fee171ab621ade98bc4fef265fa78
parent c687c8d575b88ac2e7fc6ef2be7ee7bb701eacbc
11 files changed +17 -17
modified src/Connect.svelte
@@ -40,7 +40,7 @@
  disabled={connecting}
  waiting={connecting}>
  {#if connecting}
-
    Connecting...
+
    Connecting…
  {:else}
    {caption}
  {/if}
modified src/Search.spec.ts
@@ -8,7 +8,7 @@ describe("Logic", () => {
    cy.get("input").should(
      "have.attr",
      "placeholder",
-
      "Search a name or address...",
+
      "Search a name or address…",
    );
  });

modified src/Search.svelte
@@ -33,4 +33,4 @@
  type="text"
  bind:value={input}
  on:keydown={handleKeydown}
-
  placeholder="Search a name or address..." />
+
  placeholder="Search a name or address…" />
modified src/base/registrations/Submit.svelte
@@ -66,7 +66,7 @@

    <span slot="subtitle">
      {#if $state.connection === State.Connecting}
-
        Connecting...
+
        Connecting…
      {:else if $state.connection === State.SigningPermit}
        Approving registration fee. Please confirm in your wallet.
      {:else if $state.connection === State.SigningCommit}
modified src/base/registrations/Update.svelte
@@ -58,7 +58,7 @@
    {#if state.status === Status.Signing}
      <p>Please confirm the transaction in your wallet</p>
    {:else if state.status === Status.Pending}
-
      <p>Waiting for transaction to be processed...</p>
+
      <p>Waiting for transaction to be processed…</p>
    {:else if state.status === Status.Success}
      <p>Your registration was successfully updated.</p>
    {:else if state.status === Status.Failed}
modified src/base/registrations/View.svelte
@@ -72,7 +72,7 @@
        {
          name: "address",
          validate: "address",
-
          placeholder: "Ethereum address, eg. 0x4a9cf21...bc91",
+
          placeholder: "Ethereum address, eg. 0x4a9cf21…bc91",
          description:
            "The address this name resolves to. " +
            (reverseRecord
@@ -121,7 +121,7 @@
          name: "id",
          label: "Radicle",
          validate: "identity",
-
          placeholder: "Radicle URN, eg. rad:git:hnrkqdpm9ub19oc8d...",
+
          placeholder: "Radicle URN, eg. rad:git:hnrkqdpm9ub19oc8d…",
          description: "The local radicle identity associated with this name.",
          value: r.profile.id,
          editable: true,
@@ -143,7 +143,7 @@
          name: "seed.id",
          label: "Seed ID",
          validate: "id",
-
          placeholder: "hynkyndc6w3p8urucakobzncqny7xxtw88...",
+
          placeholder: "hynkyndc6w3p8urucakobzncqny7xxtw88…",
          description:
            "The Device ID of a Radicle Link node that hosts entities associated with this name.",
          value: r.profile.seed?.id,
@@ -153,10 +153,10 @@
          name: "anchors",
          label: "Anchors",
          validate: "URN",
-
          placeholder: "URN, eg. eip155:1:0x4a9cf21...",
+
          placeholder: "URN, eg. eip155:1:0x4a9cf21…",
          description:
            "URN under which associated project anchors can be found. " +
-
            "To point to a Radicle org on Ethereum, use the CAIP-10 ID, eg. *eip155:1:0x4a9cf21...*",
+
            "To point to a Radicle org on Ethereum, use the CAIP-10 ID, eg. *eip155:1:0x4a9cf21…*",
          value: r.profile.anchorsAccount,
          editable: true,
        },
modified src/base/vesting/Index.svelte
@@ -118,11 +118,11 @@
          {#if isBeneficiary}
            {#if $state === State.WithdrawingSign}
              <Button disabled waiting={true} variant="primary">
-
                Waiting for signature...
+
                Waiting for signature…
              </Button>
            {:else if $state === State.Withdrawing}
              <Button disabled waiting={true} variant="primary">
-
                Withdrawing...
+
                Withdrawing…
              </Button>
            {:else if $state === State.Idle}
              <Button
modified src/components/TransferOwnership.svelte
@@ -125,7 +125,7 @@
      {#if state === State.Signing}
        Please confirm the transaction in your wallet.
      {:else if state === State.Pending}
-
        Waiting for transaction to be processed...
+
        Waiting for transaction to be processed…
      {:else if state === State.Proposing && org}
        Proposal is being submitted to the safe
        <span class="txt-bold">{formatAddress(org.owner)}</span>
modified src/ens/SetName.svelte
@@ -143,7 +143,7 @@
      {#if state === State.Signing}
        Please confirm the transaction in your wallet.
      {:else if state === State.Pending}
-
        Waiting for transaction to be processed...
+
        Waiting for transaction to be processed…
      {:else if state === State.Proposing && org}
        Proposal is being submitted
        <span class="txt-bold">{formatAddress(org.owner)}</span>
@@ -185,7 +185,7 @@
          on:click={onSubmit}
          disabled={!name || state !== State.Idle}>
          {#if state === State.Checking}
-
            Checking...
+
            Checking…
          {:else}
            Submit
          {/if}
modified src/utils.test.ts
@@ -120,7 +120,7 @@ describe("Format functions", () => {
  test.each([
    {
      hash: "0x8f918133b56bb85c18ea192549503f0ea59e3beb1f88023f442656c660018e3a",
-
      expected: "0x8f91...8e3a",
+
      expected: "0x8f91…8e3a",
    },
    { hash: "0x8f91813", expected: "0x8f91813" }, // If the string length is less than 10 characters the entire string is returned.
  ])("formatHash $hash => $expected", ({ hash, expected }) => {
modified src/utils.ts
@@ -180,7 +180,7 @@ export function formatIpfsFile(ipfs: string | undefined): string | undefined {
export function formatHash(hash: string): string {
  if (hash.length < 10) return hash;
  return (
-
    hash.substring(0, 6) + "..." + hash.substring(hash.length - 4, hash.length)
+
    hash.substring(0, 6) + "…" + hash.substring(hash.length - 4, hash.length)
  );
}