8000 chore(sql-editor): Update the editor copy for limited rows by Gilbert09 · Pull Request #33740 · PostHog/posthog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore(sql-editor): Update the editor copy for limited rows #33740

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

Merged
merged 1 commit into from
Jun 16, 2025

Conversation

Gilbert09
Copy link
Member
@Gilbert09 Gilbert09 commented Jun 16, 2025

Problem

  • The copy at the bottom of the editor is confusing - suggests we have pagination and not that the query is limited
image

Changes

  • Updated the copy to use rows instead of entries, made it clearer that there's no pagination but instead the query is limited
    • (the editor is the only component that uses this, so we can freely change it)

@Gilbert09 Gilbert09 requested a review from a team June 16, 2025 14:01
Copy link
Contributor
@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Updates the SQL editor's data loading text to improve clarity around query result limitations, replacing confusing pagination terminology with more accurate descriptions of row limits.

  • Replaced ambiguous 'entries' with 'rows' in LoadPreviewText component for more SQL-consistent terminology
  • Modified text to clarify when results are limited by query constraints rather than pagination
  • Enhanced user experience by making query limitations more explicit in the UI

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

Copy link
Contributor

Size Change: 0 B

Total Size: 2.57 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 2.57 MB

compressed-size-action

Copy link
Contributor

@rossgray rossgray left a comment

Choose a reason for hiding this comment

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

Much better than before, but in my opinion, if the query is not limited, displaying "Showing N rows" is still quite ambiguous (did the query return N rows or are you just choosing to show me N rows?). Maybe something like "N rows returned" or "Query returned N rows" might be clearer?

@Gilbert09
Copy link
Member Author

Yeah I hear you. I think that could be misleading also, "query returned" to me sounds like it's complete. Let's get this in, use it and see how it feels

@Gilbert09 Gilbert09 merged commit 1ec3b8b into master Jun 16, 2025
104 checks passed
@Gilbert09 Gilbert09 deleted the tom/limited-text branch June 16, 2025 14:44
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
0