Skip to content

Commit 4b2a175

Browse files
committed
Add intro modals for Inbox and Combined Feed
Fixes #1856
1 parent c3c9c6b commit 4b2a175

24 files changed

+454
-7
lines changed

assets/l10n/app_en.arb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,26 @@
3131
"@upgradeWelcomeDialogDismiss": {
3232
"description": "Label for button dismissing dialog shown on first upgrade from the legacy Zulip app."
3333
},
34+
"introModalDismissButton": "Got it",
35+
"@introModalDismissButton": {
36+
"description": "Label for button dismissing intro modals."
37+
},
38+
"inboxIntroModalTitle": "Welcome to your inbox!",
39+
"@inboxIntroModalTitle": {
40+
"description": "Title for the inbox intro modal."
41+
},
42+
"inboxIntroModalMessage": "You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.",
43+
"@inboxIntroModalMessage": {
44+
"description": "Message content for the inbox intro modal."
45+
},
46+
"combinedFeedIntroModalTitle": "Welcome to your combined feed!",
47+
"@combinedFeedIntroModalTitle": {
48+
"description": "Title for the combined feed intro modal."
49+
},
50+
"combinedFeedIntroModalMessage": "You'll see a feed of all the unmuted messages you've received. You can click on a colored header bar to view a conversation.",
51+
"@combinedFeedIntroModalMessage": {
52+
"description": "Message content for the combined feed intro modal."
53+
},
3454
"chooseAccountPageTitle": "Choose account",
3555
"@chooseAccountPageTitle": {
3656
"description": "Title for the page to choose between Zulip accounts."

lib/generated/l10n/zulip_localizations.dart

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,36 @@ abstract class ZulipLocalizations {
189189
/// **'Let\'s go'**
190190
String get upgradeWelcomeDialogDismiss;
191191

192+
/// Label for button dismissing intro modals.
193+
///
194+
/// In en, this message translates to:
195+
/// **'Got it'**
196+
String get introModalDismissButton;
197+
198+
/// Title for the inbox intro modal.
199+
///
200+
/// In en, this message translates to:
201+
/// **'Welcome to your inbox!'**
202+
String get inboxIntroModalTitle;
203+
204+
/// Message content for the inbox intro modal.
205+
///
206+
/// In en, this message translates to:
207+
/// **'You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.'**
208+
String get inboxIntroModalMessage;
209+
210+
/// Title for the combined feed intro modal.
211+
///
212+
/// In en, this message translates to:
213+
/// **'Welcome to your combined feed!'**
214+
String get combinedFeedIntroModalTitle;
215+
216+
/// Message content for the combined feed intro modal.
217+
///
218+
/// In en, this message translates to:
219+
/// **'You\'ll see a feed of all the unmuted messages you\'ve received. You can click on a colored header bar to view a conversation.'**
220+
String get combinedFeedIntroModalMessage;
221+
192222
/// Title for the page to choose between Zulip accounts.
193223
///
194224
/// In en, this message translates to:

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
3434
@override
3535
String get upgradeWelcomeDialogDismiss => 'هيا بنا';
3636

37+
@override
38+
String get introModalDismissButton => 'Got it';
39+
40+
@override
41+
String get inboxIntroModalTitle => 'Welcome to your inbox!';
42+
43+
@override
44+
String get inboxIntroModalMessage =>
45+
'You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.';
46+
47+
@override
48+
String get combinedFeedIntroModalTitle => 'Welcome to your combined feed!';
49+
50+
@override
51+
String get combinedFeedIntroModalMessage =>
52+
'You\'ll see a feed of all the unmuted messages you\'ve received. You can click on a colored header bar to view a conversation.';
53+
3754
@override
3855
String get chooseAccountPageTitle => 'اختر حساب';
3956

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
3434
@override
3535
String get upgradeWelcomeDialogDismiss => 'Los gehts';
3636

37+
@override
38+
String get introModalDismissButton => 'Got it';
39+
40+
@override
41+
String get inboxIntroModalTitle => 'Welcome to your inbox!';
42+
43+
@override
44+
String get inboxIntroModalMessage =>
45+
'You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.';
46+
47+
@override
48+
String get combinedFeedIntroModalTitle => 'Welcome to your combined feed!';
49+
50+
@override
51+
String get combinedFeedIntroModalMessage =>
52+
'You\'ll see a feed of all the unmuted messages you\'ve received. You can click on a colored header bar to view a conversation.';
53+
3754
@override
3855
String get chooseAccountPageTitle => 'Konto auswählen';
3956

lib/generated/l10n/zulip_localizations_el.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ class ZulipLocalizationsEl extends ZulipLocalizations {
3434
@override
3535
String get upgradeWelcomeDialogDismiss => 'Let\'s go';
3636

37+
@override
38+
String get introModalDismissButton => 'Got it';
39+
40+
@override
41+
String get inboxIntroModalTitle => 'Welcome to your inbox!';
42+
43+
@override
44+
String get inboxIntroModalMessage =>
45+
'You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.';
46+
47+
@override
48+
String get combinedFeedIntroModalTitle => 'Welcome to your combined feed!';
49+
50+
@override
51+
String get combinedFeedIntroModalMessage =>
52+
'You\'ll see a feed of all the unmuted messages you\'ve received. You can click on a colored header bar to view a conversation.';
53+
3754
@override
3855
String get chooseAccountPageTitle => 'Choose account';
3956

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
3434
@override
3535
String get upgradeWelcomeDialogDismiss => 'Let\'s go';
3636

37+
@override
38+
String get introModalDismissButton => 'Got it';
39+
40+
@override
41+
String get inboxIntroModalTitle => 'Welcome to your inbox!';
42+
43+
@override
44+
String get inboxIntroModalMessage =>
45+
'You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.';
46+
47+
@override
48+
String get combinedFeedIntroModalTitle => 'Welcome to your combined feed!';
49+
50+
@override
51+
String get combinedFeedIntroModalMessage =>
52+
'You\'ll see a feed of all the unmuted messages you\'ve received. You can click on a colored header bar to view a conversation.';
53+
3754
@override
3855
String get chooseAccountPageTitle => 'Choose account';
3956

lib/generated/l10n/zulip_localizations_es.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ class ZulipLocalizationsEs extends ZulipLocalizations {
3434
@override
3535
String get upgradeWelcomeDialogDismiss => 'Let\'s go';
3636

37+
@override
38+
String get introModalDismissButton => 'Got it';
39+
40+
@override
41+
String get inboxIntroModalTitle => 'Welcome to your inbox!';
42+
43+
@override
44+
String get inboxIntroModalMessage =>
45+
'You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.';
46+
47+
@override
48+
String get combinedFeedIntroModalTitle => 'Welcome to your combined feed!';
49+
50+
@override
51+
String get combinedFeedIntroModalMessage =>
52+
'You\'ll see a feed of all the unmuted messages you\'ve received. You can click on a colored header bar to view a conversation.';
53+
3754
@override
3855
String get chooseAccountPageTitle => 'Choose account';
3956

lib/generated/l10n/zulip_localizations_fr.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,23 @@ class ZulipLocalizationsFr extends ZulipLocalizations {
3535
@override
3636
String get upgradeWelcomeDialogDismiss => 'Allons-y';
3737

38+
@override
39+
String get introModalDismissButton => 'Got it';
40+
41+
@override
42+
String get inboxIntroModalTitle => 'Welcome to your inbox!';
43+
44+
@override
45+
String get inboxIntroModalMessage =>
46+
'You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.';
47+
48+
@override
49+
String get combinedFeedIntroModalTitle => 'Welcome to your combined feed!';
50+
51+
@override
52+
String get combinedFeedIntroModalMessage =>
53+
'You\'ll see a feed of all the unmuted messages you\'ve received. You can click on a colored header bar to view a conversation.';
54+
3855
@override
3956
String get chooseAccountPageTitle => 'Choisir un compte';
4057

lib/generated/l10n/zulip_localizations_he.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ class ZulipLocalizationsHe extends ZulipLocalizations {
3434
@override
3535
String get upgradeWelcomeDialogDismiss => 'Let\'s go';
3636

37+
@override
38+
String get introModalDismissButton => 'Got it';
39+
40+
@override
41+
String get inboxIntroModalTitle => 'Welcome to your inbox!';
42+
43+
@override
44+
String get inboxIntroModalMessage =>
45+
'You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.';
46+
47+
@override
48+
String get combinedFeedIntroModalTitle => 'Welcome to your combined feed!';
49+
50+
@override
51+
String get combinedFeedIntroModalMessage =>
52+
'You\'ll see a feed of all the unmuted messages you\'ve received. You can click on a colored header bar to view a conversation.';
53+
3754
@override
3855
String get chooseAccountPageTitle => 'Choose account';
3956

lib/generated/l10n/zulip_localizations_hu.dart

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ class ZulipLocalizationsHu extends ZulipLocalizations {
3434
@override
3535
String get upgradeWelcomeDialogDismiss => 'Let\'s go';
3636

37+
@override
38+
String get introModalDismissButton => 'Got it';
39+
40+
@override
41+
String get inboxIntroModalTitle => 'Welcome to your inbox!';
42+
43+
@override
44+
String get inboxIntroModalMessage =>
45+
'You’ll see a list of conversations where you have unread messages, organized by channel. Each conversation is labeled with a topic by the person who started it.';
46+
47+
@override
48+
String get combinedFeedIntroModalTitle => 'Welcome to your combined feed!';
49+
50+
@override
51+
String get combinedFeedIntroModalMessage =>
52+
'You\'ll see a feed of all the unmuted messages you\'ve received. You can click on a colored header bar to view a conversation.';
53+
3754
@override
3855
String get chooseAccountPageTitle => 'Choose account';
3956

0 commit comments

Comments
 (0)