Closed bolducp closed 7 years ago
@bolducp is this now waiting for a review?
@pollygee not quite, unfortunately :-( I ran into a bug that I've been having a hard time figuring out. I'd welcome help if anyone is able/willing. I'm sorry that it's taking so long. I should be able to spend some more time working on it once I'm back in town next weekend.
OK no pressure at all! Def never apologize!! I just wanted to check in :) @jgaskins any chance you're able to take a look and offer some help?
Absolutely. @bolducp What's the bug? Is it in the form submission?
@jgaskins, awesome. thanks! yeah, I was able to get it working so that you could add a new note from the directory page, but when I was trying to implement the same thing from the Check-In modal itself (I know it's not a great user experience to have a modal inside a modal anyway), it would work some times, but not consistently.
I ended up reverting some of the code, and I can't remember the exact state of what's pushed up now (that is, I can't remember exactly what's breaking at the moment), but if you would be able to glance that the current state of the PR and offer any advice, that'd be great. I've been out of town for the past two weeks, so it's been a bit since I've worked on it... I'm happy to also scrap what I've got and start from a new direction, if you think there's a more effective way to do it.
Sure, lemme give it a run and see what I can find.
@jgaskins great. thank you!
@bolducp Buttons within a form
have to opt out of form submission with type="button"
. I mean, you'd think you'd prefer to opt in with <button type="submit">
, but nope. The DOM API is kinda confusing a lot of the time. :-)
The weird part is that it looked like it was just closing the modal because the app loads too quickly. I had to open the JS console to check that it was actually doing a full page reload.
I've gone ahead and made that change and it doesn't submit the form anymore. Should be good. :-)
@jgaskins awesome. thanks so much! :-)
@bolducp is this PR ready to go now? Or is there still more to do?
@pollygee I think it should be good to go now, though there are definitely improvements that could be made. But after's Jamie's fix, I think the functionality should be working.
Thanks. So OK if I merge this branch and then as we see improvements that can be made we'll add tickets to work on later?
Yeah, that sounds good!
On Wed, Oct 11, 2017 at 7:46 PM, Polly Schandorf notifications@github.com wrote:
Thanks. So OK if I merge this branch and then as we see improvements that can be made we'll add tickets to work on later?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rubyforgood/pantry_scheduler/pull/108#issuecomment-335979840, or mute the thread https://github.com/notifications/unsubscribe-auth/ALK0rpL9QlHkPNYMNWGZwNuPIUmYm6S9ks5srVNugaJpZM4O1kAu .
-- www.paigebolduc.com
Can see & add notes from the dashboard Can see & add notes from the Client Form (in the dashboard and in the directory)
-- not quite ready for review; still an issue with adding notes from the Check In modal when accessed from the dashboard