Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Usability improvements (lesson quit warn dialog, keep screen awake, default single mode, etc) #20

Merged
merged 2 commits into from Sep 8, 2016

Conversation

Aralox
Copy link
Contributor

@Aralox Aralox commented Jul 31, 2016

Hi İhsan,
I've incorporated a few usability changes which makes the app a little more pleasant/efficient for me, and thought I'd share them. This is my first time forking and creating a pull request, so apologies if I screwed something up.

Here is a copy of my commit message:

  • Default 'single' mode selected.
  • Keep screen on during lessons and reviews.
  • Confirmation dialog if back button pressed during lessons.
  • Added ".?!" to banned characters in meaning textbox.
  • Rearranged dashboard, moved progress card up (so overall lesson progress can be seen without scrolling).
  • Updated build.gradle SDK version and tools from 23 to 24
  • Changed gradle version from 2.2.0-alpha2 to 2.0.0, because builds with the alpha version crashed for me.

An issue I would also really like to fix but cannot figure out how:

  • When I click on the 'notes' box in lessons/reviews, the internal browser resizes after the keyboard appears, causing the keyboard to disappear again. This makes it impossible to edit notes.

Please let me know if you have any ideas on how to approach that problem.

I know the situation is pretty bad over in Turkey right now (I'm in Australia), so don't stress about replying to this any time soon. I hope you and your family are alright.

Love,
Aralox

- Default 'single' mode selected.
- Keep screen on during lessons and reviews.
- Confirmation dialog if back button pressed during lessons.
- Added ".?!" to banned characters in meaning textbox.
- Rearranged dashboard, moved progress card up (so overall lesson progress can be seen without scrolling).
- Updated build.gradle SDK version and tools from 23 to 24
- Changed gradle version from 2.2.0-alpha2 to 2.0.0, because builds with the alpha version crashed for me.
…ton (little more convenient than moving hand over to press 'ignore' button on middle-left side of screen)
@xiprox
Copy link
Owner

xiprox commented Aug 5, 2016

Hello Aralox,

Thank you for taking the time to contribute.

Most of the changes you made are things I had thought would be cool to work on. I'll be further reviewing them when I'm able to and getting back to you.

And thank you, my family and I are fine so far.

@xiprox
Copy link
Owner

xiprox commented Sep 8, 2016

Thank you for the contribution once again!

You forgot to mention "backspace triggers ignore" though. That's a nice addition!

@Aralox
Copy link
Contributor Author

Aralox commented Sep 15, 2016

You're welcome! :)

There's only a couple more things that I really want to do before I'd be fully satisfied with the app, but am too busy with university at the moment. Two bugs I want to fix, really:

  • Crashing when loading review info in the home screen (I'd approach this by selectively disabling fragments to isolate the problem, but you might be able to pinpoint the source of the crashes much more easily)
  • The duplicate app bar. I asked a question about this on SO a while ago, but got the 'Tumbleweed' badge for it! XD

@xiprox
Copy link
Owner

xiprox commented Sep 15, 2016

For the first one, might you be talking about this? And it could be a good idea to create a new issue for further discussions.

As for the second one, I feel like not using a Toolbar might be the issue. Lemme look into the code real quick. Likewise, a separate issue would be nice. And good job with the tumbleweed! 😄

EDIT: Nope. We did switch to a Toolbar apparently, after all. Can you try making it extend AppCompatActivity instead?

@Aralox
Copy link
Contributor Author

Aralox commented Sep 16, 2016

For me, it crashes sometimes after reviews and sometimes when first opening the app. I only use a horizontal orientation, but maybe it's crashing for the same reason.
Thanks for having a look at the toolbar stuff, I'll definitely try your suggestion when I get back into this. I will be able to probably sometime in Decembe. (I'llalso try toput in theauto advance feature around the)
sorry if this message gets mangled, it came out pretty strange on my phone

@xiprox
Copy link
Owner

xiprox commented Sep 18, 2016

What does logcat say?

I see. I'll hopefully be able to do some touches by that time too.

And no issues. I got you.

@xiprox
Copy link
Owner

xiprox commented Jan 1, 2017

Hello, @Aralox. Just letting you know that I squashed double app bar stuff in 79fb614.

Also, you might want to mark the answer on SO as correct. 🙂

@Aralox
Copy link
Contributor Author

Aralox commented Jan 9, 2017

Hey İhsan, Thank you for fixing this and letting me know!
I haven't gotten back into this for a number of reasons, but am in the process of getting a new phone so I plan on picking this up again soon.
Thanks also for the heads up about the SO answer. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants