Prefer the origin remote when preselecting GitHub imports in the dashboard modal.
- default the GitHub import modal to the origin remote when multiple remotes are available
- keep the remote picker unselected when multiple remotes exist without an origin entry
- expand dashboard tests to cover origin defaults for issues, pull requests, and mobile flows
Files changed:
.../dashboard/app/components/GitHubImportModal.tsx | 16 ++--
.../__tests__/GitHubImportModal.test.tsx | 95 ++++++++++++++++------
2 files changed, 77 insertions(+), 34 deletions(-)
Fusion-Task-Id: FN-6043
Fusion-Task-Lineage: b03b621d-757a-422c-b31c-ca0c34c3c168