feat: add scroll-to-bottom button when scrolled up in chat

Floating button appears when user scrolls away from the bottom of the
conversation, making it easy to jump back to the latest messages.
Includes i18n labels (EN/FR) and smooth scroll animation.
This commit is contained in:
Nicolas Varrot
2026-02-11 17:56:09 +00:00
parent 04e1f3b778
commit b56c80a454
2 changed files with 20 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ const en = {
'chat.attachFile': 'Attach file',
'chat.send': 'Send',
'chat.stop': 'Stop',
'chat.scrollToBottom': 'New messages',
'chat.messages': 'Chat messages',
// Sidebar
@@ -78,6 +79,7 @@ const fr: Record<keyof typeof en, string> = {
'chat.attachFile': 'Joindre un fichier',
'chat.send': 'Envoyer',
'chat.stop': 'Arrêter',
'chat.scrollToBottom': 'Nouveaux messages',
'chat.messages': 'Messages du chat',
'sidebar.title': 'Sessions',