Separate connections per project (like DataGrip projects)

未关闭
#4,307 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@datlechin 已经在做这个了。

开始于 2026年11月20日。

  • #4376 来自 @datlechin —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
swift
领域
databases, desktop

调研方向

Start by reading the related workspace issues #2088 and #2217 and tracing how connections, search, Recent, saved queries, and history are stored and filtered. The issue proposes project profiles that isolate all of these, with a default profile, or a group-only filter that also affects search and Recent. Done means project data stays separated across the listed views and the default profile preserves existing behavior.

由索引模型根据 Issue 内容生成。

描述

enhancement
Problem

At work I'm on several projects at the same time, and each one has its own set of databases (dev, staging, prod). In DataGrip I keep one project per product, so when I'm working on project A I only see project A's data sources and consoles.

In TablePro it's all one list. I use groups and colors, which helps, but search and Recent still show everything, and I've come close to opening another project's prod DB by mistake more than once. Saved queries and history seem to be shared too, so they get mixed up pretty quickly.

To be clear, I don't mean "workspace" like in #2088 / #2217. I mean a way to keep one project's stuff apart from another's.

Proposed solution

Something like projects or profiles: pick one, and the connection list, search, Recent, saved queries and history only show what belongs to it. Keep a default one with everything so nothing changes for people who don't care about this.

If that's too big, even a "show only this group" toggle that also applies to search and Recent would solve most of it for me.

Alternatives considered

Groups + tag filter is what I do now. It's fine for organizing but it's just a filter, I still have to remember to set it, and it doesn't touch saved queries or history.

A separate macOS user per project would work, but that's way too much hassle.

Platform

macOS

Related database type

N/A / General

主要语言
Swift
星标
6.2k
派生
412
平均合并
7 小时 38 分钟
30 天内合并 PR
536

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TableProApp/TablePro 的其他 Issue

查看 TableProApp/TablePro 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。