mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Add stories for timeline notifications with long names
This commit is contained in:
@@ -14,6 +14,8 @@ const i18n = setupI18n('en', enMessages);
|
||||
|
||||
type GroupNotificationStory = [string, Array<Props>];
|
||||
|
||||
const longName = '🍷🐓🥶'.repeat(50);
|
||||
|
||||
const stories: Array<GroupNotificationStory> = [
|
||||
[
|
||||
'Combo',
|
||||
@@ -390,6 +392,24 @@ const stories: Array<GroupNotificationStory> = [
|
||||
},
|
||||
],
|
||||
],
|
||||
[
|
||||
'Long name',
|
||||
[
|
||||
{
|
||||
from: {
|
||||
title: longName,
|
||||
name: longName,
|
||||
phoneNumber: '(202) 555-1000',
|
||||
},
|
||||
changes: [
|
||||
{
|
||||
type: 'general',
|
||||
},
|
||||
],
|
||||
i18n,
|
||||
},
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
book.add('GroupNotification', () =>
|
||||
|
||||
Reference in New Issue
Block a user