Added template query buttons to SQL Console in Sync Diagnostics Client#862
Added template query buttons to SQL Console in Sync Diagnostics Client#862
Conversation
🦋 Changeset detectedLatest commit: 1e99902 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
I like the concept of template queries (at least for my own use, I'm often digging around in the various system tables when diagnosing issues). For new users, I'm thinking a bit of context about what those buttons are for could be useful. Perhaps a heading like this: Quick Queries Manual Query |
I like this. I added a Quick Queries heading and moved the documentation link under the heading instead of repeating it in each tooltip. I think we should keep the term “Queries” because it isn’t really a manual query. Clicking any of the template buttons automatically populates the input and runs it. |
|
Works on my side. What would be really cool is if we had a few template queries that are derived based on the schema/tables we deduce. Like a button for |
…query programmatically in SQLConsoleCore
I really like this idea. |
…ing layout and user experience.
joshuabrink
left a comment
There was a problem hiding this comment.
Tested this side. Everything looks good.
ps_oplog,ps_crud,ps_buckets,ps_untyped) with tooltips and docs links to both SQL consoles.SQLConsoleCoreto automatically discover and display database views. Users can now click on these views to run queries directly, enhancing the usability of the SQL console.Updated screenshot:
