Skip to content

[Due for payment 2025-02-18] NSQS Frontend components: Multi-connection selector #55495

@yuwenmemon

Description

@yuwenmemon

This all will be implemented behind the nsqs beta.


Tracking Issue: https://github.com/Expensify/Expensify/issues/446352

Design Doc Section: https://docs.google.com/document/d/18g8cUtqiSwJce2a42d7uU1dLmxz6hjfVf1bIXwyz4PY/edit?tab=t.0#heading=h.aiizwcyzx56i


Multi-connection selector

We will create a new RHP page called MultiConnectionSelectorPage that accepts a connection param (the designated connection) which will be used to get the linked connections. The linked connections are defined in CONST.ts as a map where the key is the connection and the value is its designated connection, e.g.: \

  • NetSuite -> NetSuite
  • NSQS -> NetSuite

The connection items will be rendered using MenuItemList.

Route: /settings/workspaces/{policyID}/accounting/{connectionName}/connection-selector

Example (netsuite): /settings/workspaces/{policyID}/accounting/netsuite/connection-selector

Connections page

When iterating the connections menu items, we will check if the connection has a designated connection and if it does we will only render the later. We will also modify the onPress callback so that it navigates to the multi connection selector page.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021881540230790232732
  • Upwork Job ID: 1881540230790232732
  • Last Price Increase: 2025-01-21
  • Automatic offers:
    • ikevin127 | Contributor | 105996584
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @s77rt

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.ReviewingHas a PR in reviewWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions