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