Skip to content
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

Add story for ResourceActionButton #52886

Merged
merged 3 commits into from
Mar 7, 2025
Merged

Conversation

ravicious
Copy link
Member

This PR adds a story for ResourceActionButton that's similar to a story for action buttons in teleterm. The context is that I'm going to work on a modal for TCP apps that's shown when you try to connect to a TCP app from the Web UI, so I wanted to have an overview of how other buttons work.

stories

@ravicious ravicious added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v17 labels Mar 7, 2025
@github-actions github-actions bot requested review from avatus and gzdunek March 7, 2025 14:48
);
}

return context;
Copy link
Member Author

Choose a reason for hiding this comment

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

This change should not change the behavior of the hook. Previously if there was no context, the callsite would throw an error while trying to destructure the return value. Now the function itself is going to throw a more meaningful error.

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from gzdunek March 7, 2025 16:13
@ravicious ravicious added this pull request to the merge queue Mar 7, 2025
Merged via the queue into master with commit d8cbe57 Mar 7, 2025
43 checks passed
@ravicious ravicious deleted the r7s/action-button-story branch March 7, 2025 16:25
@public-teleport-github-review-bot

@ravicious See the table below for backport results.

Branch Result
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry size/md ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants