-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add new pre-commit checks #70
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pattruong
added
build
dx
Developer Experience: improves our ability to work or collaborate
labels
Dec 12, 2020
✔️ Deploy preview for zen-yonath-8f6173 ready! 🔨 Explore the source changes: 499d2ec 🔍 Inspect the deploy logs: https://app.netlify.com/sites/zen-yonath-8f6173/deploys/5fd4463f31e892000729f495 😎 Browse the preview: https://deploy-preview-70--zen-yonath-8f6173.netlify.app |
m1771vw
added a commit
that referenced
this pull request
Dec 15, 2020
* Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com>
pattruong
added a commit
that referenced
this pull request
Dec 15, 2020
m1771vw
added a commit
that referenced
this pull request
Dec 15, 2020
* [WIP] Bean Review/BrewTrak Edit & Delete (#64) * Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com> * Ran prettier Co-authored-by: Patrick Truong <pattruong@gmail.com>
pattruong
added a commit
that referenced
this pull request
Jan 6, 2021
* [WIP] Bean Review/BrewTrak Edit & Delete (#64) * Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com> * Ran prettier * Refactoring and Cleaning up Code (#79) * Refactored CreateBrew and removed useBrewTrak * Deleted CreateCard and prettified some components * Refactored Bean Review. Removed useBeanReview hook. Updated some barista to display_name instead of displayName. * Removed sample details, combined two queries into one, refactored DIscoverBean, DiscoverDetails,DiscoverCard and removed unnecessary methods * Changed edit to use single query instead of two queries * Renamed data back to hormal naming convention and added barista id from auth context to create brew * Renamed BrewTrak Card&Recipe to BrewLogs for Clarity (#87) * Renaming recipe to brew logs for better clarity. Left recipe player "recipe"s unchanged. * Moved BrewTrak icons into a folder for slightly temp structure. Re-did some import statements * Delete BrewTrak/Beans (don't think anyone using anymore), renamed Card to BrewLog * urql graphcache (#83) * Add graphcache * update urql * Bump axios from 0.20.0 to 0.21.1 (#92) Bumps [axios](https://github.com/axios/axios) from 0.20.0 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md) - [Commits](axios/axios@v0.20.0...v0.21.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [WIP] Redirect after submit create/edit (#91) * Added redirects to CreateBrew/Recipe and Edit Recipe * Refactored Unselected brew log detail in component & corrected delete issue where data would be null * Refactored small line * Tailwind - remove now unnecessary default extractor (#94) * move build dependencies from dev to prod (#99) * update caniuse-lite Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pattruong
added a commit
that referenced
this pull request
Jan 20, 2021
* Stage -> Master (#95) * [WIP] Bean Review/BrewTrak Edit & Delete (#64) * Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com> * Ran prettier * Refactoring and Cleaning up Code (#79) * Refactored CreateBrew and removed useBrewTrak * Deleted CreateCard and prettified some components * Refactored Bean Review. Removed useBeanReview hook. Updated some barista to display_name instead of displayName. * Removed sample details, combined two queries into one, refactored DIscoverBean, DiscoverDetails,DiscoverCard and removed unnecessary methods * Changed edit to use single query instead of two queries * Renamed data back to hormal naming convention and added barista id from auth context to create brew * Renamed BrewTrak Card&Recipe to BrewLogs for Clarity (#87) * Renaming recipe to brew logs for better clarity. Left recipe player "recipe"s unchanged. * Moved BrewTrak icons into a folder for slightly temp structure. Re-did some import statements * Delete BrewTrak/Beans (don't think anyone using anymore), renamed Card to BrewLog * urql graphcache (#83) * Add graphcache * update urql * Bump axios from 0.20.0 to 0.21.1 (#92) Bumps [axios](https://github.com/axios/axios) from 0.20.0 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md) - [Commits](axios/axios@v0.20.0...v0.21.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [WIP] Redirect after submit create/edit (#91) * Added redirects to CreateBrew/Recipe and Edit Recipe * Refactored Unselected brew log detail in component & corrected delete issue where data would be null * Refactored small line * Tailwind - remove now unnecessary default extractor (#94) * move build dependencies from dev to prod (#99) * update caniuse-lite Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix low security vulnerability * Remove hook state management & rename PourGuide * remove unused progress bar comments * Update private to isPrivate due to Hasura change * move RecipePlayer to Player & update timer logic * add query and add hasura query for recipe player * move gif and add player components * delete play circle * Add icons and button components for player * Add pause, reset, start buttons * Update recipe start styling * update start styling * make timeline active with data from stages Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pattruong
added a commit
that referenced
this pull request
Jan 20, 2021
* [WIP] Bean Review/BrewTrak Edit & Delete (#64) * Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com> * Ran prettier * Refactoring and Cleaning up Code (#79) * Refactored CreateBrew and removed useBrewTrak * Deleted CreateCard and prettified some components * Refactored Bean Review. Removed useBeanReview hook. Updated some barista to display_name instead of displayName. * Removed sample details, combined two queries into one, refactored DIscoverBean, DiscoverDetails,DiscoverCard and removed unnecessary methods * Changed edit to use single query instead of two queries * Renamed data back to hormal naming convention and added barista id from auth context to create brew * Renamed BrewTrak Card&Recipe to BrewLogs for Clarity (#87) * Renaming recipe to brew logs for better clarity. Left recipe player "recipe"s unchanged. * Moved BrewTrak icons into a folder for slightly temp structure. Re-did some import statements * Delete BrewTrak/Beans (don't think anyone using anymore), renamed Card to BrewLog * urql graphcache (#83) * Add graphcache * update urql * Bump axios from 0.20.0 to 0.21.1 (#92) Bumps [axios](https://github.com/axios/axios) from 0.20.0 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md) - [Commits](axios/axios@v0.20.0...v0.21.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [WIP] Redirect after submit create/edit (#91) * Added redirects to CreateBrew/Recipe and Edit Recipe * Refactored Unselected brew log detail in component & corrected delete issue where data would be null * Refactored small line * Tailwind - remove now unnecessary default extractor (#94) * move build dependencies from dev to prod (#99) * update caniuse-lite * Recipe Player V2 (#103) * Stage -> Master (#95) * [WIP] Bean Review/BrewTrak Edit & Delete (#64) * Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com> * Ran prettier * Refactoring and Cleaning up Code (#79) * Refactored CreateBrew and removed useBrewTrak * Deleted CreateCard and prettified some components * Refactored Bean Review. Removed useBeanReview hook. Updated some barista to display_name instead of displayName. * Removed sample details, combined two queries into one, refactored DIscoverBean, DiscoverDetails,DiscoverCard and removed unnecessary methods * Changed edit to use single query instead of two queries * Renamed data back to hormal naming convention and added barista id from auth context to create brew * Renamed BrewTrak Card&Recipe to BrewLogs for Clarity (#87) * Renaming recipe to brew logs for better clarity. Left recipe player "recipe"s unchanged. * Moved BrewTrak icons into a folder for slightly temp structure. Re-did some import statements * Delete BrewTrak/Beans (don't think anyone using anymore), renamed Card to BrewLog * urql graphcache (#83) * Add graphcache * update urql * Bump axios from 0.20.0 to 0.21.1 (#92) Bumps [axios](https://github.com/axios/axios) from 0.20.0 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md) - [Commits](axios/axios@v0.20.0...v0.21.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [WIP] Redirect after submit create/edit (#91) * Added redirects to CreateBrew/Recipe and Edit Recipe * Refactored Unselected brew log detail in component & corrected delete issue where data would be null * Refactored small line * Tailwind - remove now unnecessary default extractor (#94) * move build dependencies from dev to prod (#99) * update caniuse-lite Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix low security vulnerability * Remove hook state management & rename PourGuide * remove unused progress bar comments * Update private to isPrivate due to Hasura change * move RecipePlayer to Player & update timer logic * add query and add hasura query for recipe player * move gif and add player components * delete play circle * Add icons and button components for player * Add pause, reset, start buttons * Update recipe start styling * update start styling * make timeline active with data from stages Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pattruong
added a commit
that referenced
this pull request
Jan 20, 2021
* [WIP] Bean Review/BrewTrak Edit & Delete (#64) * Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com> * Ran prettier * Refactoring and Cleaning up Code (#79) * Refactored CreateBrew and removed useBrewTrak * Deleted CreateCard and prettified some components * Refactored Bean Review. Removed useBeanReview hook. Updated some barista to display_name instead of displayName. * Removed sample details, combined two queries into one, refactored DIscoverBean, DiscoverDetails,DiscoverCard and removed unnecessary methods * Changed edit to use single query instead of two queries * Renamed data back to hormal naming convention and added barista id from auth context to create brew * Renamed BrewTrak Card&Recipe to BrewLogs for Clarity (#87) * Renaming recipe to brew logs for better clarity. Left recipe player "recipe"s unchanged. * Moved BrewTrak icons into a folder for slightly temp structure. Re-did some import statements * Delete BrewTrak/Beans (don't think anyone using anymore), renamed Card to BrewLog * urql graphcache (#83) * Add graphcache * update urql * Bump axios from 0.20.0 to 0.21.1 (#92) Bumps [axios](https://github.com/axios/axios) from 0.20.0 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md) - [Commits](axios/axios@v0.20.0...v0.21.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [WIP] Redirect after submit create/edit (#91) * Added redirects to CreateBrew/Recipe and Edit Recipe * Refactored Unselected brew log detail in component & corrected delete issue where data would be null * Refactored small line * Tailwind - remove now unnecessary default extractor (#94) * move build dependencies from dev to prod (#99) * update caniuse-lite * Recipe Player V2 (#103) * Stage -> Master (#95) * [WIP] Bean Review/BrewTrak Edit & Delete (#64) * Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com> * Ran prettier * Refactoring and Cleaning up Code (#79) * Refactored CreateBrew and removed useBrewTrak * Deleted CreateCard and prettified some components * Refactored Bean Review. Removed useBeanReview hook. Updated some barista to display_name instead of displayName. * Removed sample details, combined two queries into one, refactored DIscoverBean, DiscoverDetails,DiscoverCard and removed unnecessary methods * Changed edit to use single query instead of two queries * Renamed data back to hormal naming convention and added barista id from auth context to create brew * Renamed BrewTrak Card&Recipe to BrewLogs for Clarity (#87) * Renaming recipe to brew logs for better clarity. Left recipe player "recipe"s unchanged. * Moved BrewTrak icons into a folder for slightly temp structure. Re-did some import statements * Delete BrewTrak/Beans (don't think anyone using anymore), renamed Card to BrewLog * urql graphcache (#83) * Add graphcache * update urql * Bump axios from 0.20.0 to 0.21.1 (#92) Bumps [axios](https://github.com/axios/axios) from 0.20.0 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md) - [Commits](axios/axios@v0.20.0...v0.21.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [WIP] Redirect after submit create/edit (#91) * Added redirects to CreateBrew/Recipe and Edit Recipe * Refactored Unselected brew log detail in component & corrected delete issue where data would be null * Refactored small line * Tailwind - remove now unnecessary default extractor (#94) * move build dependencies from dev to prod (#99) * update caniuse-lite Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix low security vulnerability * Remove hook state management & rename PourGuide * remove unused progress bar comments * Update private to isPrivate due to Hasura change * move RecipePlayer to Player & update timer logic * add query and add hasura query for recipe player * move gif and add player components * delete play circle * Add icons and button components for player * Add pause, reset, start buttons * Update recipe start styling * update start styling * make timeline active with data from stages Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
pattruong
added a commit
that referenced
this pull request
Jan 23, 2021
* Stage -> Master (#107) * [WIP] Bean Review/BrewTrak Edit & Delete (#64) * Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com> * Ran prettier * Refactoring and Cleaning up Code (#79) * Refactored CreateBrew and removed useBrewTrak * Deleted CreateCard and prettified some components * Refactored Bean Review. Removed useBeanReview hook. Updated some barista to display_name instead of displayName. * Removed sample details, combined two queries into one, refactored DIscoverBean, DiscoverDetails,DiscoverCard and removed unnecessary methods * Changed edit to use single query instead of two queries * Renamed data back to hormal naming convention and added barista id from auth context to create brew * Renamed BrewTrak Card&Recipe to BrewLogs for Clarity (#87) * Renaming recipe to brew logs for better clarity. Left recipe player "recipe"s unchanged. * Moved BrewTrak icons into a folder for slightly temp structure. Re-did some import statements * Delete BrewTrak/Beans (don't think anyone using anymore), renamed Card to BrewLog * urql graphcache (#83) * Add graphcache * update urql * Bump axios from 0.20.0 to 0.21.1 (#92) Bumps [axios](https://github.com/axios/axios) from 0.20.0 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md) - [Commits](axios/axios@v0.20.0...v0.21.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [WIP] Redirect after submit create/edit (#91) * Added redirects to CreateBrew/Recipe and Edit Recipe * Refactored Unselected brew log detail in component & corrected delete issue where data would be null * Refactored small line * Tailwind - remove now unnecessary default extractor (#94) * move build dependencies from dev to prod (#99) * update caniuse-lite * Recipe Player V2 (#103) * Stage -> Master (#95) * [WIP] Bean Review/BrewTrak Edit & Delete (#64) * Added GraphQL Queries for GET/UPDATE recipe/review * Implemented Edit for BrewTrak recipe. Added buttons for edit as well. Added id as a parameter to search up by PK * Added delete functionality to brew trak recipes * Modified recipes to pull the bean_id instead of the bean_name * Added delete bean review capabilities * Quick commit, edit review page works with some bugs * Implemented Bean Review * Updated useUser to useAuth * Refactored EditBrew - Created Edit to hold edit state - Passing down brew trak log results through props to Edit component - Remove useEffect - Removed null check in card * Fix no-unused-var warnings * Update README.md Add production status * Add Prettier setup and run on project (#69) * Add prettier setup * run prettier on whole project * Add new pre-commit checks (#70) * Ran format on EditBrew (not official prettify). Renamed Edit to EditBrewForm. * Refactored EditReview * Updated UpdateReview GraphQL query to use input type * Refactored card props * Updated some queries from recipe -> brew log (still need to update in Hasura) * Refactored BrewTrak to use useQuery instead of passing down props for settingCardValues * Updated setState to use onChangeGenerator to fix two way binding * Updated cards to not fail if bean was not found Co-authored-by: Patrick Truong <pattruong@gmail.com> * Ran prettier * Refactoring and Cleaning up Code (#79) * Refactored CreateBrew and removed useBrewTrak * Deleted CreateCard and prettified some components * Refactored Bean Review. Removed useBeanReview hook. Updated some barista to display_name instead of displayName. * Removed sample details, combined two queries into one, refactored DIscoverBean, DiscoverDetails,DiscoverCard and removed unnecessary methods * Changed edit to use single query instead of two queries * Renamed data back to hormal naming convention and added barista id from auth context to create brew * Renamed BrewTrak Card&Recipe to BrewLogs for Clarity (#87) * Renaming recipe to brew logs for better clarity. Left recipe player "recipe"s unchanged. * Moved BrewTrak icons into a folder for slightly temp structure. Re-did some import statements * Delete BrewTrak/Beans (don't think anyone using anymore), renamed Card to BrewLog * urql graphcache (#83) * Add graphcache * update urql * Bump axios from 0.20.0 to 0.21.1 (#92) Bumps [axios](https://github.com/axios/axios) from 0.20.0 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md) - [Commits](axios/axios@v0.20.0...v0.21.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [WIP] Redirect after submit create/edit (#91) * Added redirects to CreateBrew/Recipe and Edit Recipe * Refactored Unselected brew log detail in component & corrected delete issue where data would be null * Refactored small line * Tailwind - remove now unnecessary default extractor (#94) * move build dependencies from dev to prod (#99) * update caniuse-lite Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix low security vulnerability * Remove hook state management & rename PourGuide * remove unused progress bar comments * Update private to isPrivate due to Hasura change * move RecipePlayer to Player & update timer logic * add query and add hasura query for recipe player * move gif and add player components * delete play circle * Add icons and button components for player * Add pause, reset, start buttons * Update recipe start styling * update start styling * make timeline active with data from stages Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add User Email Confirmation clientside change noLayout prop to defaultLayout Add query string parsing library Add verify endpoint Add custom styling props for loading component Add more customization props to Container Add Activate page for email confirmation Co-authored-by: William Yang <williamyang93@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
lint-staged
eslint
based on Create React App settings - thread & doceslint
setting to--max-warnings=0
so that you cannot commit unless you have no warnings (such as unused variables)