Skip to content

Commit 7494e00

Browse files
authored
Update wording for clarity
I tested it and the feature works fine in displaying comments that are the full 500 characters (scratch's project comment limit). The original wording, "view full comment" can then be considered confusing to the user, as they might think that the full comment isn't being displayed/is being cut off when it's just the context (replies + original message) that is missing.
1 parent 32b054f commit 7494e00

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

features/pin-comments/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default async function ({ feature, console }) {
7474

7575
let goToLink = document.createElement("a")
7676
goToLink.href = `https://scratch.mit.edu/projects/${pinned.projectId}/#comments-${pinned.commentId}`
77-
goToLink.textContent = "view full comment"
77+
goToLink.textContent = "view context"
7878
goTo.appendChild(goToLink)
7979

8080
list.parentElement.insertBefore(box, list)
@@ -162,4 +162,4 @@ export default async function ({ feature, console }) {
162162
}
163163
})
164164
}
165-
}
165+
}

0 commit comments

Comments
 (0)