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

query dashboard/web UI project #28

Open
4 tasks
adamfoneil opened this issue Jul 18, 2022 · 0 comments
Open
4 tasks

query dashboard/web UI project #28

adamfoneil opened this issue Jul 18, 2022 · 0 comments

Comments

@adamfoneil
Copy link
Owner

adamfoneil commented Jul 18, 2022

It might be neat to have a Swagger-like feature that inspects all the Query<T>s in an assembly and presents them in a web UI. I imagine it would be done as a Razor Class Library.

This way, you could preview the data interactively without running your full application. There would need to be a way to set optional parameters. Table-valued params would be a really nice bonus. I've considered this as a Zinger feature as well, but this would be definitely web-based.

I think there should also be some param "productivity" features like definable dropdowns for FK parameters. I do this in SqlChartify for example, where you can associate a parameter (@clinicId for example) with a SELECT statement for populating the list of values that can go in that parameter.

I imagine something like this in startup:

app.UseQueryDashboard("/queries");
  • phase 1: RCL basics and query list page, no execution -- just present the queries in an assembly as a web page
  • phase 2: RCL NuGet package used in sample app with UseQueryDashboard method
  • phase 3: add params as plain text and allow query execution and viewing results
  • phase 4: rich param support
@adamfoneil adamfoneil changed the title new query dashboard project query dashboard project Jul 18, 2022
@adamfoneil adamfoneil changed the title query dashboard project query dashboard/web UI project Jul 18, 2022
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

No branches or pull requests

1 participant