Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.55k stars 2.89k forks source link

[HOLD Manual Requests][$1000] IOU Details page reload again after opening them same IOU #14399

Closed kavimuru closed 1 year ago

kavimuru commented 1 year ago

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Login with any account.
  2. Go to any report, try to tap any IOU to open IOU Detail page, after that go back.
  3. Swipe from bottom to make the app enter background mode, open the app again. Now tap to the same IOU that you tap before.
  4. Notice that IOU Detail page doesn't show loading for the first time and it reloads after that few seconds.

Expected Result:

After enter foreground mode and tap the IOU, IOU Detail page should show loading and load the IOU Detail.

Actual Result:

IOU Detail page doesn't show loading after bringing to foreground then after a brief moment loading indicator appears

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

Version Number: 1.2.56-0 Reproducible in staging?: y Reproducible in production?: y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos:

https://user-images.githubusercontent.com/43996225/213301802-066556e4-cf3d-452b-bd26-7e129b44e290.MP4

https://user-images.githubusercontent.com/43996225/213301972-b4b506b7-6015-4464-a95c-440725ed5d10.MP4

Expensify/Expensify Issue URL: Issue reported by: @hungvu193 Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1674042038386489

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f5892f51566457de
  • Upwork Job ID: 1615954837681774592
  • Last Price Increase: 2023-01-26
dangrous commented 1 year ago

Sorry for the delay, all! The backend PR is in review and should hopefully get pushed soon.

mollfpr commented 1 year ago

Heyy @dangrous, any update on the API PR?

dangrous commented 1 year ago

Hey! So it's merged, but not yet deployed on staging or production. Hopefully soon!

dangrous commented 1 year ago

On staging!

s77rt commented 1 year ago

Regarding the skeleton view, can anyone share how the skeleton view should look like? I'm having a trouble designing the skeleton view for IOUPreview since it contains a box that contains other boxes.

MelvinBot commented 1 year ago

Triggered auto assignment to @shawnborton (Design), see these Stack Overflow questions for more details.

shawnborton commented 1 year ago

Posted some ideas here, but something like this?

image
fedirjh commented 1 year ago

@shawnborton we are addressing this view

Screenshot 2023-02-08 at 12 22 34 AM
shawnborton commented 1 year ago

Ah, got it. @JmillsExpensify @trjExpensify thoughts on holding on this one since manual requests will change this view?

trjExpensify commented 1 year ago

Ah interesting one! We haven't considered adding a skeleton UI to a loading iouReport (or soon, expenseReport) in the RHP as part of manual requests, so won't we still have the same problem regardless of the redesign of the page? CC: @mountiny @Julesssss @luacmartins

shawnborton commented 1 year ago

For the detailed view, I suppose we could do something like this: image

Julesssss commented 1 year ago

so won't we have the same problem regardless of the redesign of the page

Yeah, I don't think it matters too much either way. But waiting for the page redesign would reduce the chance of any conflicts when we begin work on the changes. It's likely that the component structure will change, so it's a bit simpler to hold.

I love the IOUPreview skeleton mocks, we should open a similar issue for this addition too.

mountiny commented 1 year ago

+1 to hold and I like the mockup from Shawn ❤️

JmillsExpensify commented 1 year ago

+2 for hold on manual requests. On that note, I wonder if we should add a boiler plate bullet to the offline section of the design doc template, basically to help prompt people whether skeleton UI will be needed for their project.

JmillsExpensify commented 1 year ago

@tjferriss Tom and I will take this from you, if you don't mind, and we'll wrap it up in the Manual Requests project.

trjExpensify commented 1 year ago

Yeah, I don't think it matters too much either way. But waiting for the page redesign would reduce the chance of any conflicts when we begin work on the changes. It's likely that the component structure will change, so it's a bit simpler to hold.

Cool, fair enough. Works for me! 👍

trjExpensify commented 1 year ago

New feature then for the skelly UI?

dangrous commented 1 year ago

Ah okay cool - so to confirm, we're going to close this issue, and we'll revisit the details as part of Manual Requests?

If so, do we still pay out for reporting? I don't think we'd need any of the other jobs.

Just want to make sure we're on the same page!

trjExpensify commented 1 year ago

I think we keep this issue open and on hold for manual requests, then revisit to implement it. Payments will be handled after it's on prod.

JmillsExpensify commented 1 year ago

Totally, nothing to do for the time being. Let's keep it open and hold.

dangrous commented 1 year ago

Sounds good!

trjExpensify commented 1 year ago

On hold for manual requests. Going to pop it on monthly till' we're on the way with the implementation.

dangrous commented 1 year ago

Still on hold

dangrous commented 1 year ago

Still on hold, I think we will be able to open it up again soon though!

JmillsExpensify commented 1 year ago

Yes indeed! Several weeks at the least.

trjExpensify commented 1 year ago

@mountiny @Julesssss @JmillsExpensify how do we feel about this one now? We have the skeleton UI loading in the expense/iou report screen and the request detailed thread. One improvement might be to include the page header(s) in the skeleton UI, right now I think it's just the comment sections?

mountiny commented 1 year ago

Yes, but I think we should create a fresh issue for that one. This issue is about component we wont support anymore.

dangrous commented 1 year ago

Cool, so do we just close this out instead?

mountiny commented 1 year ago

I think we can, I am not even sure if we need the updated skeleton, ti would not work when using URL and fetching the data fresh as then we have no clue what type of a report we have so we could only potentially do this when navigating from within the app, but I dont think its something we have to focus on

dangrous commented 1 year ago

Okay I'll close this for now, and if we end up needing to reopen, we can do that.