chore(cli): update cli monorepo template app descriptions

This commit is contained in:
cedoor
2024-02-02 14:32:33 +00:00
parent 5affa35b6c
commit cc6fa62895
3 changed files with 33 additions and 23 deletions

View File

@@ -67,7 +67,7 @@ export default function GroupsPage() {
if (response.status === 200) {
addUser(_identity.commitment.toString())
setLogs(`You joined the Feedback group event 🎉 Share your feedback anonymously!`)
setLogs(`You have joined the Feedback group event 🎉 Share your feedback anonymously!`)
} else {
setLogs("Some error occurred, please try again!")
}
@@ -82,22 +82,29 @@ export default function GroupsPage() {
<h2>Groups</h2>
<p>
Semaphore{" "}
<a
href="https://semaphore.pse.dev/docs/guides/groups"
href="https://docs.semaphore.pse.dev/guides/groups"
target="_blank"
rel="noreferrer noopener nofollow"
>
groups
Semaphore groups
</a>{" "}
are binary incremental Merkle trees in which each leaf contains an identity commitment for a user.
Groups can be abstracted to represent events, polls, or organizations.
are{" "}
<a
href="https://zkkit.pse.dev/classes/_zk_kit_imt.LeanIMT.html"
target="_blank"
rel="noreferrer noopener nofollow"
>
Lean incremental Merkle trees
</a>{" "}
in which each leaf contains an identity commitment for a user. Groups can be abstracted to represent
events, polls, or organizations.
</p>
<div className="divider"></div>
<div className="text-top">
<h3>Feedback users ({_users.length})</h3>
<h3>Group users ({_users.length})</h3>
<button className="button-link" onClick={refreshUsers}>
Refresh
</button>

View File

@@ -17,7 +17,7 @@ export default function IdentitiesPage() {
setIdentity(identity)
setLogs("Your Semaphore identity was retrieved from the browser cache 👌🏽")
setLogs("Your Semaphore identity has been retrieved from the browser cache 👌🏽")
} else {
setLogs("Create your Semaphore identity 👆🏽")
}
@@ -30,7 +30,7 @@ export default function IdentitiesPage() {
localStorage.setItem("identity", identity.privateKey.toString())
setLogs("Your new Semaphore identity was just created 🎉")
setLogs("Your new Semaphore identity has just been created 🎉")
}, [])
return (
@@ -38,21 +38,24 @@ export default function IdentitiesPage() {
<h2 className="font-size: 3rem;">Identities</h2>
<p>
Users interact with the protocol using a Semaphore{" "}
The identity of a user in the Semaphore protocol. A{" "}
<a
href="https://semaphore.pse.dev/docs/guides/identities"
href="https://docs.semaphore.pse.dev/guides/identities"
target="_blank"
rel="noreferrer noopener nofollow"
>
identity
Semaphore identity
</a>{" "}
(similar to Ethereum accounts). It contains three values:
consists of an{" "}
<a
href="https://github.com/privacy-scaling-explorations/zk-kit/tree/main/packages/eddsa-poseidon"
target="_blank"
rel="noreferrer noopener nofollow"
>
EdDSA
</a>{" "}
public/private key pair and a commitment, used as the public identifier of the identity.
</p>
<ol>
<li>Trapdoor: private, known only by user</li>
<li>Nullifier: private, known only by user</li>
<li>Commitment: public</li>
</ol>
<div className="divider"></div>

View File

@@ -95,7 +95,7 @@ export default function ProofsPage() {
if (response.status === 200) {
addFeedback(feedback)
setLogs(`Your feedback was posted 🎉`)
setLogs(`Your feedback has been posted 🎉`)
} else {
setLogs("Some error occurred, please try again!")
}
@@ -116,20 +116,20 @@ export default function ProofsPage() {
<p>
Semaphore members can anonymously{" "}
<a
href="https://semaphore.pse.dev/docs/guides/proofs"
href="https://docs.semaphore.pse.dev/guides/proofs"
target="_blank"
rel="noreferrer noopener nofollow"
>
prove
</a>{" "}
that they are part of a group and that they are generating their own signals. Signals could be anonymous
votes, leaks, reviews, or feedback.
that they are part of a group and send their anonymous messages. Messages could be votes, leaks,
reviews, or feedback.
</p>
<div className="divider"></div>
<div className="text-top">
<h3>Feedback signals ({_feedback.length})</h3>
<h3>Feedback messages ({_feedback.length})</h3>
<button className="button-link" onClick={refreshFeedback}>
Refresh
</button>