Skip to content

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

@mountiny

Description

@mountiny

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2NewFeatureSomething to build that is a new item.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions