You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is important to prevent inconsistencies as well as typos that may lead to bugs! This app is also used by other mutual aids and having these keys in a centralized place makes it easy for them to adapt this app for their airtable, much like with string translations.
The text was updated successfully, but these errors were encountered:
Summary
We have a number of keys used to access Airtable objects that are hardcoded in the webapp. Example:
mutual-aid-app/src/webapp/components/RequestPopup.js
Line 62 in b02423c
We should replace this hardcoded keys with the centralized list of Airtable keys here:
mutual-aid-app/src/lib/airtable/tables/requests.js
Line 234 in b02423c
This should be importable from the webapp.
Bonus
Get ~airtable alias working within the webapp. I believe it's only possible to import via relative paths at the moment. This issue was faced here: https://github.com/crownheightsaid/mutual-aid-app/pull/104/files#r459213347
Why
This is important to prevent inconsistencies as well as typos that may lead to bugs! This app is also used by other mutual aids and having these keys in a centralized place makes it easy for them to adapt this app for their airtable, much like with string translations.
The text was updated successfully, but these errors were encountered: