Skip to content

With useNavigate, we can navigate through routes like /webapp, automatically using the correct domain. #46533

@aditya0yadav

Description

@aditya0yadav

Description

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.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected_version:3.0Issues Reported for 3.0area:UIRelated to UI/UX. For Frontend Developers.good first issuekind:featureFeature Requestspriority:lowBug with a simple workaround that would not block a release

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions