feat(directory-picker): add selection actions for folders, add buttons for select all, deselect all, and select current folder (#2293)

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
Balázs Szücs
2026-01-18 18:31:04 -07:00
committed by GitHub
parent f1f16a98d8
commit 3b56294d1c
4 changed files with 115 additions and 9 deletions
@@ -651,7 +651,9 @@
gap: 0.5rem;
max-height: 400px;
overflow-y: auto;
overflow-x: hidden;
padding-right: 0.25rem;
width: 100%;
&::-webkit-scrollbar {
width: 6px;
@@ -685,6 +687,10 @@
border: 1px solid var(--border-color);
border-radius: 8px;
transition: all 0.3s ease;
width: 100%;
max-width: 100%;
overflow: hidden;
min-height: 70px;
&:hover {
border-color: var(--primary-color);
@@ -702,6 +708,7 @@
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
.folder-icon-wrapper {
display: flex;
@@ -711,6 +718,7 @@
height: 38px;
background: var(--overlay-background);
border-radius: 8px;
flex-shrink: 0;
.folder-icon {
font-size: 1.125rem;
@@ -741,8 +749,9 @@
flex: 1;
display: flex;
flex-direction: column;
gap: 0.25rem;
gap: 0.375rem;
min-width: 0;
overflow: hidden;
.folder-path {
font-size: 0.9rem;
@@ -751,6 +760,8 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
line-height: 1.3;
}
.folder-meta {
@@ -759,19 +770,27 @@
gap: 0.25rem;
font-size: 0.75rem;
color: var(--text-secondary-color);
line-height: 1.3;
i {
font-size: 0.6875rem;
flex-shrink: 0;
}
span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
flex: 1;
}
}
}
::ng-deep .p-button {
flex-shrink: 0;
}
@media (max-width: 640px) {
flex-direction: column;
align-items: flex-start;