fix: batch tag queries, inline edit, delete response, SPA catch-all, link glyph
- Fix N+1 tag query in List() with batched IN clause
- Add inline body editing in web detail pane (dblclick or e key)
- Delete API returns {result: "soft"|"hard"} with 200 instead of 204
- SPA handler serves index.html for all extensionless paths
- Link glyph changed from emoji 🔗 to unicode ↗ for terminal alignment
- Capture bar contrast and hover glow increased
- Comment on load-bearing "--" in root.go
This commit is contained in:
+37
-3
@@ -92,22 +92,28 @@ nav {
|
||||
#capture-input {
|
||||
width: 100%;
|
||||
background: var(--bg);
|
||||
border: 1px solid var(--border);
|
||||
border: 1px solid var(--text-muted);
|
||||
color: var(--text);
|
||||
padding: 8px 12px;
|
||||
border-radius: var(--radius);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 13px;
|
||||
outline: none;
|
||||
transition: border-color 0.15s;
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
|
||||
#capture-input:hover {
|
||||
border-color: var(--accent-dim);
|
||||
box-shadow: 0 0 0 1px var(--accent-dim);
|
||||
}
|
||||
|
||||
#capture-input:focus {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 1px var(--accent);
|
||||
}
|
||||
|
||||
#capture-input::placeholder {
|
||||
color: var(--text-muted);
|
||||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
/* Main layout */
|
||||
@@ -273,6 +279,34 @@ main {
|
||||
margin-bottom: 16px;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
cursor: text;
|
||||
border-radius: var(--radius);
|
||||
padding: 4px 6px;
|
||||
margin-left: -6px;
|
||||
transition: background 0.1s;
|
||||
}
|
||||
|
||||
.detail-body:hover {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.detail-body-edit {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-height: 80px;
|
||||
font-family: var(--font-sans);
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 16px;
|
||||
padding: 6px 8px;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: var(--radius);
|
||||
outline: none;
|
||||
resize: vertical;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.detail-tags {
|
||||
|
||||
Reference in New Issue
Block a user