Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History Cleanup - Airtable 125 #457

Closed
wants to merge 3 commits into from
Closed

History Cleanup - Airtable 125 #457

wants to merge 3 commits into from

Conversation

jwu910
Copy link
Member

@jwu910 jwu910 commented May 5, 2020

Duplicate PR of #455 with history cleaned up.

Copy link
Member Author

@jwu910 jwu910 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thirdeyeclub I got the history cleaned up. Was able to pull out your original commit that somehow got merged into your merge commit. I squashed it with the later 2 commits you made and rebased on master.

Left a few comments here but i think there is a little more work for us to do before we continue. If it's easier for you feel free to pull this branch down and work off of this. Or just reset your branch to this sha. I can help you with that if you need just let me know.

In the mean time, we can see if anyone else has time to get some eyes on this, but there are some comments in the review and we may need to revisit some of the logic and reduce some of the wet code going into this component.

/CC: @utunga @mat10tng @qdozaq

src/app/dashboard/Missions/CreateMission.js Outdated Show resolved Hide resolved
src/app/dashboard/Missions/CreateMission.js Show resolved Hide resolved
src/app/dashboard/Missions/CreateMission.js Outdated Show resolved Hide resolved
</Select>
</FormControl>
{/* THIS PART SPAWNS BASED ON WHAT MISSION TYPE WAS SELECTED */}
{missionType === "food-box" ? (
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only have one type of mission right now, right? (@utunga).

If that is the case, we can just use this as a food box mission creation and omit the check for missionType. However, the variable can probably stay for now and leave it unused.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that is correct... but fwiw MissionType is an enum in the schema.ts somewhere

src/app/dashboard/Missions/CreateMission.js Outdated Show resolved Hide resolved
src/app/dashboard/Missions/CreateMission.js Outdated Show resolved Hide resolved
Comment on lines 268 to 275
<TextField
onChange={handleItems}
name={"amount for box " + index}
type="number"
variant="outlined"
className={classes.numSelector}
value={amount}
/>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to consult with design. Design showing this as as select with a dropdown, but the form here is a number input that lets the user enter in negative numbers.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't mention we'll want to know what the max # items an org can add with this.

Copy link
Contributor

@thirdeyeclub thirdeyeclub May 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a min, but for right now I think a max would be hard to find unless we had some hard data on how Organizations are gonna use our application and for what amount. I suspect it will be less than 100, but I think setting a max would be jumping the gun for now.

@jwu910 jwu910 requested review from mat10tng and qdozaq May 5, 2020 06:05
@mat10tng mat10tng mentioned this pull request May 5, 2020
@jwu910
Copy link
Member Author

jwu910 commented May 15, 2020

Is this stale?

@jwu910
Copy link
Member Author

jwu910 commented May 16, 2020

/CC: @thirdeyeclub

@thirdeyeclub
Copy link
Contributor

/CC: @thirdeyeclub

I will pull it again and check It was last time I checked

@thirdeyeclub
Copy link
Contributor

Is this stale?

Yes, but I had to update the routes and made a PR off this one so you wouldnt have to mege to your fork #549

@jwu910
Copy link
Member Author

jwu910 commented May 16, 2020

@thirdeyeclub can we close this then?

@jwu910 jwu910 closed this May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants