Skip to content

Conversation

@akosyakov
Copy link
Member

@akosyakov akosyakov commented Jan 19, 2023

Description

  • add docs and security notes
  • remove implementation methods from the interface
  • fix a regression with opening desktop IDEs on the workspace origin
  • allow to access the interface from other locations for the same workspace, i.e. for dev and debug modes

Changes are backward compatible and does not require coordinated deployment. But a follow up clean up PR is required after both supervisor and dashboard are deployed.

Related Issue(s)

Fixes #

How to test

Start a workspace with IntelliJ IDEA, check that you can open VS Code Browser and IntelliJ IDEA. While redirection got IntelliJ the origin should be gitpod, not workspace.

Release Notes

NONE

Documentation

Build Options:

  • /werft with-github-actions
    Experimental feature to run the build with GitHub Actions (and not in Werft).
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-ak-frontend-pollish.1 because the annotations in the pull request description changed
(with .werft/ from main)

- add docs and security notes
- remove imlementation methods from the interface
- fix a regression with opening desktop IDEs on the workspace origin
- allow to access the interface from other locations for the same workspace, i.e. for dev and debug modes
@akosyakov akosyakov force-pushed the ak/frontend_pollish branch from f8fd567 to 2534691 Compare January 19, 2023 14:00
@akosyakov akosyakov marked this pull request as ready for review January 19, 2023 19:24
@akosyakov akosyakov requested review from a team January 19, 2023 19:24
@github-actions github-actions bot added team: IDE team: webapp Issue belongs to the WebApp team labels Jan 19, 2023
Copy link
Member

@jeanp413 jeanp413 left a comment

Choose a reason for hiding this comment

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

Reviewed code and tested it 👍

Copy link
Contributor

@andrew-farries andrew-farries left a comment

Choose a reason for hiding this comment

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

👍 Added hold for a couple of questions. Feel free to remove.

title: "Open in Browser",
onClick: () => window.parent.postMessage({ type: "openBrowserIde" }, "*"),
onClick: () => {
// TODO(ak): delete after supervisor deploy
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this TODO intended to be left in place?

Copy link
Member Author

Choose a reason for hiding this comment

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

after both deployments, we will do another PR to clean up

return;
}

// TODO(ak) remove after new dashboard is deployed
Copy link
Contributor

Choose a reason for hiding this comment

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

Same question about the todo

@akosyakov
Copy link
Member Author

/unhold

@roboquat roboquat merged commit 674ad1c into main Jan 20, 2023
@roboquat roboquat deleted the ak/frontend_pollish branch January 20, 2023 10:12
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed: IDE IDE change is running in production deployed Change is completely running in production labels Jan 20, 2023
akosyakov added a commit that referenced this pull request Jan 26, 2023
removed unused code
roboquat pushed a commit that referenced this pull request Jan 30, 2023
removed unused code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deployed: IDE IDE change is running in production deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/L team: IDE team: webapp Issue belongs to the WebApp team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants