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

@@ -1 +1 @@
6.25.0 6.25.1

View File

@@ -1,6 +1,6 @@
{ {
"name": "play-life-web", "name": "play-life-web",
"version": "6.25.0", "version": "6.25.1",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

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

View File

@@ -55,7 +55,14 @@ function BoardSelector({
onClick={() => setIsOpen(!isOpen)} onClick={() => setIsOpen(!isOpen)}
disabled={loading} 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 || 'Выберите доску')} {loading ? 'Загрузка...' : (selectedBoard?.name || 'Выберите доску')}
</span> </span>
{selectedBoard && ( {selectedBoard && (