-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Advanced approvals] Update pendingAction/pendingFields when making an action offline (create/edit/remove) #47701
Comments
Hey! I’m Błażej Kustra from Software Mansion, an expert agency, and I’d like to work on this issue! |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Current assignee @DylanDylann is eligible for the External assigner, not assigning anyone new. |
Hi @blazejkustra! It's all yours! |
Screen.Recording.2024-08-20.at.16.07.47.mov
Thoughts @tgolen @JmillsExpensify @DylanDylann? |
@blazejkustra When users take actions, they could update
And then when displaying the approval workflow, for each workflow
@blazejkustra What do you think about this approach? |
Thank you for the idea of how this could be implemented, this is definietly a way to go 👌 I think it may be a little overcomplicated, and I'm still not sure how important is it to show exactly what people were changed offline vs grey out the whole workflow. Waiting for input from others 🙇 |
I tend to agree with you, though I would say this is a low priority.
Are you asking in general? If so, if a user is offline we don't need to grey the whole section out, we only use the offline patterns to give feedback when changes are made (including changes that can only be made online, so they are blocked offline). |
@blazejkustra @JmillsExpensify What are we waiting for here? |
@DylanDylann I'll get to this one tomorrow, sorry 🙇 |
I tried it @DylanDylann here: #48082 and have to say that it sounds better/easier on paper 😢 This approach doesn't work well when removing members - we should grey out "expenses from", but there is no field we can base the logic on. The other thing is that when updating a workflow all members and approvers are sent to the backend (not only people who were updated, but all people involved in the workflow). All in all, I think it creates some weird looking offline states where only part of the workflow is greyed out instead of the whole section: Alternative approach is to grey out the whole workflow section in case any person was affected (added/updated/removed), I think this should be easier to code as well. Thoughts @DylanDylann? |
@DylanDylann I came up with this draft PR, here is a video of how it works with these changes: Screen.Recording.2024-08-27.at.15.34.27.movI'm open for your suggestions, but have in mind this issue has a low priority as Jason mentioned above. |
@blazejkustra Let's bring this to Slack. We need to confirm the approach before moving forward |
I moved the discussion to |
@DylanDylann PR is up 👍 |
Triggered auto assignment to @youssef-lr, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
This issue has not been updated in over 15 days. @youssef-lr, @blazejkustra, @DylanDylann 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! |
@Youssef-or Could you help process the payment here? |
Payment summary: Contributor+: @DylanDylann $250 via Upwork Please apply/request! |
@dylanexpensify I don't see any offer for this issue |
Ah automation failed, lemme whip one up! |
@dylanexpensify Have you got a chance to create the offer? Thanks 🙏 |
@dylanexpensify Bump on above comment |
Done! |
Coming from this project, we have this follow-up polish issue we need to complete where we update pendingAction and pendingFields when making an action offline. More details here.
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: