feat: add TTLCache for get_cache_version and TEMPLATE_AUTO_RELOAD config with Makefile worker count variables

This commit is contained in:
2026-06-14 14:46:36 +00:00
parent c151325916
commit d75d5dc6a8
149 changed files with 9811 additions and 262 deletions
+136
View File
@@ -141,6 +141,109 @@
font-weight: 600;
}
.messages-header-info {
display: flex;
flex-direction: column;
min-width: 0;
}
.messages-presence {
font-size: 0.6875rem;
color: var(--text-muted);
}
.messages-presence.online {
color: var(--success, var(--accent));
}
.messages-presence.online::before {
content: "";
display: inline-block;
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--success, var(--accent));
margin-right: 0.3125rem;
vertical-align: middle;
}
.conversation-unread-dot {
flex-shrink: 0;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--accent);
align-self: center;
}
.conversation-unread-dot[hidden] {
display: none;
}
.message-receipt {
font-size: 0.6875rem;
color: rgba(255, 255, 255, 0.85);
margin-left: 0.375rem;
letter-spacing: -2px;
}
.message-receipt[hidden] {
display: none;
}
.message-bubble.pending {
opacity: 0.6;
}
.attachment-pending {
margin-top: 0.35rem;
font-size: 0.8rem;
font-style: italic;
color: var(--text-secondary);
}
.typing-indicator {
align-self: flex-start;
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.5rem 0.75rem;
background: var(--bg-card-hover);
border-radius: var(--radius-lg);
border-bottom-left-radius: 4px;
}
.typing-indicator[hidden] {
display: none;
}
.typing-indicator span {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--text-muted);
animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) {
animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes typing-bounce {
0%, 60%, 100% {
transform: translateY(0);
opacity: 0.4;
}
30% {
transform: translateY(-4px);
opacity: 1;
}
}
.messages-thread {
flex: 1;
overflow-y: auto;
@@ -233,6 +336,39 @@
background: var(--accent-hover);
}
.messages-send-btn .send-spinner {
display: none;
width: 16px;
height: 16px;
border: 2px solid var(--white);
border-right-color: transparent;
border-radius: 50%;
animation: messages-send-spin 0.6s linear infinite;
}
.messages-send-btn.is-sending {
cursor: default;
opacity: 0.75;
}
.messages-send-btn.is-sending .send-icon {
display: none;
}
.messages-send-btn.is-sending .send-spinner {
display: block;
}
.messages-send-btn:disabled {
cursor: default;
}
@keyframes messages-send-spin {
to {
transform: rotate(360deg);
}
}
.messages-empty {
display: flex;
flex-direction: column;