HEL-665: implement v5 creation hierarchy and project-bound agent drafts

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-15 00:33:26 +08:00
co-authored by multica-agent
parent 012a946f85
commit 35fd07af24
22 changed files with 2818 additions and 1082 deletions
@@ -176,7 +176,13 @@
href: '/library',
label: '素材库',
icon: 'assets',
match: (p: string) => ['/library', '/workflows'].includes(p),
match: (p: string) => p === '/library',
},
{
href: '/workflows',
label: '工作流',
icon: 'folder',
match: (p: string) => p === '/workflows',
},
{
href: '/agents',
@@ -313,7 +319,7 @@
position: fixed;
inset: 0;
display: grid;
grid-template-columns: 78px minmax(0, 1fr);
grid-template-columns: 68px minmax(0, 1fr);
background: var(--bg);
color: var(--text);
min-width: 0;
@@ -339,7 +345,7 @@
text-decoration: none;
letter-spacing: -1px;
display: block;
margin: 6px 0 28px;
margin: 2px 0 18px;
text-shadow: 0 0 20px #00cae044;
}
.brand small {
@@ -356,12 +362,12 @@
gap: 7px;
}
.nav-item {
min-height: 58px;
min-height: 50px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 7px;
gap: 5px;
font-size: 10px;
padding: 9px 3px;
color: #90949b;
@@ -444,7 +450,7 @@
min-width: 0;
}
.topbar {
height: 54px;
height: 52px;
flex-shrink: 0;
background: #141419;
border-bottom: 1px solid var(--line);
@@ -554,4 +560,27 @@
min-height: 37px;
}
}
@media (max-height: 740px) {
.sidebar {
padding-top: 10px;
}
.brand {
margin-bottom: 12px;
}
.sidebar nav {
gap: 4px;
}
.nav-item {
min-height: 42px;
padding: 7px 2px;
}
.sidebar-bottom {
padding-top: 8px;
}
.sidebar-bottom .nav-item {
min-height: 31px;
padding: 4px 2px;
}
}
</style>