Skip to content
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

[HOLD for payment 2024-03-14] [Wave8] [Simplified Collect] Fetch collect workspace data when opening settings #36801

Closed
mountiny opened this issue Feb 19, 2024 · 17 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 NewFeature Something to build that is a new item.

Comments

@mountiny
Copy link
Contributor

mountiny commented Feb 19, 2024

Part of wave8 cc @luacmartins @trjExpensify

Problem

At the moment, we load category or tags data for a policy either:

  • on app start for your primary policy
  • or when workspace chat, expense report or transaction thread are open in OpenReport

This leaves us with with case when user can navigate to settings of a workspace they are admin of after signing i without navigating to any open report that would load the categories or tags. Since opening the category workspace page for example at the moment does not call any API command, we do not load the categories and for the user it looks like as if the workspace had no categories

Solution

Possible solution:
Create OpenWorkspaceCategoryPage and OpenWorkspaceTagsPage commands (similarly for other policy pages), that will be READ API commands fetching the workspace categories or tags respectively. These API commands would take policyID as param

@mountiny mountiny added Daily KSv2 NewFeature Something to build that is a new item. labels Feb 19, 2024
Copy link

melvin-bot bot commented Feb 19, 2024

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Feb 19, 2024
@mountiny
Copy link
Contributor Author

the solution still needs to be discussed

@luacmartins
Copy link
Contributor

Thanks for creating this! Seems like the proposed solution is the way to go here. Is there any other ongoing discussion?

@mountiny
Copy link
Contributor Author

Not in Slack, but I think it stemmed from this PR #36324 and testing

@luacmartins luacmartins self-assigned this Feb 19, 2024
@trjExpensify
Copy link
Contributor

What are the next steps here?

@luacmartins
Copy link
Contributor

I'll work on the PRs to implement OpenWorkspaceCategoryPage and OpenWorkspaceTagsPage similar to what we're proposing for Tags. So I think ideally we get approvals on that Tag doc and the way we should implement this, so we don't end up with different ways of fetching these policy fields

@trjExpensify trjExpensify moved this to Release 1: Ideal Nav & Collect Simplfied Profile, Members, Categories, Workflows (approvals) in [#whatsnext] Wave 08 - Collect Plan Admins Feb 28, 2024
@trjExpensify trjExpensify changed the title Fetch collect workspace data when opening settings [Wave8] [Simplified Collect] Fetch collect workspace data when opening settings Feb 28, 2024
@trjExpensify
Copy link
Contributor

@luacmartins can we get going on this with tags out the door?

@luacmartins
Copy link
Contributor

Yes, we got the PR to do this for tags merged yesterday. I'll get started on the other ones.

@luacmartins luacmartins added Daily KSv2 Reviewing Has a PR in review and removed Weekly KSv2 labels Feb 28, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Feb 28, 2024
@trjExpensify trjExpensify moved this from Polish to Release 1: Spring 2024 (May) in [#whatsnext] #wave-collect Mar 5, 2024
@melvin-bot melvin-bot bot removed the Weekly KSv2 label Mar 7, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production labels Mar 7, 2024
@melvin-bot melvin-bot bot changed the title [Wave8] [Simplified Collect] Fetch collect workspace data when opening settings [HOLD for payment 2024-03-14] [Wave8] [Simplified Collect] Fetch collect workspace data when opening settings Mar 7, 2024
Copy link

melvin-bot bot commented Mar 7, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 7, 2024
Copy link

melvin-bot bot commented Mar 7, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.48-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-03-14. 🎊

Copy link

melvin-bot bot commented Mar 7, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@luacmartins] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@trjExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 14, 2024
Copy link

melvin-bot bot commented Mar 14, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@trjExpensify
Copy link
Contributor

👋 Confirming we need to pay @s77rt for this PR review here do we?

@luacmartins
Copy link
Contributor

Yes! Assigned them to the issue

@trjExpensify
Copy link
Contributor

Offer sent!

@s77rt
Copy link
Contributor

s77rt commented Mar 15, 2024

Accepted! Thanks!

@trjExpensify
Copy link
Contributor

Paid!

@github-project-automation github-project-automation bot moved this from Release 1: Spring 2024 (May) to Done in [#whatsnext] #wave-collect Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 NewFeature Something to build that is a new item.
Projects
No open projects
Archived in project
Status: Release 1: Ideal Nav & Collect Simplfied Profile, Members, Categories, Workflows (approvals)
Development

No branches or pull requests

5 participants