-
Notifications
You must be signed in to change notification settings - Fork 165
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
fix(frontend): remove deleted message from store #1444
fix(frontend): remove deleted message from store #1444
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.
@josaphatim you only needed to make a call to store.removeRow('uid')
. I can't figure out why you needed all of the changes made.
@mercihabam store.removeRow was the easiest solution but its does not remove the message wherever it can be found. The message must also be removed in combined views. For you to understand you can go to everything page then memorize one message. Go to it’s respective inbox, open the message you memorized, Delete it then go back to everything page. Without Removing from combined views you Will see that the message is listed while deleted. |
Each page uses the same message storage class, so you can call |
Screen.Recording.2025-02-17.at.10.19.58.video-converter.com.1.movDo you see why it is necessary to remove in all combined views ? |
Sorry @josaphatim, I don't see anything that contradicts what I stated earlier. |
Did you see how many seconds it took to disappear? This is not user friendly that why I deleted it because before. User can interact (click on the email) while it is already deleted and this should never happen |
I'm trying my best to keep you in the context.
That does not justify all the changes you have made. Furthermore, I advocate for that action (removing the row from each possible page, as some pages reload noticeably slowly) not being necessary, since we have already identified that slowness as a performance issue—which I will personally address. |
If @mercihabam is going to address reloading of other page's stores to fix the performance issue then let's keep this PR simple and use only teh store.removeRow('uid') method... |
bc5c515
to
4ae608f
Compare
Sorry for the oversight, @josaphatim! This has already been addressed as part of the recent fixes I made. You can check it here. |
@mercihabam great! I I left a comment to the other #1443 |
Fixed showing a deleted message in next read message. And also deletes it in combined views.