fix: layout do autocomplete escondia nome do arquivo

popup tinha display:flex horizontal, e quando o detail (path da
pasta parent) era longo o suficiente, o value (nome do arquivo)
era esmagado pra largura zero, dando a impressao de que o item
nao estava na lista.

troca pra empilhamento vertical: nome em cima, path embaixo em
fonte menor com ellipsis. ambos sempre visiveis.

bump: 0.5.1 -> 0.5.2
This commit is contained in:
Thalik Bussacro 2026-04-29 00:24:58 -03:00
parent fa54bce627
commit e857b5f5f2
4 changed files with 12 additions and 9 deletions

View file

@ -1,7 +1,7 @@
{
"id": "graph-filter-builder",
"name": "Graph Filter Builder",
"version": "0.5.1",
"version": "0.5.2",
"minAppVersion": "1.0.0",
"description": "Adds a Filter Builder panel to the graph view — structured Include/Exclude lines for tag/path/file with autocomplete. Lives at the top-left of the graph and live-updates the native filter input.",
"author": "Thalik",

View file

@ -1,6 +1,6 @@
{
"name": "graph-filter-builder",
"version": "0.5.1",
"version": "0.5.2",
"description": "Structured Include/Exclude filter builder for the graph view, with autocomplete for tags, paths and files.",
"main": "main.js",
"type": "module",

View file

@ -236,9 +236,7 @@
}
.gfb-ac-item {
display: flex;
justify-content: space-between;
align-items: center;
display: block;
padding: 6px 10px;
cursor: pointer;
font-family: var(--font-monospace);
@ -251,14 +249,18 @@
}
.gfb-ac-value {
flex: 1;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.gfb-ac-detail {
display: block;
color: var(--text-muted);
font-size: 0.85em;
margin-left: 8px;
font-size: 0.78em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-top: 1px;
}

View file

@ -1,4 +1,5 @@
{
"0.5.0": "1.0.0",
"0.5.1": "1.0.0"
"0.5.1": "1.0.0",
"0.5.2": "1.0.0"
}