-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Notifications issues on mobile #2408
Comments
ObservationsI investigated this issue for some time and found out that this also happens in desktop browsers too. And this(notification displayed with missing data) seems to only happen when:
Possible causesFrom my investigation, It appears that the root-cause is that some sideEffects of 'chatroom.js' contracts are executed too soon before user-settings are fully loaded to the Vuex store. As you are aware too, there are multiple places in the source-code where the app uses eg1) group-income/frontend/model/contracts/chatroom.js Lines 323 to 328 in 3b142e9
eg2) group-income/frontend/controller/actions/chatroom.js Lines 17 to 25 in 3b142e9
and so on. But then what I've observed is these are executed before Lines 301 to 306 in 3b142e9
below is a devtool console.log screenshot showing So when we have It's not clear since when this has been the case as I'm not the expert in this area. What's your thoughts? Thanks, |
@SebinSong Thanks for having a look at this! You may be correct, but since you're unsure and because @corrideat is working on notifications related things anyway, I've gone ahead and reassigned him to this issue to have a look. Your investigation I'm sure will be useful to him, so thanks again for posting that! |
Problem
When I opened up the PWA on mobile I got this notification. But it's a message I DM'd to someone else, so I shouldn't be notified and also it shouldn't say "undefined":
Solution
The text was updated successfully, but these errors were encountered: