You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
With useNavigate, we can navigate through routes like /webapp, automatically using the correct domain. #46533
When running code in Gitpod, we encountered an issue.
For example, when clicking on "Check Out New UI," it redirects us to localhost:29091 instead of using the Gitpod port domain/route as expected
Use case/motivation
for easy traversing for url When running code in Gitpod, we face an issue where navigation does not use the correct domain.
What Would You Like to Happen?
Ensure navigation within the application correctly adapts to Gitpod's port-based domain instead of defaulting to localhost.
When using useNavigate, routes like /webapp should automatically use the Gitpod domain without requiring manual adjustments.
Improve the development experience by preventing incorrect redirects and ensuring seamless navigation.
changed the title [-]using useNavigate we can navigate through many route /webapp it will automatically use the domain ChatGPT said: Using useNavigate, we can navigate through multiple routes like /webapp, and it will automatically use the correct domain.[/-][+]With `useNavigate`, we can navigate through routes like `/webapp`, automatically using the correct domain.[/+]on Feb 6, 2025
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.
I took a brief look at this. The root cause seems to be in airflow-core/src/airflow/ui/src/main.tsx on this line params.set("next", globalThis.location.href) where it uses absolute url, but it should use a relative path. But I need Gitpod access which I don't want to set up, hence why I can't fully tackle this issue. Also the issue title is a bit vague for me, so maybe we can make that a bit more clear.
Activity
[-]using useNavigate we can navigate through many route /webapp it will automatically use the domain ChatGPT said: Using useNavigate, we can navigate through multiple routes like /webapp, and it will automatically use the correct domain.[/-][+]With `useNavigate`, we can navigate through routes like `/webapp`, automatically using the correct domain.[/+]potiuk commentedon Feb 6, 2025
Using Chat GPT to create issues. Be careful, It creates far too chatty issues.
potiuk commentedon Feb 6, 2025
But yes if you want to look at it - feel free.
potiuk commentedon Feb 6, 2025
assigned you
aditya0yadav commentedon Feb 6, 2025
Real version have a lot of alphabetical mistake
So I will be careful next time
Thanks
4 remaining items
potiuk commentedon Mar 2, 2026
@aditya0yadav We are unassigning you from this issue as part of our updated assignment policy.
This is not meant to discourage your contribution — quite the opposite! You are still very welcome to work on this issue and submit a PR for it. Simply comment that you are working on it and open a PR when ready.
We found that formal assignments were not working well, as they often prevented others from contributing when the assignee was not actively working on the issue.
dandanseo123 commentedon Apr 10, 2026
I took a brief look at this. The root cause seems to be in
airflow-core/src/airflow/ui/src/main.tsxon this lineparams.set("next", globalThis.location.href)where it uses absolute url, but it should use a relative path. But I need Gitpod access which I don't want to set up, hence why I can't fully tackle this issue. Also the issue title is a bit vague for me, so maybe we can make that a bit more clear.desusaiteja commentedon May 11, 2026
Opened a PR with a UI-only fix for this proxied login redirect issue.
UI: Preserve proxied URL on login redirect (#66690)
UI: Preserve proxied URL on login redirect (#66690) (#67091)
UI: Preserve proxied URL on login redirect (#66690) (#67091)
UI: Preserve proxied URL on login redirect (#66690) (#67091)
UI: Preserve proxied URL on login redirect (#66690) (#67091)