-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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: Fixing the user status change by app #28965
fix: Fixing the user status change by app #28965
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.
Can you please remove the & { statusDefault: string }
part from the fields
param in the update
function as well? It's very confusing and inaccurate, because the Apps-Engine will never send this property from the apps side
Codecov Report
@@ Coverage Diff @@
## release-6.2.0 #28965 +/- ##
=================================================
- Coverage 46.13% 46.04% -0.09%
=================================================
Files 728 728
Lines 14088 14088
Branches 2193 2193
=================================================
- Hits 6499 6487 -12
- Misses 7277 7289 +12
Partials 312 312
Flags with carried forward coverage won't be shown. Click here to find out more. |
fcba247
to
553f860
Compare
…-reactive-changing-by-app
Proposed changes (including videos or screenshots)
Fixing a bug in the app bridge where the user prop was not being considered on the user reactive change regarding the user status.
Issue(s)
The app bridge was not correctly handling changes to the user status when the user prop was updated. This led to inconsistencies in the app's UI, where the user status would not be properly reflected in certain cases.
To fix this issue, I updated the app bridge to properly consider changes to the user prop when handling user status changes. This ensures that the app's UI accurately reflects the user's current status at all times.
Steps to test or reproduce
Basically, you only need to create a simple app that changes the user status and status text by any trigger. Now the user status will change instantly.
Further comments