-
-
Notifications
You must be signed in to change notification settings - Fork 310
feat: add study screen #1111
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
feat: add study screen #1111
Conversation
|
Love it! The UI is so simple yet intuitive, that's how it should be done imo. |
0b9f0a0 to
f68f8ae
Compare
|
(rebased against |
6c7ebf6 to
e0f356e
Compare
|
This looks great! Having the list of chapters come from a drawer could really improve it, freeing up more space for the chapter names. The dialogue section feels a bit cramped at the moment— The drawer gives it a bit more room and could make the content look less tight. Overall, it’s amazing work! 👏 |
Maybe we could simply display a full-screen dialog to free up as much space as possible for the chapter titles? |
@tom-anders Not sure how a full screen modal looks like. is this how it looks? (https://www.youtube.com/watch?v=8BkXiQD-zkU) |
|
In case you missed it @tom-anders , I think now you can rebase on main to avoid conflicts and make the build pass. |
e0f356e to
013adfe
Compare
|
Isn't it a bit weird to have the chapters on a different screen? Pushing a new screen to the stack and tap an item there to make a change on the screen below seems not very intuitive. It could also be a bottom sheet (like we have for settings). |
Will try out a bottom sheet later today 👍 |
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.
Looks very good! Excited to get this in the app :)
|
Thanks for the review! Moved chapters to a bottom sheet now: chapters.webm |
|
Thanks for the update @tom-anders ! Just quickly tested study feature and it seems collapsing variation is not working properly anymore: collapse_bug.mov |
e772f78 to
f6367ba
Compare
Oh, good catch, sorry about that! That's an interesting chain reaction actually :D I wanted to port a446352 to this PR, but in that commit I called the new variable |
|
Thanks for the fix! Now that I'm playing with the collapsing/expanding, I find it a little disturbing (I know I merge the PR that submitted the choice, in video it looked fine but I hadn't actually tested it). The "plus" and "minus" buttons are disappearing once they are tapped, which is not the best UX experience. In order to work, only one button is needed and it should stay at the same place, changing its appearance with the collapsed state. We can compare with a file explorer to have a good idea of what we should achieve: Enregistrement.de.l.ecran.2024-11-07.a.17.56.12.movIt would be great to have animation when expanding/collapsing. But the most important first is to get the buttons right. I wonder if I should revert the PR that introduces the minus button, or if we can solve this quickly? |
|
Hmm, might be not be a small fix, we'd have to change some logic of the |
|
Maybe we could even go full file Explorer mode? Have a Anyways, I'll revert the commit in this PR and keep you updated about this idea |
This reverts commit a562ae7.
|
(rebased to fix conflicts) |
71b303d to
00ef719
Compare
|
Thanks for the review again :) I rebased #1128 so it's ready for review now as well |
Feature set is the same as the old app for now, I'll add support for interactive studies in another PR.
Chat is also missing for now, I'll have to figure out how to use the websocket for that.
@veloce The build fails because this PR depends on some of the other study PRs, namely #1109 #1077 and #990. If you want to try out the whole feature, it's probably easiest to create a local branch based on this PR and then rebase it onto the other ones.
study_screen.webm