The plebbit challenge modal should have a Next button if there's another challenge to complete, or a Submit button if it is the last challenge.
The modal should also say x of 3 challenges if there are 3 challenges, to indicate the progress.
The challenge modal should also include information about the publication. For example it could say "Replying to " with some excerpt of the reply.content. Or "Voting on "<comment.title || comment.content>". Or "Posting in , etc.
This is what it looks like right now:
The background color should be white (or black in dark mode) to look more like the style of reddit modals like:
or:
The
ChallengeMessage
https://github.com/plebbit/plebbit-js#pubsub-message-types contains a fieldchallenges: Challenge[]
i.e. multiple challenges. Similar to how google captchas often have multiple captchas.The plebbit challenge modal should have a
Next
button if there's another challenge to complete, or aSubmit
button if it is the last challenge.The modal should also say x of 3 challenges if there are 3 challenges, to indicate the progress.
The challenge modal should also include information about the publication. For example it could say "Replying to" with some excerpt of the reply.content. Or "Voting on "<comment.title || comment.content>". Or "Posting in , etc.
The publication information is available as the second argument of onChallenge and onChallengeVerification https://github.com/plebbit/plebbit-js#challenge
For example on plebchan the challenge modal will look something like this: