Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Show the correct OID for revisions and tweak wording
Merged rudolfs opened 1 year ago
2 files changed +3 -3 08e32580 2a7c705e
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}