Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [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>
- Loading branch information