Skip to content

Commit 84ce538

Browse files
authored
fix: update pin status header and display a pin icon when pinned (#2206)
Closes #2195
1 parent 8395569 commit 84ce538

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

packages/website/pages/files.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ export default function Files({ user }) {
215215
</CopyButton>
216216
</td>
217217
<td data-label="Pin Status" className="">
218-
{nft.pin.status.charAt(0).toUpperCase() + nft.pin.status.slice(1)}
218+
{nft.pin.status.toLowerCase() === 'pinned' && '📌'}
219+
{nft.pin.status.toLowerCase() !== 'pinned' &&
220+
nft.pin.status.charAt(0).toUpperCase() + nft.pin.status.slice(1)}
219221
</td>
220222
<td data-label="Deals">
221223
<div className="leading-normal">
@@ -441,15 +443,18 @@ export default function Files({ user }) {
441443
</th>
442444
<th>
443445
<span aria-describedby="pin-status-tooltip">
444-
Pin Status
446+
Archived
445447
<Tooltip
446448
placement="top"
447449
overlay={
448450
<span>
449-
Reports the status of a file or piece of
450-
data stored on the IPFS Cluster. Status
451-
might not be fully up-to-date. Data is still
452-
available even when in Queued state.
451+
Indicates whether NFT.Storage received a
452+
complete graph of data (e.g., a full file).
453+
📌 indicates that NFT.Storage has
454+
successfully received your file, and your
455+
data is safely archived. If you
456+
intentionally uploaded an incomplete graph,
457+
ignore this column.
453458
</span>
454459
}
455460
overlayClassName="ns-tooltip"
307 KB
Loading

0 commit comments

Comments
 (0)