Open IuliiaHerets opened 1 week ago
Triggered auto assignment to @bfitzexpensify (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.
@bfitzexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
The submit to someone result is empty.
When we select submit to someone, it should show a user list. However, if the account doesn't have a distance P2P beta, then no user will be shown. (includeP2P is false) https://github.com/Expensify/App/blob/5d25b40eab1416d2d67624a376099853a2b6af86/src/pages/iou/request/MoneyRequestParticipantsSelector.tsx#L130
Hide the submit to someone button if the track is a distance and user/account doesn't have the distance P2P beta. https://github.com/Expensify/App/blob/5d25b40eab1416d2d67624a376099853a2b6af86/src/pages/home/report/ReportActionItem.tsx#L418-L455
const {canUseP2PDistanceRequests} = usePermissions();
const [isActionableTrackDistanceRequest] = useOnyx(
`${ONYXKEYS.COLLECTION.TRANSACTION}${ReportActionsUtils.isActionableTrackExpense(action) ? ReportActionsUtils.getOriginalMessage(action)?.transactionID : -1}`,
{selector: (transaction) => isDistanceRequest(transaction)},
)
...
if (ReportActionsUtils.isActionableTrackExpense(action)) {
const transactionID = ReportActionsUtils.getOriginalMessage(action)?.transactionID;
const actionableButtons = [
{
text: 'actionableMentionTrackExpense.categorize', ...,
}, ...
];
if (canUseP2PDistanceRequests || !isActionableTrackDistanceRequest) {
actionableButtons.unshift({
text: 'actionableMentionTrackExpense.submit',
key: `${action.reportActionID}-actionableMentionTrackExpense-submit`,
onPress: () => {
ReportUtils.createDraftTransactionAndNavigateToParticipantSelector(transactionID ?? '0', reportID, CONST.IOU.ACTION.SUBMIT, action.reportActionID);
},
isMediumSized: true,
});
}
return actionableButtons;
}
Job added to Upwork: https://www.upwork.com/jobs/~021844352786289436667
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ZhenjaHorbach (External
)
@bernhardoj Thanks for your proposal I will check today or tomorrow !
@bernhardoj Thanks for your proposal Actually your idea looks good But we need confirmation
@bfitzexpensify What do you think about idea that to hide the submit to someone button if the track is a distance and user/account doesn't have the distance P2P beta ?
@bfitzexpensify, @ZhenjaHorbach Eep! 4 days overdue now. Issues have feelings too...
@bfitzexpensify, @ZhenjaHorbach Huh... This is 4 days overdue. Who can take care of this?
@bfitzexpensify Friendly bump !
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.46-4 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): nathanmulugetatesting+1707@gmail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Users show up in the results
Actual Result:
No users show up and no results found is shown
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/589f2b74-2327-4007-96fd-c476054eb371
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ZhenjaHorbach