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

Chore/improved error surfacing in sql editor #18327

Merged
merged 6 commits into from Oct 19, 2023

Conversation

joshenlim
Copy link
Member

@joshenlim joshenlim commented Oct 19, 2023

  • SQL editor will now show which line the error is at
  • Error line will be scrolled to and highlighted

@joshenlim joshenlim requested a review from a team as a code owner October 19, 2023 06:14
@vercel
Copy link

vercel bot commented Oct 19, 2023

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

Name Status Preview Comments Updated (UTC)
studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 19, 2023 6:55am
studio-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 19, 2023 6:55am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Oct 19, 2023 6:55am
studio-self-hosted ⬜️ Ignored (Inspect) Visit Preview Oct 19, 2023 6:55am
ui-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 19, 2023 6:55am
zone-www-dot-com ⬜️ Ignored (Inspect) Visit Preview Oct 19, 2023 6:55am

@notion-workspace
Copy link

Copy link
Member

@alaister alaister left a comment

Choose a reason for hiding this comment

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

Looking and working great! 🔥

Just a few small things:

joshenlim and others added 2 commits October 19, 2023 14:42
…Results.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Copy link
Member

@alaister alaister left a comment

Choose a reason for hiding this comment

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

LGTM!

@joshenlim joshenlim merged commit 651138a into master Oct 19, 2023
13 checks passed
@joshenlim joshenlim deleted the chore/improved-error-surfacing-in-sql-editor branch October 19, 2023 07:12
encima pushed a commit to faizanraso/supabase that referenced this pull request Jan 8, 2024
* Improved error surfacing for SQL editor

* Remove unnecessary style

* Improve logic

* Update studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* Add guard

* Update studio/components/interfaces/SQLEditor/SQLEditor.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
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.

None yet

2 participants