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

Fix UI failing silently if init package is not found #1014

Merged
merged 20 commits into from
Dec 1, 2022

Conversation

Noxsios
Copy link
Contributor

@Noxsios Noxsios commented Nov 15, 2022

Description

Fixes UI failing silently if init package is not found.

It is worth noting that this PR introduces some basic JSON error messaging to the API + JSON error message handling in the UI's http.ts.

Related Issue

Fixes #1013

Type of change

  • Bug fix (non-breaking change which fixes an issue)

src/internal/api/packages/find.go Outdated Show resolved Hide resolved
src/internal/api/packages/find.go Outdated Show resolved Hide resolved
Madeline-UX
Madeline-UX previously approved these changes Nov 18, 2022
@Noxsios Noxsios requested a review from YrrepNoj December 1, 2022 16:23
Copy link
Contributor

@YrrepNoj YrrepNoj left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@Noxsios Noxsios merged commit fb43507 into main Dec 1, 2022
@Noxsios Noxsios deleted the 1013-ui-fails-silently-when-init-package-is-not-found branch December 1, 2022 17:11
@Madeline-UX
Copy link
Contributor

@Noxsios I think it would be helpful to add pictures or a video to show any UI fixes

Noxsios added a commit that referenced this pull request Mar 8, 2023
## Description

Fixes UI failing silently if init package is not found.

It is worth noting that this PR introduces some basic JSON error
messaging to the API + JSON error message handling in the UI's
`http.ts`.

## Related Issue

<!--- This project prefers to accept pull requests related to open
issues -->
<!--- If suggesting a new feature or change, please discuss it in an
issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps
to reproduce -->

Fixes #1013 

## Type of change

<!-- Please delete options that are not relevant -->

- [X] Bug fix (non-breaking change which fixes an issue)
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.

UI fails silently when init package is not found
3 participants