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

feat: playground error propagation #187

Merged
merged 6 commits into from
Jan 30, 2024

Conversation

axel7083
Copy link
Contributor

@axel7083 axel7083 commented Jan 30, 2024

Description

Propagate the http request error to the frontend so the user can have a "sense" of what is happening

podman-playground-error.mp4

The inProgress of the demo has been removed, it is not part of the PR as it was a test.

Related PR

Fixes #186

Testing

  • Write unit tests

@axel7083 axel7083 requested a review from feloy January 30, 2024 11:31
@axel7083 axel7083 self-assigned this Jan 30, 2024
@axel7083 axel7083 changed the title Feature/playground error propagation feat: playground error propagation Jan 30, 2024
@axel7083
Copy link
Contributor Author

cc @slemeur

packages/backend/src/managers/playground.ts Outdated Show resolved Hide resolved
packages/backend/src/managers/playground.ts Outdated Show resolved Hide resolved
packages/backend/src/managers/playground.ts Outdated Show resolved Hide resolved
@axel7083 axel7083 force-pushed the feature/playground-error-propagation branch from 6014b8f to a16bce8 Compare January 30, 2024 14:39
@axel7083 axel7083 requested a review from lstocchi January 30, 2024 14:40
@axel7083
Copy link
Contributor Author

Rebased after #197 merged

Copy link
Contributor

@lstocchi lstocchi left a comment

Choose a reason for hiding this comment

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

Code looks good. Giving a quick run

packages/backend/src/managers/playground.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@lstocchi lstocchi left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @axel7083 !! 🚀

@axel7083 axel7083 merged commit 29d869a into main Jan 30, 2024
3 checks passed
@axel7083 axel7083 deleted the feature/playground-error-propagation branch January 30, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

http request error with playground container should be handled
4 participants