New tabs without a connection and .sql files from disk
Maintainers usually reply within 1 day
@DokaDev is already working on this.
Since Nov 10, 2026.
Assessment
This issue has not been assessed yet.
Description
Summary
Start writing SQL without picking a connection first, and work with .sql files anywhere on disk.
Scope
In:
- A
+button at the end of the tab bar that opens a new console tab, plus a key and a:newcommand for the same. - The new tab follows the connection of the current tab; with none, it opens without a connection. A tab without a connection says so in its title, and running a statement asks for the connection first (as today).
- Open any
.sqlfile from disk (for example:e ~/work/query.sql), save back to it, and show unsaved changes in the tab title.
Out (for now): projects or folders of files, file watching.
Design notes
- No change to the safety model: nothing runs before a connection is chosen, and the usual checks apply when it runs.
- Workspace restore keeps such tabs (with their file path), as it does for consoles today.
Status
Backlog.
Plan history
- 2026-11-10: Issue opened.
- Dominant language
- Rust
- Stars
- 166
- Forks
- 8
- Avg merge
- 4h 24m
- Merged PRs (30d)
- 291
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from DokaDev/datarig
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
DokaDev/datarig#544 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 Half a day Newbie friendliness 55/100
Maintainers usually reply within 1 day
Similar issues
-
area:compat area:operations documentation ready-for-agent type:afk
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ZcashFoundation/zinder#552 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
storytold/vectorcraft#9229 ·
Maintainers usually reply within 1 day