дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
Adding projects to a workspace took one folder at a time. Choosing a folder that is not itself a project now scans below it, up to four levels and a shared entry budget, without following symlinks or descending into a project and skipping dependency, output and hidden directories. The projects found appear in a checklist with linked ones disabled; a folder with none is added as before. The scan is cancellable and runs in both the create and manage dialogs. Fixes #2102
75 рядки
1.1 KiB
CSS
75 рядки
1.1 KiB
CSS
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding: 20px;
|
|
}
|
|
.field {
|
|
display: grid;
|
|
grid-template-columns: 80px 1fr;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
.row > input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-weight: 600;
|
|
}
|
|
.projects {
|
|
min-height: 130px;
|
|
max-height: 260px;
|
|
overflow: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-small);
|
|
}
|
|
.project {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 12px;
|
|
}
|
|
.project + .project {
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
.path {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
.path span {
|
|
color: var(--fg-muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.hint {
|
|
color: var(--fg-muted);
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
.projects > .hint {
|
|
padding: 16px;
|
|
}
|
|
.error {
|
|
color: var(--danger);
|
|
}
|
|
.candidate {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
overflow-wrap: anywhere;
|
|
}
|