Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(passport-gated): stamps as optional parameter #4279

Closed

Conversation

santteegt
Copy link
Contributor

Summary

Update passport-gated info/warning messages and initial parameter setup to cover the latest updates introduced in snapshot-labs/snapshot-strategies#1309

@vercel
Copy link

vercel bot commented Oct 11, 2023

@santteegt is attempting to deploy a commit to the snapshot Team on Vercel.

A member of the Team first needs to authorize it.

@santteegt
Copy link
Contributor Author

This is an open source contribution. I'd appreciate it if you guys add the hacktoberfest-accepted label to this PR

@samuveth samuveth closed this Oct 31, 2023
@ChaituVR
Copy link
Member

ChaituVR commented Nov 9, 2023

Why this is closed 🤔

@samuveth
Copy link
Contributor

Must have been a miss click

@samuveth samuveth reopened this Nov 10, 2023
@@ -741,7 +741,7 @@
"passport-gated": {
"label": "Gitcoin Passport gated",
"description": "Protect your space from spam by requiring users to have a Gitcoin Passport to create a proposal.",
"invalidMessage": "You need a Gitcoin Passport with score above {scoreThreshold} and {operator} of the following stamps to vote on this proposal: {stamps}. "
"invalidMessage": "You need a Gitcoin Passport with score above {scoreThreshold} and {operator} of the following stamps to create a proposal: {stamps}. "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this still be used inside proposal

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"invalidMessage": "You need a Gitcoin Passport with score above {scoreThreshold} and {operator} of the following stamps to create a proposal: {stamps}. "
"invalidMessage": "You need a Gitcoin Passport with a score above {scoreThreshold} and {operator} of the following stamps: {stamps}. "

Copy link

vercel bot commented Nov 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
snapshot ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2023 7:10am

@samuveth
Copy link
Contributor

Continued here as I couldn't edit this PR #4357

@samuveth samuveth closed this Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants