-
Notifications
You must be signed in to change notification settings - Fork 301
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
Paintroid 608, 609, 610 Created Landing Page with Projects List and Floating Action Buttons #1288
base: develop
Are you sure you want to change the base?
Conversation
A significant number of test cases FAIL due to Log:
|
Hello @Rd4dev , I tested the implemented functionalities and saw that sometimes the UI doesnt get updated correctly (e.g. when I delete a project or create one) I think changes to the database arent handled correctly yet in the UI. Also there are still some crashes happening which I encountered, while testing your implementation. (There might be more problems, but these are the ones that I managed to find while testing it) Some of the things that I noticed (Videos and Pictures): |
Hi @khalid-nasralla, thanks for the review and inclusion of detailed screenshots and videos, I'll look into the issues and push a fix ASAP! |
Hi @khalid-nasralla, following is a short description on few fixes I made to the project and would greatly appreciate any feedback. Here are the details of the fixes: Issue: 'Crash when deleting project' - Improper exchange of project ID Few other fixes were implemented to address various issues: Issue: UI not properly updated after updation of project Issue: Incomplete deletion of project - Only project from the database deleted Fix Requiring Feedback: Test Cases Added: Looking forward to receive any feedback and proceed accordingly |
Hey! Expected behaviour: Actual behaviour: Steps to reproduce:
Video: I only tested this on the emulator and I need to mention that I had to update the room version to run on macOS. Please check if you can reproduce this. |
Thanks @foenabua for bringing the bug to my attention. I'll look into it and try to get it fixed as soon as possible! |
@Rd4dev also please have a look at the last two Jenkins builds. There are some test cases that fail. They seem to still work locally but not on Jenkins. |
Hi @foenabua,
I would greatly appreciate any feedback or suggestions you may have. |
@Rd4dev sorry for the misunderstanding. I didn't mean that you should change the room version. I just mentioned it in case the bug that I encountered was just because of the version I was using if you couldn't reproduce the bug |
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.
Good Job 👍
Hey @Rd4dev I looked over the code and tested out the implementations and I think it is a huge improvement in terms of functionality since the last time I reviewed it. But there are still some small problems that I noticed which need to be fixed, for example: Tested on API 31,29,23:
MainActivity.kt:442 : if it is possible to remove the !!-operator and write it in another way, please do so because we try to avoid the "!!"-operator in production code. Using it in tests is fine though. |
Hi @khalid-nasralla , thanks for re-reviewing the code and providing all assets. I observed the problem occurring during my testing on API 23 in the latest commit, which led to the introduction of |
Hi @khalid-nasralla , As you mentioned, issue number 3 appeared to be the root cause of problems 1 and 2. When the back/home button is pressed, the activity is terminated, and the project list update occurs in real-time. To address this, I ensured that the activity is only finished after the project is saved by utilizing the existing |
I found another bug, please take a look. |
Thanks for the review @juliajulie95! I will look into the cause and provide a fix ASAP!! |
Hello @juliajulie95, it appears that the problem stems from the |
Kindly assign me this issue. |
PR Description
Jira Tickets
PAINTROID-608: Create Landing Page
PAINTROID-609: Floating action buttons for landing page
PAINTROID-610: Show all projects of the user in the landing page
Your checklist for this pull request
Please review the contributing guidelines and wiki pages of this repository.