-
-
Notifications
You must be signed in to change notification settings - Fork 13
Reply inline option #253
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
Reply inline option #253
Conversation
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.
Sorry I didn't get around to this till now. Just had three things I noticed:
- If the text you're replying to is too long, then the page overflows, so the reply screen probably needs to use a scroll view.
- Should we display the text as markdown, since the text could be from comments or microblogs?
- I'm not really sure what the best way to handle this one would be, but we should have the text editor take up more space height wise, since this external replying was supposed to provide a more comfortable replying experience, especially for longer comments (so people don't need to scroll as much to proofread).
Make reply content content markdown. Make reply input box fill remaining screen.
… just be fixed size.
This should have the markdown editor resize dynamically according to content. Had to emulate |
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.
I just tested it again. The non-inline reply editor seems good, but when I change the setting back to inline, and then go to the drafts tab and try to scroll, I get a bunch of errors like the following:
Another exception was thrown: The provided ScrollController is attached to more than one ScrollPosition.
Another exception was thrown: 'package:flutter/src/rendering/proxy_box.dart': Failed assertion: line 3047 pos 12: '!debugNeedsLayout': is
not true.
Ah that should be straightforward to fix. I ran into a similar error with the feed screen a while ago. I should be able to fix it on monday. |
It seems better, but the scrolling is super slow now on the drafts tab, and I get the following error:
|
It seems to be scrolling normally for me. I was able to reproduce the error though by trying to scroll really quickly, scrolling slowly doesn't trigger it. From what I can guess from the stack trace it happens when flutter attempts to run a hit test against the widget but the widget has already been scrolled out of view so the Since it seems to be an issue in flutter itself and it only occurs in debug builds I think it's safe to ignore that error. Not sure whats causing the slow scrolling though. |
Alright, just give me time to look at it again, and then I'll merge. |
Add setting to control whether reply controls are shown inline or on another screen.