Page MenuHomePhabricator

[web] Fix missing relationship buttons
ClosedPublic

Authored by inka on Apr 24 2024, 7:32 AM.
Tags
None
Referenced Files
F3753194: D11760.id39495.diff
Fri, Jan 10, 1:15 AM
F3752425: D11760.id39440.diff
Fri, Jan 10, 12:39 AM
F3747639: D11760.diff
Thu, Jan 9, 7:23 PM
Unknown Object (File)
Wed, Dec 25, 7:08 PM
Unknown Object (File)
Wed, Dec 25, 7:08 PM
Unknown Object (File)
Wed, Dec 25, 7:08 PM
Unknown Object (File)
Wed, Dec 25, 7:07 PM
Unknown Object (File)
Wed, Dec 25, 7:07 PM
Subscribers

Details

Summary

issue: ENG-7486
We might not have user infos in our UserStore, if we don't have any relationship with them. But we can extract them from the pending thread infos. useRelationshipPrompt takes pendingPersonalThreadUserInfo as an argument, and uses it if the user infos are indeed not present in the store.

Test Plan

Tested that the relationship buttons are present and work correctly

Diff Detail

Repository
rCOMM Comm
Branch
inka/may2
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka requested review of this revision.Apr 24 2024, 7:51 AM
web/chat/chat-message-list.react.js
322–325

Is there a risk in an index out-of-bounds error here?

Is native also affected by this bug?

This revision is now accepted and ready to land.Apr 25 2024, 7:17 AM

Is native also affected by this bug?

No, native handles this differently

This revision was automatically updated to reflect the committed changes.