Airtable extension for flexibly finding overlapping cohorts from people's time availability. Integrates with data from the time availability from.
The algorithm backing the cohort finding is a conversion of the problem into a Linear Programming (LP) form and then using the constraint solver GLPK.
- Airtable Blocks SDK
- React
- TailwindCSS
To start developing this extension:
- Clone this git repository
- Install Node.js
- Run
npm install
- Run
npm start
(for the '[local] Scheduling Extension' in the BlueDot Impact software AirTable account) - Load the relevant base, open the extensions panel, and click 'Edit extension'
- Paste in the URL output in the terminal
- Make changes to the code and see them reflected in the app!
If the changes don't appear to be updating the app, try clicking the extension name then 'Edit extension', then pasting in the server address printed to the console from step 4 (probably https://localhost:9000
).
Changes merged into the default branch will automatically be deployed. You can manually deploy new versions using npm run deploy
. If you get the error airtableApiBlockNotFound
, set up the block CLI with npx block set-api-key
with a personal access token.
If you want to install this on a new base see these instructions.