Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/gw redirect #1178

Merged
merged 5 commits into from
Sep 19, 2024
Merged

Feature/gw redirect #1178

merged 5 commits into from
Sep 19, 2024

Conversation

rustyjux
Copy link
Contributor

@rustyjux rustyjux commented Sep 13, 2024

Really glad I was forced to circle back on this. Much cleaner redirect implementation now using AuthProvider (which already had some logic to look if a page requires a namespace) alongside links.ts and doing away with NoGatewayRedirect. Less code, less weird pauses and jumpy redirects.

Keeps the toast on redirect.

Also used the updates to links.ts to add redirect from Your Products to My Gateways if no gateway selected. And cleaned up the conditional for showing the NamespaceMenu (dropdown selector).


🚀 Feature branch deployment: https://api-services-portal-feature-gw-redirect.apps.silver.devops.gov.bc.ca

@Elson9 Elson9 merged commit d6e85bb into dev Sep 19, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clicking on gateway list entry doesn't always redirect
2 participants