Hi @frankdugan3 ,
Thank you for your feedback.
The keyboard shortcut for running the query will be available in the next version of Lotus web. I already have it working in my current branch
You are right about the schemas. The Lotus backend supports Posgres schemas work but the Web has no way to cycle through them. If you only have a handful of schemas, you could do declare them as data_repos in config:
config :my_app, MyApp.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
port: 2346,
database: "my_app"
)
config :my_app, MyApp.Tenant1,
username: "postgres",
password: "postgres",
hostname: "localhost",
port: 2346,
database: "my_app",
parameters: [search_path: "tenant1"]
)
config :lotus,
ecto_repo: MyApp.Repo,
data_repos: %{
"main" => MyApp.Repo,
"tenant1" => MyApp.Tenant1
}
But I suppose this is not very convenient. I will see if I can find a better way to expose the various schemas in the UI.
Other items, like custom functions, views, etc. aren’t surfaced in the explorer
Do you have examples of thing you’d like to do?
In the next release autocompletion will give suggestions based on the current schema (the active/selected data source).
Can’t promise to have dark mode soon as I want to prioritise other features first. But I’m certainly not against implementing it.