feat: add date separators between messages from different days
Shows a subtle horizontal line with the date label (Today, Yesterday, or full date) when messages span multiple days. Helps orient users when scrolling through long conversation histories. Includes i18n support (EN/FR) for the date labels.
This commit is contained in:
@@ -63,6 +63,7 @@ const en = {
|
||||
|
||||
// Timestamps
|
||||
'time.yesterday': 'Yesterday',
|
||||
'time.today': 'Today',
|
||||
|
||||
// Keyboard shortcuts
|
||||
'shortcuts.title': 'Keyboard Shortcuts',
|
||||
@@ -131,6 +132,7 @@ const fr: Record<keyof typeof en, string> = {
|
||||
'message.retry': 'Renvoyer le message',
|
||||
|
||||
'time.yesterday': 'Hier',
|
||||
'time.today': "Aujourd'hui",
|
||||
|
||||
'shortcuts.title': 'Raccourcis clavier',
|
||||
'shortcuts.send': 'Envoyer le message',
|
||||
|
||||
Reference in New Issue
Block a user