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

feat(site): open dev container in vscode#17182

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
DanielleMaywood merged 3 commits intomainfromdm-open-devcontainer-vscode
Apr 3, 2025

Conversation

DanielleMaywood
Copy link
Contributor

@DanielleMaywoodDanielleMaywood commentedApr 1, 2025
edited
Loading

Closes#16426

Adds a new buttonVSCodeDevContainerButton for connecting to a dev container with VSCode.

bpmct reacted with heart emoji
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new VSCodeDevContainerButton component to open a dev container in VSCode, updates related storybook stories, and refactors existing components to pass the full agent object rather than just the agent name.

  • Added the VSCodeDevContainerButton component with variant selection for VSCode and VSCode Insiders.
  • Updated storybook stories for VSCodeDevContainerButton.
  • Refactored AgentRow and AgentDevcontainerCard to use an agent object and updated the related prop names accordingly.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
FileDescription
site/src/modules/resources/VSCodeDevContainerButton/VSCodeDevContainerButton.tsxNew component for opening dev containers in VSCode with variant selection.
site/src/modules/resources/VSCodeDevContainerButton/VSCodeDevContainerButton.stories.tsxAdded stories for displaying the new VSCodeDevContainerButton component.
site/src/modules/resources/AgentRow.tsxUpdated prop from agentName to agent to match the agent object structure.
site/src/modules/resources/AgentDevcontainerCard.tsxRefactored to use the agent object instead of a separate agentName prop.
site/src/modules/resources/AgentDevcontainerCard.stories.tsxUpdated stories to pass an agent object rather than an agent name string.
Comments suppressed due to low confidence (2)

site/src/modules/resources/AgentRow.tsx:292

  • Ensure that the receiving component and its prop types have been updated to accept the full agent object rather than just a string value. If not, update the component's prop definitions accordingly.
agent={agent}

site/src/modules/resources/AgentDevcontainerCard.tsx:61

  • Verify that the TerminalLink component's prop 'agentName' is correctly expecting a string derived from agent.name after the refactoring, or update its definition if necessary.
agentName={agent.name}

@DanielleMaywoodDanielleMaywoodforce-pushed thedm-open-devcontainer-vscode branch fromf4b6ac3 toa8d1d21CompareApril 2, 2025 08:22
@DanielleMaywoodDanielleMaywoodforce-pushed thedm-open-devcontainer-vscode branch froma8d1d21 tocaee9c0CompareApril 3, 2025 08:07
@DanielleMaywoodDanielleMaywood changed the titlefeat: open dev container in vscodefeat(site): open dev container in vscodeApr 3, 2025
@DanielleMaywoodDanielleMaywood marked this pull request as ready for reviewApril 3, 2025 08:08
Copy link
Member

@mtojekmtojek left a comment

Choose a reason for hiding this comment

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

Awesome! I haven't played with it, but it looks similarly to VSCodeDesktopButton 👍

@DanielleMaywoodDanielleMaywood merged commitab8c437 intomainApr 3, 2025
33 checks passed
@DanielleMaywoodDanielleMaywood deleted the dm-open-devcontainer-vscode branchApril 3, 2025 10:10
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 3, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

Copilot code reviewCopilotCopilot left review comments

@mtojekmtojekmtojek approved these changes

@BrunoQuaresmaBrunoQuaresmaAwaiting requested review from BrunoQuaresma

Assignees

@DanielleMaywoodDanielleMaywood

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

UI: Support "Open in VSCode" for devcontainers
2 participants
@DanielleMaywood@mtojek

[8]ページ先頭

©2009-2025 Movatter.jp