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

Better error highlighting #168

Merged
merged 6 commits into from
Apr 27, 2023
Merged

Better error highlighting #168

merged 6 commits into from
Apr 27, 2023

Conversation

gksander
Copy link
Contributor

This PR updates the playground to do a better job of error highlighting and jumping, to handle errors beyond just primitive leaf fields.

image

@vercel
Copy link

vercel bot commented Apr 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
groqd ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 27, 2023 9:43pm

<Split mode="vertical">
<Flex direction="column" style={{ maxHeight: 400 }}>
<Box marginY={3} paddingX={3}>
<Label muted>⚠️ Error</Label>
Copy link
Contributor

Choose a reason for hiding this comment

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

Not to be a nit, but isn't the ⚠️ more for warnings? Maybe a 🚫 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"Warning, there's an error" 😆

@gksander gksander merged commit 23d4ce9 into main Apr 27, 2023
@gksander gksander deleted the better-error-highlighting branch April 27, 2023 21:45
@github-actions github-actions bot mentioned this pull request Apr 27, 2023
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.

2 participants