Closed lakchote closed 3 days ago
Job added to Upwork: https://www.upwork.com/jobs/~021836663116286679327
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (External
)
Add Onyx optimistic and failure data
The Save search button is not greyed out when offline, but instead takes you to the You appear to be offline page which is probably fine for now, but blocking the button tap would be the standard thing to do here I think!
The save search button is not disabled when we offline
Deleting a saved search has no offline feedback (I'd expect the deleted search to show up greyed out)
We can add disabled={isOffline}
for the save search button. Or if we want to create optimistic data and failure data for ONYXKEYS.SAVED_SEARCHES
with pendingAction
as add
here with key is queryJSON.hash
, name
is queryJSON.saveSearchName
and query
is queryJSON.inputQuery
. Then we can also add an error infailureData
to display the error
pendingAction
in optimistic data of this saved search as delete
and reset it in failureData and we can also add an error if the API failsThen we can add pendingAction
field as item.pendingAction
here. We can also add error
field to display the error and onPendingActionDismiss
to clear the error if we want
NA
Added @allroundexperts experts as the C+ since he's available now to review, to move this forward.
@nkdengineer's proposal looks good enough to me. I think we want to go with the optimistic data creation in this case. @lakchote can confirm this.
🎀 👀 🎀 C+ reviewed
Current assignee @lakchote is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.
Let's go with optimistic data creation, yes.
@nkdengineer's proposal LGTM.
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻 Keep in mind: Code of Conduct | Contributing 📖
@allroundexperts The PR is here.
This issue has not been updated in over 15 days. @lakchote, @luacmartins, @allroundexperts, @nkdengineer eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
@lakchote This issue is ready for payment.
Issue is ready for payment but no BZ is assigned. @johncschuster you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!
friendly bump @johncschuster, please process payment for @nkdengineer thanks!
Thanks for the bump! My bookmark for outstanding payments seems to not include the Awaiting payment
label. I'll take care of this now.
Payment has been issued. Thank you!
Are we good to close this issue now?
@johncschuster Can we please have a payment summary for this? Thanks!
See https://github.com/Expensify/App/pull/48566#issuecomment-2348617805
You should also optimistically display the saved search.
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinh