[groq] [RESEARCH] MemPalace — Local AI Memory System Assessment & Leverage Plan (#1047) #1058
5
app.js
5
app.js
@@ -1929,6 +1929,11 @@ function setupControls() {
|
||||
});
|
||||
document.getElementById('chat-send').addEventListener('click', () => sendChatMessage());
|
||||
|
||||
// Add MemPalace mining button
|
||||
document.querySelector('.chat-quick-actions').innerHTML += `
|
||||
<button class="quick-action-btn" onclick="mineChatToMemPalace()">Mine Chat</button>
|
||||
`;
|
||||
|
||||
// Chat quick actions
|
||||
document.getElementById('chat-quick-actions').addEventListener('click', (e) => {
|
||||
const btn = e.target.closest('.quick-action-btn');
|
||||
|
||||
@@ -853,6 +853,12 @@ canvas#nexus-canvas {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* Add hover effect for MemPalace mining button */
|
||||
.quick-action-btn:hover {
|
||||
background: var(--color-primary-dim);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.quick-action-btn {
|
||||
background: rgba(74, 240, 192, 0.1);
|
||||
border: 1px solid var(--color-primary-dim);
|
||||
|
||||
Reference in New Issue
Block a user