-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Airtable refactor, bug fixes, Auth overhaul (#48)
* Add material UI. Changing error states. * Error working, but working on better UI. * Update prettier rules to match clerk repo, and no longer conflict with VSCode format on save * Update packages - upgrade generator version * Update Airtable schema * Refactor MapScreen and related components * Refactor News and related components * Clean up AppNavigator.js * Refactor Resources * Replace getUser * Refactor Rewards and related components. - Deprecated: removed pull-to-refresh implementation to declutter the file. We can add it back from a different trigger if necessary. Removed deprecated props which were not being used in `RewardsHome` and `PointsHistory` components. - Cleanup: Made `Overline` components normally-cased (since the styled component uses `text-transform`) - Cleanup: Added `isLoading` to `DrawerContent` and `RewardsScreen`. This is probably the most crucial place to add a loading screen (@ace) imo; it's noticeably laggy here. * Use constants/Rewards.js for reward point value * Error working with both signup and login. Styling not done. * Overhaul Signup * Undo prettier width change and cleanup * Add workspace-specific shared settings (format and run eslint on save) * Update prettier config * Update prettier config and run prettier on all ours * Update schema with changed fields * Add workspace-specific color * Small fixes * Add back filter for Clerk Training, enforce ordering on location update and stores loading * Update login code * Bugfix * Remove .eslintignore * Bump version, run generator to update schema * Update schema again * Updated error message for login and added styling * Handle permissions on text change in Signup * Remove deprecated Airtable code in common.js * Support base change to development Airtable base * Add rewardDollarValue * Filter out clerk training in dev as well * Cleanup .env.example * Fix typo * Update login and logout * Remove permissions from state and calculate in render. Update SignUp so unable to submit twice * Update line widths * Display duplicate customer error Co-authored-by: Tommy Poa <[email protected]>
- Loading branch information
Showing
45 changed files
with
1,404 additions
and
3,304 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
AIRTABLE_BASE_ID='your-base-id-here' | ||
AIRTABLE_API_KEY='your-API-key-here' | ||
AIRTABLE_BASE_ID='appYfW7a2loPD26Vg' | ||
|
||
## Named to conform to airtable-schema-generator's expectations | ||
REACT_APP_AIRTABLE_API_KEY='YOUR-API-KEY-HERE' | ||
|
||
## Needed for airtable-schema-generator if using auto mode | ||
AIRTABLE_EMAIL='YOUR-EMAIL-HERE' | ||
AIRTABLE_PASSWORD='YOUR-PASSWORD-HERE' | ||
|
||
IMG_API_KEY='image-API-key-here' |
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
{ | ||
"files.associations": { | ||
"*.js": "javascriptreact" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
}, | ||
"eslint.enable": true, | ||
"eslint.options": { | ||
"extensions": [ | ||
".js", | ||
".jsx" | ||
] | ||
}, | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact" | ||
], | ||
"eslint.alwaysShowStatus": true, | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": true, | ||
"source.fixAll.eslint": true | ||
}, | ||
"javascript.suggest.completeFunctionCalls": true, | ||
"javascript.implicitProjectConfig.checkJs": true, | ||
} | ||
"files.associations": { | ||
"*.js": "javascriptreact" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"eslint.enable": true, | ||
"eslint.options": { | ||
"extensions": [".js", ".jsx"] | ||
}, | ||
"eslint.validate": ["javascript", "javascriptreact"], | ||
"eslint.alwaysShowStatus": true, | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": true, | ||
"source.fixAll.eslint": true | ||
}, | ||
"javascript.suggest.completeFunctionCalls": true, | ||
"javascript.implicitProjectConfig.checkJs": true | ||
} |
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
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
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
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
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
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
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
Oops, something went wrong.