Task
Update the Workflows page so the Gusto-specific logic introduced by the Gusto project works for any connected HR provider.
Files:
src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx — swap isGustoConnected for isAnyHRConnected; swap gustoMode for the per-provider mode returned by getHRApprovalMode(policy, connectionName). The "Configure via {{provider}}" link routes back to the HR page.
src/pages/workspace/workflows/approvals/WorkspaceWorkflowsApprovalsEditPage.tsx and WorkspaceWorkflowsApprovalsCreatePage.tsx — swap Gusto-specific guards for isAnyHRReadOnlyWorkflowMode(policy).
- Approval chain rows should show a "from {provider}" tag.
Dependencies: F1, F3, F4.
Issue Owner
Current Issue Owner: @bernhardoj
Task
Update the Workflows page so the Gusto-specific logic introduced by the Gusto project works for any connected HR provider.
Files:
src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx— swapisGustoConnectedforisAnyHRConnected; swapgustoModefor the per-provider mode returned bygetHRApprovalMode(policy, connectionName). The "Configure via {{provider}}" link routes back to the HR page.src/pages/workspace/workflows/approvals/WorkspaceWorkflowsApprovalsEditPage.tsxandWorkspaceWorkflowsApprovalsCreatePage.tsx— swap Gusto-specific guards forisAnyHRReadOnlyWorkflowMode(policy).Dependencies: F1, F3, F4.
Issue Owner
Current Issue Owner: @bernhardoj