Giter Club home page Giter Club logo

volunteer-dispatch's People

Contributors

ashryanbeats avatar bcosynot avatar belminf avatar bronzehedwick avatar covlllp avatar ktomanelli avatar mgboydcom avatar omardeleo avatar rudietuesdays avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

volunteer-dispatch's Issues

error: Error updating 'Tasks' column in request <request_id>: Insufficient permissions to create new select option ""Financial Assistance for Groceries""

Hello friends! I'm helping a West Philly mutual aid group transition their existing Google Form -> Google Sheet workflow to your Airtable/Slackbot setup. As a result of their already hefty request database, I don't think I can start fresh with your Airtable template. I copied a sample of their data over from Sheets to Airtable, and have been renaming their old/adding new columns to match your table's fields.

However, I am getting consistent Task errors when running make develop locally, as mentioned in the issue title. My Tasks column has options for:

Grocery shopping
Financial Assistance for Groceries
Picking up a prescription
Financial Assistance for Prescription
Transportation to/from a medical appointment
Dog walking
Loneliness

But the server consistently throws: Error updating 'Tasks' column in request <request_id>: Insufficient permissions to create new select option ""Financial Assistance for Groceries"". Any ideas why it would be trying to create a new select option? Also, I'm pretty sure it did create the new Financial Assistance... select options, b/c I think we copied your Airtable template over before you updated the Task wording. So the ones I manually added were the older wording, and your app was able to add the new ones.

I'm not sure what's wrong, but I think it's causing no tasks to be returned for a given request. Trying to track down why it's trying to create a new select option when that one now currently exists. Any guidance would be greatly appreciated. Thanks in advance.

bot.chat.postMessage will fail if message is longer than 3001 characters

If #18 is merged, it adds support for the "Anything else?" field. If a user really types a lot in that field and causes the total character count of the message passed to bot.chat.postMessage to go over 3001 characters, the API call will fail.

If we want to be safe, we should check character count of the entire message before making that call. If the char count is > 3001, we can substitute the anythingElse block content with "See Airtable for further notes from the requester", or something along those lines.

Empty duplicate of airtable base

Hi,
I'm working on some similar mutual aid efforts in Colorado. Someone from the group may have already reached out regarding this, but I was wondering if you could duplicate the airtable you're using so that I can test drive this node app. I think this is a useful workflow and we can contribute back to this app if we're both working off the same schema.

Error when calling `.map` on an undefined object

In index.js, we have this line:

const tasks = request.get('Tasks').map(Task.mapFromRawTask) || [];

If the user hasn't entered any primary tasks (items in the "Tasks" field of the form), that .map call will error out and prevent the record in Airtable from being processed. This is because it's calling .map on undefined.

Since we have a "Tasks - Other" field, presumably it's conceivable that a user would skip the primary tasks and manually enter one in the "Tasks - Other" field.

I can take this one, but don't want to mess up anything in the code's Airtable land if it's still in flux.

const tasks = request.get('Tasks').map(Task.mapFromRawTask) || [];

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.