6.25.1: Иконка архива в селекторе доски
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m9s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
poignatov
2026-03-19 20:20:37 +03:00
parent e8a766205f
commit 84b5aa9390
4 changed files with 19 additions and 3 deletions

View File

@@ -69,6 +69,15 @@
white-space: nowrap;
}
.board-label-archived {
color: #9ca3af;
}
.board-label-archive-icon {
flex-shrink: 0;
color: #9ca3af;
}
/* Иконка настроек/выхода внутри pill */
.pill-action-btn {
display: flex;

View File

@@ -55,7 +55,14 @@ function BoardSelector({
onClick={() => setIsOpen(!isOpen)}
disabled={loading}
>
<span className="board-label">
{!loading && selectedBoard?.is_archived && (
<svg className="board-label-archive-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
<polyline points="21 8 21 21 3 21 3 8"></polyline>
<rect x="1" y="3" width="22" height="5"></rect>
<line x1="10" y1="12" x2="14" y2="12"></line>
</svg>
)}
<span className={`board-label ${selectedBoard?.is_archived ? 'board-label-archived' : ''}`}>
{loading ? 'Загрузка...' : (selectedBoard?.name || 'Выберите доску')}
</span>
{selectedBoard && (