-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert #52569 #54054
Comments
Current assignee @JmillsExpensify is eligible for the Bug assigner, not assigning anyone new. |
@JmillsExpensify The expectation is that we revert the PR, and then disable Approve button as well as Pay as a new requirement? Would it be a single PR or two PRs - one revert and then second to disable Approve? I can help with the review on this one if needed. |
@JmillsExpensify, @luacmartins Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I think we want to:
|
@mananjadhav you're welcome to work on the PRs too if you'd like |
Yes, I can pick this. |
Great! All yours ❤️ |
@mananjadhav how's this one going? Do you have an ETA for the PR? |
I am a bit sick, I'll have the Pr by tomorrow. |
Ah no worries. Hope you feel better soon. |
@JmillsExpensify, @mananjadhav, @luacmartins Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Apologies I was unwell. I am just getting back and will have this ready in 1-2 days. |
@JmillsExpensify @mananjadhav @luacmartins this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@JmillsExpensify, @mananjadhav, @luacmartins Huh... This is 4 days overdue. Who can take care of this? |
Will raise the PR today. |
I tried doing a straight revert and it didn't work. What I've done is reverted the changes of the props. We also added a prop for success style, do we want to revert that as well @luacmartins?
The current behavior is that the option is hidden. Are yo saying we want to add the option and keep it disabled? web-bulk-option-approval.mov |
@mananjadhav Do you need help reviewing the PR? |
Yes, let's remove the prop as well. We currently only seem to use it if there are held expenses, which is unnecessary now that we want to change that behavior to always show it in success style.
Yes, we should add the option to the dropdown and disable it if the user can't take the action |
@parasharrajat assigned you as C+. Thanks! |
@luacmartins @parasharrajat Two questions:
I think we should remove the web-dropdown-button-disabled.mov
|
I'm not sure. I think it'd make sense to disable the dropdown only if all options are disabled, not only the selected one.
Yes, I think we should do the same for all available bulk actions, i.e. |
Okay thanks for the clarification. |
@luacmartins I don't think Or are you suggesting we update the condition respective to the buttons? For example,
we remove |
Ah no, only Approve and Pay are affected by the holds. Ignore my previous comment |
@parasharrajat The PR in draft is ready for review. I still need to fix the lint issues and add screenshots. But it's in a shape to review. I am working at limited capacity today. |
Sure, I will take a look. Thanks |
@JmillsExpensify, @mananjadhav, @luacmartins, @parasharrajat Whoops! This issue is 2 days overdue. Let's get this updated quick! |
PR is in review. @mananjadhav Could you please mark this ready? |
@parasharrajat it seems like the PR is still in draft 🤔 Am I missing something? |
Ah just saw this comment above. Yea, let's address the failing checks and mark it as ready for review |
I am working on the checklist. There are too many lint errors. Trivial ones are fixed, but some would need more time to update methods and then test. |
@mananjadhav I think we can address the remaining ESLint errors in a follow up. They seem unrelated to your PR and some of them can get quite tricky. |
Okay, how do we then ignore these? Will it affect other PRs? Because otherwise the PR is ready, left with just screenshots. |
I think we can just merge it as is. It'll only affect other PRs touching those files. We should create a follow up PR to address those issues though, but I think it's cleaner that way to not distract from the main point of the current PR. |
After giving the solution in #52569 a try, we've realized that it creates a confusing situation in the Inbox, which is:
Approved
buttonSo in short, our solution for
approve
andpay
(specifically with a report that has some held expenses and some unheld expenses) ends up breaking GBR.As a result, we're going to revert the PR from #52569. That restores GBR to the
Inbox
and workspace chat. In addition, for the Search page specifically, we are going to disable theApprove
button for this case, just like we landed on doing forPay
.Issue Owner
Current Issue Owner: @mananjadhavThe text was updated successfully, but these errors were encountered: