-
Notifications
You must be signed in to change notification settings - Fork 14
Use normalizedContextUrl #88
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
Conversation
This reverts commit 749f9f3.
|
It's hard to say it works with backward compatible (
cc @akosyakov |
| } | ||
| } catch (e) { | ||
| // ignore | ||
| return undefined; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it will be unexpected? probably better to log?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to add, but it seems needs HostService\LogService\TelemetryService here and change lots of files so that we can send exception. Maybe we will need inject in repo? I'd like to keep it and add TODO as it's right now.
cc @jeanp413 for Maybe we will need inject in repo? this question
|
@mustard-mh Why this got merged xD, workaround from Anton should be enough maybe some 💄 but we need to discuss with Sven or Gero first about fix in server side, personally I don't think raw workspace url should be exposed in public api |
|
I'll revert for now and we can fix properly after public api is updated |
|
yeah I see, I'm working on change that does not touch public api and instead normalizes on client side by removing prefix |
We already have this code in gitpod-protocol. Coudl we keep it in one place than implement a custom logic? That it is exactly the same logic as on the dashboard. I'm kind of confused what was wrong with Huiwen's PR 🤔 It seems to do the job already and aligned with other clients. |
it's using the
I took a look at it but it's buggy as it does not take into account |


Description
Related Issue(s)
Fixes #
How to test
Documentation
/hold