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

Add terminal link component#1538

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
code-asher merged 2 commits intomainfromasher/terminal-link
May 18, 2022
Merged

Add terminal link component#1538

code-asher merged 2 commits intomainfromasher/terminal-link
May 18, 2022

Conversation

code-asher
Copy link
Member

@code-ashercode-asher commentedMay 17, 2022
edited
Loading

I am not sure if the component is overkill or not but if so maybe we can pull it out once the resource card is ready? But I could see it being used in multiple places. I did not do anything with the styling so it is just a plain link right now.

Partially addresses#760 (we just need to drop it into the resources card once it is good to go).

Other than that the terminal already supported connecting to a specific workspace agent using aworkspaceName.agentName syntax so all I had to do was fix a small bug with it (it only split it when fetching the agent and not when fetching the workspace so the workspace fetch would error; I just moved this logic out so it would apply to both calls).

The `workspace.agent` syntax was only used when fetching the agent andnot the workspace so it would try to fetch a workspace called`workspace.agent` instead of just `workspace`.
Currently it does not show anywhere but we can drop it into theresources card later.
Copy link
Member

@kylecarbskylecarbs left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me!

Copy link
Contributor

@greyscaledgreyscaled left a comment

Choose a reason for hiding this comment

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

This looks good!

@code-ashercode-asher marked this pull request as ready for reviewMay 18, 2022 15:40
@code-ashercode-asher requested review froma team andpresleyp ascode ownersMay 18, 2022 15:40
@code-ashercode-asher merged commite4e7e10 intomainMay 18, 2022
@code-ashercode-asher deleted the asher/terminal-link branchMay 18, 2022 15:54
kylecarbs pushed a commit that referenced this pull requestJun 10, 2022
* Fix not being able to specify agent when connecting to terminalThe `workspace.agent` syntax was only used when fetching the agent andnot the workspace so it would try to fetch a workspace called`workspace.agent` instead of just `workspace`.* Add terminal link componentCurrently it does not show anywhere but we can drop it into theresources card later.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@kylecarbskylecarbskylecarbs approved these changes

+2 more reviewers

@presleyppresleyppresleyp approved these changes

@greyscaledgreyscaledgreyscaled approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@code-asher@presleyp@kylecarbs@greyscaled

[8]ページ先頭

©2009-2025 Movatter.jp