дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
feat(database): global data sources listed in every project (#1407)
Data sources can be made global (Global option in their properties): stored in data-sources.toml of the app data directory, listed in every project, with their saved passwords under an app-wide key that moves along when the scope changes. Fixes #1252
Цей коміт міститься в:
1 джерело
6d55eb4aa9
коміт
de0f9d6ecd
8 files changed
+185
-31
No files matched your search
@@ -432,6 +432,11 @@ export function DatabaseView() {
|
||||
</span>
|
||||
)}
|
||||
<span className={labelClass}>{label(n)}</span>
|
||||
{n.kind === "source" && n.source.global && (
|
||||
<span className={styles.treeDetail} title={tx("Available in all projects")}>
|
||||
{tx("global")}
|
||||
</span>
|
||||
)}
|
||||
{d && (
|
||||
<span
|
||||
className={
|
||||
|
||||
@@ -1069,6 +1069,10 @@ export function SourceDialog({
|
||||
</span>
|
||||
)}
|
||||
/>
|
||||
{/* IDEA's Make Global: stored with the IDE and listed in every project. */}
|
||||
<span title={tx("Available in all projects")}>
|
||||
<Checkbox checked={!!s.global} onChange={(global) => set({ global })} label="Global" />
|
||||
</span>
|
||||
</div>
|
||||
<span />
|
||||
{showComment ? (
|
||||
|
||||
Reference in new issue
Заблокувати користувача