Closed theo-damiani closed 3 years ago
Tested it and it looks very nice!
One thing I noticed, when the panel is opened after clicking a task, it is not small on my emulator, it takes all the free space. There was also the idea of having the Todo go to the bottom when getting marked as done but I think it looks great as is.
Thanks, @VPellenc for the review! Normally the panel looks like this:
Could you confirm for me that you have the same thing? This is not a dialog so yes it was built to take a big part of the screen (the same as the recycler view).
Yes, I didn't implement the logic to move a task to the bottom when it is done, because I will prefer to implement this in a PR that takes care of all the sorting aspect of a task as it is quite the same thing.
Tested it and it looks very nice! One thing I noticed, when the panel is opened after clicking a task, it is not small on my emulator, it takes all the free space. There was also the idea of having the Todo go to the bottom when getting marked as done but I think it looks great as is.
Thanks, @VPellenc for the review! Normally the panel looks like this:
Could you confirm for me that you have the same thing? This is not a dialog so yes it was built to take a big part of the screen (the same as the recycler view).
Yes, I didn't implement the logic to move a task to the bottom when it is done, because I will prefer to implement this in a PR that takes care of all the sorting aspect of a task as it is quite the same thing.
Yes I have the same thing. It looks a bit weird with the empty space until the Delete button but it's definitely not a blocker. I could imagine it as an "extension" of an item in the recyclerView, where you can still see the other tasks around but I don't know how hard it would be to implement (if even possible). Either way I think it looks good enough for now.
Yes I have the same thing. It looks a bit weird with the empty space until the Delete button but it's definitely not a blocker. I could imagine it as an "extension" of an item in the recyclerView, where you can still see the other tasks around but I don't know how hard it would be to implement (if even possible). Either way I think it looks good enough for now.
I designed that way because I thought that we will have space to add more features: like add categories to a task, add a boolean to know if a task is important, ...
Is it okay if we merge this PR?
Yes I have the same thing. It looks a bit weird with the empty space until the Delete button but it's definitely not a blocker. I could imagine it as an "extension" of an item in the recyclerView, where you can still see the other tasks around but I don't know how hard it would be to implement (if even possible). Either way I think it looks good enough for now.
I designed that way because I thought that we will have space to add more features: like add categories to a task, add a boolean to know if a task is important, ...
Yeah I see in that case my alternative makes less sense
Is it okay if we merge this PR?
Good for me
Hey! So in this PR, I added the logic to manage the boolean Done of a task. I also refactor the way we delete/modify tasks because, in a previous way, there are a lot of problems when you scroll for example if you have a lot of tasks. And also now when you click on a task, it opens a small panel to update it. And so it will be easier to add features for the future. For example, I wanted to add a boolean "prioritize" so when a task has this flag it is displayed on the list selection view.
I also try to add design according to what Yago did.