You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Contact methods - 'expensify.cash-25ffc67..." is created after logging back into the account #45266
@nkuoch I see you added getting the loginlist in Auth a couple weeks ago here.
It seems like that is most likely the cause of this issue as it seems like Login::getList is including these expensify.cash- logins. So we probably need to either filter them out after getting the results or write a different query that doesn't get these. What do you think?
Activity
melvin-bot commentedon Jul 11, 2024
Triggered auto assignment to @puneetlath (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.dominictb commentedon Jul 12, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
ContactMethodsPage, theloginListdata:App/src/pages/settings/Profile/Contacts/ContactMethodsPage.tsx
Lines 135 to 137 in 58e2575
contains the login data which has
partnerName: "chat-expensify-com"but we do not need it in this page.What changes do you think we should make in order to solve the problem?
We need to create a login list selector, that will remove that type of login data and use it in:
App/src/pages/settings/Profile/Contacts/ContactMethodsPage.tsx
Lines 135 to 137 in 58e2575
and the other similar cases.
The selector function is something like:
What alternative solutions did you explore? (Optional)
partnerName !== 'chat-expensify-com'to filter the login data. We can also usepartnerIDif this prop to filter.dominictb commentedon Jul 12, 2024
Proposal updated
rayane-d commentedon Jul 15, 2024
Happening to my account too
Julesssss commentedon Jul 15, 2024
Hey @RachCHopkins. tagging you here as you pointed out that this is occurring for real customers.
puneetlath commentedon Jul 16, 2024
Going to raise in Slack to find out what the expected behavior is here.
puneetlath commentedon Jul 17, 2024
@nkuoch I see you added getting the loginlist in Auth a couple weeks ago here.
It seems like that is most likely the cause of this issue as it seems like
Login::getListis including these expensify.cash- logins. So we probably need to either filter them out after getting the results or write a different query that doesn't get these. What do you think?melvin-bot commentedon Jul 24, 2024
@nkuoch Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
puneetlath commentedon Jul 24, 2024
Looks like the fix for this was merged and deployed. And it looks like it's working correctly. Thanks @nkuoch!