Skip to content

Commit 91b0b16

Browse files
Fix: timestamp always visible && Double /api prefix (agentscope-ai#5802)
1 parent 0bc68ed commit 91b0b16

2 files changed

Lines changed: 5 additions & 15 deletions

File tree

console/src/pages/Chat/index.module.less

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -180,20 +180,10 @@
180180
}
181181
}
182182

183-
/* Message actions: hide by default on hover-capable devices, always visible on touch */
184-
@media (hover: hover) {
185-
.chatMessagesArea :global {
186-
[class*="bubble-footer"] {
187-
opacity: 0;
188-
transition: opacity 0.2s;
189-
}
190-
191-
[class*="bubble-end"]:hover [class*="bubble-footer"],
192-
[class*="bubble-start"]:hover [class*="bubble-footer"],
193-
[class*="bubble-footer"]:hover,
194-
[class*="bubble-footer"]:focus-within {
195-
opacity: 1;
196-
}
183+
/* Message actions: always visible (timestamps are useful at a glance). */
184+
.chatMessagesArea :global {
185+
[class*="bubble-footer"] {
186+
opacity: 1;
197187
}
198188
}
199189

console/src/stores/loopStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface CommandsResponse {
4040
export async function fetchAvailableLoopSkills(): Promise<void> {
4141
try {
4242
const res = await request<CommandsResponse>(
43-
"/api/workspace/commands/available",
43+
"/workspace/commands/available",
4444
);
4545
const commands = res?.commands ?? [];
4646
const loopSkills: LoopSkillInfo[] = commands

0 commit comments

Comments
 (0)