-
-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
.service(userPath) | ||
.patch(Engine.instance.userID, { avatarId: avatarId }) | ||
.then(() => { | ||
dispatchAction( |
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.
I dont believe we really need both of these mechanisms. Can we just standardize on listenting for avatar id changes via the feather hooks?
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.
this action is what drives our event sourcing, thus it must be persisted to our cached actions
Engine.instance.api | ||
.service(avatarPath) | ||
.get(state.avatarID.value) | ||
.then((avatarDetails) => { | ||
if (aborted) return |
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.
We should be passing down a AbortSignal all the way to the fetch() request, so that network requests can be cancelled when they are no longer necessary
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.
yes, can do in a follow up when we have better tooling
Rework avatar loading to be safer by adding fallback to randomized avatars
Summary
🤖 Generated by Copilot at 57fb289
No summary available (Limit exceeded: required to process 53613 tokens, but only 50000 are allowed per call)
References
closes #8835
Explanation
🤖 Generated by Copilot at 57fb289
No walkthrough available (Limit exceeded: required to process 53613 tokens, but only 50000 are allowed per call)
🤖 Generated by Copilot at 273fe51
QA Steps
List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.
Checklist