open-webui/src/lib/components/chat/Messages
Solaris-star 2387ce63cb
fix(chat): keep regenerate button visible in High Contrast mode (#27644)
Every action button on a response message gates its visibility on
'isLastMessage || ($settings?.highContrastMode ?? false)' so that buttons
stay visible (not hover-only) when High Contrast mode is on. The two
Regenerate buttons — the one inside RegenerateMenu and the fallback in the
{:else} branch — were missed and still gated on isLastMessage alone, so on
any non-last message the Regenerate icon was invisible until mouse-over even
with High Contrast enabled (#27638).

Add the same highContrastMode clause to both buttons, matching the other
action buttons in this file.
2026-08-10 23:27:42 -06:00
..
Citations chore: drop redundant background repaints so surfaces inherit their parent (#27576) 2026-07-27 00:44:51 -04:00
Markdown feat: parse :::writing block metadata and use the subject as the block title (#28280) 2026-08-10 19:44:06 -06:00
ResponseMessage refac 2026-08-10 18:52:18 -06:00
Citations.svelte refac 2026-08-10 18:52:18 -06:00
CodeBlock.svelte refac 2026-07-26 18:30:58 -04:00
CodeExecutionModal.svelte refac 2026-07-15 04:25:51 -04:00
CodeExecutions.svelte refac 2026-07-14 04:15:20 -04:00
ContentRenderer.svelte fix: do not auto-open artifacts from the sidebar chat hover preview (#27773) 2026-07-31 17:58:02 -04:00
Error.svelte refac 2026-07-15 22:34:52 -04:00
Markdown.svelte refac 2026-07-23 13:40:30 -04:00
Message.svelte refac 2026-07-24 02:14:56 -04:00
MultiResponseMessages.svelte refac 2026-07-24 02:14:56 -04:00
Name.svelte refac 2026-07-15 22:45:00 -04:00
OutputEditView.svelte refac 2026-08-10 18:52:18 -06:00
ProfileImage.svelte fix(ui): fall back to the default avatar when a profile image fails to load (#28270) 2026-08-10 19:18:32 -06:00
RateComment.svelte refac 2026-07-24 00:56:43 -04:00
ResponseMessage.svelte fix(chat): keep regenerate button visible in High Contrast mode (#27644) 2026-08-10 23:27:42 -06:00
Skeleton.svelte refac: styling 2025-09-15 13:22:41 -05:00
structuredOutput.ts refac 2026-07-14 00:10:28 -04:00
StructuredOutputRenderer.svelte refac 2026-07-23 13:40:30 -04:00
SubagentResultRow.svelte refac 2026-07-16 00:07:41 -04:00
UserMessage.svelte refac 2026-07-27 19:39:36 -04:00