-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Expandable Bottom Sheet 2 Electric Boogaloo #149
Expandable Bottom Sheet 2 Electric Boogaloo #149
Conversation
painterController.clear(); | ||
}, | ||
builder: (context, screenshotChild) { | ||
return CustomMultiChildLayout( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section has gotten huge-it'd probably be a good candidate for breaking out into a separate widget. I could add that to this PR or we could put it off to a future PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your call
I'll hopefully have some time over the next few days and test this more throughout. Thanks again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed all the comments!
Dragging seems to be broken on desktop. I haven't figured out why, though. On mobile it's really awesome. |
Hmm, let me see if I can figure it out on my end. On Windows? |
I've tried on a Mac, but Windows is probably also affected. Maybe also web? Also, I've just discovered another error: If the bottom sheet covers the whole screen and if you're then scrolling the text input to the top out of screen, you'll get a Also the bottom sheet needs to be closed before taking the screenshot, otherwise it doesn't work. |
As for desktop, I tried on Windows. The error should also exist for web. What's happening is Once the In the meantime, I propose the following: only allow the draggable sheet on mobile. We add a check somewhere where if it detects that the platform is not mobile and I'll look into the stack overflow and the screenshot issue now. |
All the errors should be resolved. Sorry this was initially so buggy, I was lot more thorough this round. The golden images are pretty badly garbled, I'm not sure what's going on there. Do you think you could take a crack at it? |
@@ -2,7 +2,7 @@ import 'package:feedback_gitlab/feedback_gitlab.dart'; | |||
import 'package:flutter/material.dart'; | |||
|
|||
void main() { | |||
runApp(const BetterFeedback(child: MyApp())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be reverted
See #154 for what was wrong with the golden images |
* s/getFeedback/feedbackBuilder/ * initial version * added background color back in * half fix keybaord * move padding logic outside of the layout * make padding not comically small * s/progress/animationProgress/ * center align controls and screenshot, fix keyboard behavior * make controls wrap instead of overflow * move sheet height into feedback theme * half done * remove import * mostly done * oh my god I think it's done * responded to review comments * fixed submit bug * resolved submit and fade bugs * fixed error on submit with keyboard up * fixed stack overflow
📜 Description
Replaces #89 as the latter was so out of date it was easier to start over than to merge.
I'm going to self-review this a bit, but I think it's ready to review and merge? It's dependent on #147 so that'll have to go in first.
💡 Motivation and Context
💚 How did you test it?
📝 Checklist
🔮 Next steps