Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix Coder connect workflows#2

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fioan89 merged 13 commits intomainfromfix-connection-issues
Feb 26, 2025
Merged

Fix Coder connect workflows#2

fioan89 merged 13 commits intomainfromfix-connection-issues
Feb 26, 2025

Conversation

fioan89
Copy link
Collaborator

  • fixes login screen and glitches related jumping to the workspaces page once the connection to Coder deployment is estabilished.
  • support for opening URLs in browser
  • fixes user agent reporting
  • fixes connection status rendering

- will also reflect on the jar/zip name
- copied from coder gateway plugin
- the API for browsing url(s) is no longer available- this patch implements a basic URL opener that  relies on native tools.
- if successfully signed in we go back to the  main page which shows the environments/workspaces- similar approach if user hits Cancel during sign in- `EnvironmentUiPageManager` is an undocumented Toolbox  component that has more flexibility to navigate between pages
- the connection status was unreadable due to the background  and foreground colors used. The latest Toolbox version  comes with standard color palettes that change based  on the theme and environment state.- plus some small extra refactorings that reduce the number  of constructor parameters and rely on the service locator
- url was not displayed in the env page until the rest  client was connected- but we don't need to wait for the rest client to connect,  the url is already available from settings
- Toolbox does not provide a plugin manager interface with metadata about current plugin.  So we had to implement one for ourselves in order to have simple things like plugin version.- the implementation relies on the extension.json which is deployed in the root of the  jar (i.e. the plugin jar)- the rest of the json fields are ignored for now
@fioan89fioan89 marked this pull request as ready for reviewFebruary 24, 2025 19:25
val dir= env.get("XDG_DATA_HOME")
if (dir.isNotBlank()) {
returnPaths.get(dir,"coder-gateway")
returnPaths.get(dir,"coder-toolbox")
Copy link
Member

Choose a reason for hiding this comment

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

I think we should drop the toolbox suffix here. There is nothing like a Coder toolbox. The coder is part of the JetBrains toolbox.

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

We can probably do it as long as we're sure we are not overlapping (now or in the future) with coder cli manually installed.

matifali reacted with thumbs up emoji
Copy link
Member

Choose a reason for hiding this comment

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

Hmm. I will then keep the prefix. I was not sure what it was for.
@bcpeinhardt and@f0ssel may have more context here,

Copy link
Member

@matifalimatifali left a comment

Choose a reason for hiding this comment

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

A general comment abut using the-toolbox suffix.
@bcpeinhardt can review the code better.

Copy link
Member

@matifalimatifali left a comment

Choose a reason for hiding this comment

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

@bcpeinhardt I am approving to unblock so that we can keep moving frward.

@fioan89fioan89 merged commit7f9e1b3 intomainFeb 26, 2025
@fioan89fioan89 deleted the fix-connection-issues branchFebruary 26, 2025 19:23
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@matifalimatifalimatifali approved these changes

@bcpeinhardtbcpeinhardtAwaiting requested review from bcpeinhardt

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@fioan89@matifali

[8]ページ先頭

©2009-2025 Movatter.jp