-
Notifications
You must be signed in to change notification settings - Fork 36
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
Proposal: Use pre-commit hook for linting and prettier #38
Comments
I want to get everyone's thoughts on this before I go ahead and implement this. I am familiar with setting this up so let me know. The setup might be a bit complex with yarn workspaces but I think it's still possible, just gotta figure out to only trigger it for |
* improvement/husky: Configuring husky, close #38
This will be closed when the PR is merged. I have configured |
* Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com>
* add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * add prod details * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com>
* add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * add prod details * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com>
* Temp/release prep (#62) (#64) * add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * add prod details * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * feature/66 removed listing of complete bounties * allow more characters * allow more characters (#69) Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com>
* Temp/release prep (#62) (#64) * add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * add prod details * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * feature/66 removed listing of complete bounties * allow more characters (#69) Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com>
* add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab * Temp/resync branch (#65) * Temp/release prep (#62) (#64) * add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * add prod details * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * feature/66 removed listing of complete bounties * allow more characters * allow more characters (#69) Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * Temp/sync branches (#72) * Temp/release prep (#62) (#64) * add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * add prod details * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * feature/66 removed listing of complete bounties * allow more characters (#69) Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * Feature/fix qa envs (#76) * fix env variables * reference correct dev vs prod envs * add more specific entries * wip * set build ENV * cleanup * Feature/add metadata (#73) * add general high-level and bounty status queries for mongo shell (#78) * adjust hashID in embed (#77) * Update build system * enhance lint system by directly using ESLint * clean up codebase by explicitly naming variables * allow nodejs version greator than 14 * remove prettier since eslint --fix handles the formating * bug fixes Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com>
* Hotfix/fix embed post (#81) * add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab * Temp/resync branch (#65) * Temp/release prep (#62) (#64) * add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * add prod details * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * feature/66 removed listing of complete bounties * allow more characters * allow more characters (#69) Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * Temp/sync branches (#72) * Temp/release prep (#62) (#64) * add build-and-test github action * add test server heroku deploy * update action names * add pull request step for autodeploy * add changelog file * reference heroku api key * NextJS scaffolding to get the project started. (#10) * Update README.md * Scaffolding for initial project * Lint fixes * update deps and add jest unit * remove extra deploy step * move test to separate dir Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Update README.md (#11) Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> * add mongo directory and bboard_v1.json and update readme * update bountyCriteria field, remove publicAddress, and add bountyImage * Feature/mongo db integration (#14) * add environment files * add GET bountie API * fix linting issues * remove push github action * update heroku api key * add secret env * update secrets * add changelog entry * Feature/escrow contract (#15) * Update README.md * v0.1.0 escrow contract * gitignore merge * configure yarn workspaces * fix yarn lint command Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Brian Patino <patinobrian@gmail.com> * Issue-12:added uuid dependency for Bounty Resource Number creation (#13) * Issue-12:added uuid dependency for Bounty Resource Number creation * fix yarn.lock file Co-authored-by: Brian Patino <patinobrian@gmail.com> * Feature/netlify integration (#23) * add .toml to react-app * remove .github actions * add mongodb-client-encryption * add netlify status badge * add netlify and nextjs build configs * add bboard_v2.json withh mock data (#24) * add bboard_v2.json withh mock data * update CHANGELOG.md with description of mock json data * update changelog Co-authored-by: Brian Patino <patinobrian@gmail.com> * update data model to separate dao member from bounty card * add schema validation for mongo database with validation.js file * update validation.js to validate bountyCard schema for primary key fields * remove bounty from key fields of bboard_v3.json and validation.js * Feature/documentation readme update (#44) * update README.md with project overview, mvp description, and guidance for users * update creating a bounty section in readme * Front end mvp (#28) * Bounty board front end mvp * Fix node version error for deploy * Adding back eslintconfig in package.json * Fix for yarn version * reward option type fix * Configuring husky, close #38 * Making status optional for now * Updated [id]/index to display correct fields, and updated mongoose validation to be consistent with consense validation fields * Added [id]/edit conditional render to block edits on bounties that are not in draft state * refactored previous commit to be logically cleaner by using toLowerCase instead of explicitly checking cases * Small fix for default yarn lint command * Updating husky pre-commit * updated schema validation rules to be consistent with specification, plus requiring the status field. refactored variable names to pull from the correct form variable * Added bounty.status state permissions to delete permissions in [id]/index. Created 400 error page * Updating types and params * Updating bounty type * First attempt at single bounty filter * Refactored single bounty view * Starting filter and draft editing * Removing POST because it is out of scope * Yarn lock for react hook form * Change of schema from date to string Co-authored-by: Behold <Behold.3th@gmail.com> * fix netlify deployment (#50) * Initial chakra form implementation * Troubleshooting the issue with mongo * Troubleshooting the issue with mongo * Bounty form styling and api refactoring * Cleanup and removing features not needed in MVP * Updating bounty schema * Fixing missing package after merge * Form refactoring to use scale * Bounty props refactor and discord claim linking * add final bounties schema (#41) * add final bounties schema * update final.json according to final_validation.js * adjust to double value * address review comments * add postinstall step and remove 'guild' from 'guildName' * add postinstall step for husky * add precision field * change to scale * update to int * Feature/degen integration sync (#52) * add webhook integration * add build for qa env file * try different build * add root build:qa script * remove mongodb url credentials * manually add configs * move bounty publish to api * remove api console log * wait for publish bounty to finish * feature/54 refactored ? Get Help to Need Help? on buttons below filter * Added link functionality to Need Help? and Give us Feedback buttons in index.tsx under filter * feature/54: Removed use of anchor tag in ColorModeButton due to breaking change and refactored to wrap component in Filter/index.tsx with an accessible link. Refactored prev discord info work * Feature/54 netlify failed on linting error due to unused import. removed * Feature/allow open bounty edit (#57) * Feature/enhance toml env config (#58) * fix webhook post and add conditional logging * small fine tunning * Feature/53 Pagination (#59) * Implemented scrappy client side pagination. Button logic needs updating, as does button styling * feature/53: fixed buggy next page and previous page logic. Implemented an API route to get # bounties in the collection * feature/53: refactored onClick methods. Attempted to wire in Chakra, couldn't get onClick to fire. * feature/53: implemented chakra styling over html buttons w Zberwaldt ! * feature/53 hand merged in Oktal's refactoring of paginated bounties to make it a child component of Bounties and the use of Button rather than chakra.button. refactored math * update readme documentation with ux flow, and updated bot commands. (#51) * update readme documentation with ux flow, and work-in-prog update on bot commands * update README.md to change User Experience Flow and Bot Commands as suggested * add frontend flow to match bot/discord commands in README.md, link to Bounty Board Workflow Notion Page Co-authored-by: Brian <patinobrian@gmail.com> * Final front end tweaks (#61) * add prod details * Fix buttons missing once filters was removed (#63) * Fix buttons missing * Made buttons target new tab * Made buttons target new tab Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * feature/66 removed listing of complete bounties * allow more characters (#69) Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * Feature/fix qa envs (#76) * fix env variables * reference correct dev vs prod envs * add more specific entries * wip * set build ENV * cleanup * Feature/add metadata (#73) * add general high-level and bounty status queries for mongo shell (#78) * adjust hashID in embed (#77) * Update build system * enhance lint system by directly using ESLint * clean up codebase by explicitly naming variables * allow nodejs version greator than 14 * remove prettier since eslint --fix handles the formating * bug fixes Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com> * rename .env files * update .toml config * test production deployment in development * success revert * revert .env files * test prod secs again * wip * add github action workflow * add publish-dir * change publish dir * move dist folder * try netlify plugin * switch to production * add logging * return env * return build * use public env * try production * reference NEXT_PUBLIC_BUILD_ENV Co-authored-by: Oktal <81541283+Oktalize@users.noreply.github.com> Co-authored-by: John <50239591+Icedcool@users.noreply.github.com> Co-authored-by: paulapivat <paul.apivat@gmail.com> Co-authored-by: João Henrique Costa <joaoh9@pm.me> Co-authored-by: João Henrique Costa <28352619+joaoh9@users.noreply.github.com> Co-authored-by: Behold3th <85538143+Behold3th@users.noreply.github.com> Co-authored-by: @PaulApivat <4058461+PaulApivat@users.noreply.github.com> Co-authored-by: Behold <Behold.3th@gmail.com> Co-authored-by: Oktalize <oxta@protonmail.com>
Description
I am a big fan of consistency when working in a repo as a team. The biggest issue I run into is that sometimes people forget to lint & format before they make a commit, and they end up not finding out about their issues until they get to the PR. Also dealing with formatting changes (like tabs vs spaces), can make for some unnecessary merge changes.
Solution
Utilize the
husky
to implement apre-commit
hook to runtype-check
,lint
, andprettier
whenever a commit is made. This would prevent anyone from making a commit with bad code.Downside
You will hate yourself for not finding a silly type/linting error and having to fix it before your commit is made.
The text was updated successfully, but these errors were encountered: