Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add missing twemojis to commit components
Sebastian Martinez committed 3 years ago
commit b8ec63497b1977cf2d6fde198d96a79976866915
parent 3a352eab4c96cc6d91c4294ffed38f2b139f5ded
3 files changed +5 -5
modified src/base/projects/Blob.svelte
@@ -199,7 +199,7 @@
            </HeaderToggleLabel>
          </div>
        {/if}
-
        <div class="last-commit" title={lastCommit.author.name}>
+
        <div class="last-commit" title={lastCommit.author.name} use:twemoji>
          <span class="hash">{lastCommit.sha1.slice(0, 7)}</span>
          {lastCommit.summary}
        </div>
modified src/base/projects/Commit.svelte
@@ -1,7 +1,7 @@
<script lang="ts">
  import type { Commit } from "@app/commit";

-
  import { formatCommit } from "@app/utils";
+
  import { formatCommit, twemoji } from "@app/utils";

  import Changeset from "@app/base/projects/SourceBrowser/Changeset.svelte";
  import CommitAuthorship from "@app/base/projects/Commit/CommitAuthorship.svelte";
@@ -57,7 +57,7 @@
<div class="commit">
  <header>
    <div class="summary">
-
      <div class="txt-medium">{commit.header.summary}</div>
+
      <div class="txt-medium" use:twemoji>{commit.header.summary}</div>
      <div class="layout-desktop txt-monospace sha1">
        <span>{commit.header.sha1}</span>
      </div>
modified src/base/projects/Commit/CommitTeaser.svelte
@@ -1,6 +1,6 @@
<script lang="ts" strictEvents>
  import type { CommitMetadata } from "@app/commit";
-
  import { formatCommit } from "@app/utils";
+
  import { formatCommit, twemoji } from "@app/utils";
  import { createEventDispatcher } from "svelte";

  import Icon from "@app/Icon.svelte";
@@ -87,7 +87,7 @@
<div class="commit-teaser">
  <div class="column-left">
    <div class="header">
-
      <div class="summary">
+
      <div class="summary" use:twemoji>
        {commit.header.summary}
      </div>
    </div>