Skip to content

feat(hybrid-cloud): Add customer domain support to org switcher#40153

Merged
dashed merged 2 commits into
masterfrom
hybrid-cloud/customer-domains-org-switcher
Oct 19, 2022
Merged

feat(hybrid-cloud): Add customer domain support to org switcher#40153
dashed merged 2 commits into
masterfrom
hybrid-cloud/customer-domains-org-switcher

Conversation

@dashed

@dashed dashed commented Oct 17, 2022

Copy link
Copy Markdown
Member

This pull request adds customer domain support to the organization list switcher:

Screen Shot 2022-10-17 at 5 59 58 PM

@markstory markstory left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. We can always change the destination of the org-switcher separately.


const org2Link = screen.getByRole('link', {name: 'org2 Organization 2'});
expect(org2Link).toBeInTheDocument();
expect(org2Link).toHaveAttribute('href', '/organizations/org2/');

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we skip a redirect and have the org switcher go to /issues instead?

@dashed dashed force-pushed the hybrid-cloud/customer-domains-org-switcher branch from e53e97d to 837702a Compare October 19, 2022 20:38
@dashed dashed merged commit 9237c5f into master Oct 19, 2022
@dashed dashed deleted the hybrid-cloud/customer-domains-org-switcher branch October 19, 2022 21:20
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants