Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Show the correct OID for revisions and tweak wording
Rūdolfs Ošiņš committed 1 year ago
commit 2a7c705e3c8002d1890b3c28c3945d59dd5c13cd
parent 08e32580f9ecb7b43a4ba099e7c77e874003170f
2 files changed +3 -3
modified src/components/PatchTimeline.svelte
@@ -118,7 +118,7 @@
          </div>
          <div class="wrapper">
            <NodeId {...authorForNodeId(op.author)} />
-
            <div>created a new revision <Id id={op.id} variant="oid" /></div>
+
            <div>created revision <Id id={op.id} variant="oid" /></div>
            <div title={absoluteTimestamp(op.timestamp)}>
              {formatTimestamp(op.timestamp)}
            </div>
modified src/components/Revision.svelte
@@ -254,9 +254,9 @@

<div class="txt-small patch-body">
  <CommentComponent
-
    caption="opened"
+
    caption={revision.id === patchId ? "opened patch" : "created revision"}
    {rid}
-
    id={patchId}
+
    id={revision.id}
    lastEdit={revision.description.length > 1
      ? revision.description.at(-1)
      : undefined}