Include selected database in SQL editor URL
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 49.3k
- Forks
- 6.8k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 653
Description
My biggest use-case - by far - for Metabase is writing ad-hoc queries to our production database mirror.
To do so, I always take the following steps:
1. Open Metabase
2. Click on "New"
3. Select "SQL query"
4. Select the correct database
I would love for this to be one click to a bookmark.
I can manage to get to step 3 by copying the URL after selecting "SQL query", however it is very obscure and potentially not permanent. And more so, I cannot achieve the same for the entire process by copying the URL after selecting a database.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the SQL editor entry point and trace how the selected database is represented in the current URL after opening a SQL query. Define the URL behavior needed for a bookmark to restore both the SQL editor and the selected database, then verify that reopening the URL preserves that selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, sql
- Domain
- database, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100