Skip to content

Show read receipts #1706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/icons/ZulipIcons.ttf
Binary file not shown.
4 changes: 4 additions & 0 deletions assets/icons/check_check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions assets/icons/see_who_reacted.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions assets/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,37 @@
"@errorUnresolveTopicFailedTitle": {
"description": "Error title when marking a topic as unresolved failed."
},
"actionSheetOptionSeeWhoReacted": "See who reacted",
"@actionSheetOptionSeeWhoReacted": {
"description": "Label for the 'See who reacted' button in the message action sheet."
},
"seeWhoReactedSheetNoReactions": "This message has no reactions.",
"@seeWhoReactedSheetNoReactions": {
"description": "Explanation on the 'See who reacted' sheet when the message has no reactions (because they were removed after the sheet was opened)."
},
"actionSheetOptionViewReadReceipts": "View read receipts",
"@actionSheetOptionViewReadReceipts": {
"description": "Label for the 'View read receipts' button in the message action sheet."
},
"actionSheetReadReceipts": "Read receipts",
"@actionSheetReadReceipts": {
"description": "Title for the \"Read receipts\" bottom sheet."
},
"actionSheetReadReceiptsReadCount": "This message has been <link href=\"https://chat.zulip.org/help/read-receipts\">read</link> by {count} {count, plural, =1{person} other{people}}:",
"@actionSheetReadReceiptsReadCount": {
"description": "Label in the \"Read receipts\" bottom sheet when one or more people have read the message.",
"placeholders": {
"count": {"type": "int", "example": "1"}
}
},
"actionSheetReadReceiptsZeroReadCount": "No one has read this message yet.",
"@actionSheetReadReceiptsZeroReadCount": {
"description": "Label in the \"Read receipts\" bottom sheet when no one has read the message."
},
"actionSheetReadReceiptsErrorReadCount": "Failed to load read receipts.",
"@actionSheetReadReceiptsErrorReadCount": {
"description": "Label in the \"Read receipts\" bottom sheet when loading read receipts failed."
},
"actionSheetOptionCopyMessageText": "Copy message text",
"@actionSheetOptionCopyMessageText": {
"description": "Label for copy message text button on action sheet."
Expand Down
42 changes: 42 additions & 0 deletions lib/generated/l10n/zulip_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,48 @@ abstract class ZulipLocalizations {
/// **'Failed to mark topic as unresolved'**
String get errorUnresolveTopicFailedTitle;

/// Label for the 'See who reacted' button in the message action sheet.
///
/// In en, this message translates to:
/// **'See who reacted'**
String get actionSheetOptionSeeWhoReacted;

/// Explanation on the 'See who reacted' sheet when the message has no reactions (because they were removed after the sheet was opened).
///
/// In en, this message translates to:
/// **'This message has no reactions.'**
String get seeWhoReactedSheetNoReactions;

/// Label for the 'View read receipts' button in the message action sheet.
///
/// In en, this message translates to:
/// **'View read receipts'**
String get actionSheetOptionViewReadReceipts;

/// Title for the "Read receipts" bottom sheet.
///
/// In en, this message translates to:
/// **'Read receipts'**
String get actionSheetReadReceipts;

/// Label in the "Read receipts" bottom sheet when one or more people have read the message.
///
/// In en, this message translates to:
/// **'This message has been <link href=\"https://chat.zulip.org/help/read-receipts\">read</link> by {count} {count, plural, =1{person} other{people}}:'**
String actionSheetReadReceiptsReadCount(int count);

/// Label in the "Read receipts" bottom sheet when no one has read the message.
///
/// In en, this message translates to:
/// **'No one has read this message yet.'**
String get actionSheetReadReceiptsZeroReadCount;

/// Label in the "Read receipts" bottom sheet when loading read receipts failed.
///
/// In en, this message translates to:
/// **'Failed to load read receipts.'**
String get actionSheetReadReceiptsErrorReadCount;

/// Label for copy message text button on action sheet.
///
/// In en, this message translates to:
Expand Down
31 changes: 31 additions & 0 deletions lib/generated/l10n/zulip_localizations_ar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,37 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
String get errorUnresolveTopicFailedTitle =>
'Failed to mark topic as unresolved';

@override
String get actionSheetOptionSeeWhoReacted => 'See who reacted';

@override
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';

@override
String get actionSheetOptionViewReadReceipts => 'View read receipts';

@override
String get actionSheetReadReceipts => 'Read receipts';

@override
String actionSheetReadReceiptsReadCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: 'people',
one: 'person',
);
return 'This message has been <link href=\"https://chat.zulip.org/help/read-receipts\">read</link> by $count $_temp0:';
}

@override
String get actionSheetReadReceiptsZeroReadCount =>
'No one has read this message yet.';

@override
String get actionSheetReadReceiptsErrorReadCount =>
'Failed to load read receipts.';

@override
String get actionSheetOptionCopyMessageText => 'Copy message text';

Expand Down
31 changes: 31 additions & 0 deletions lib/generated/l10n/zulip_localizations_de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,37 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
String get errorUnresolveTopicFailedTitle =>
'Thema konnte nicht als ungelöst markiert werden';

@override
String get actionSheetOptionSeeWhoReacted => 'See who reacted';

@override
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';

@override
String get actionSheetOptionViewReadReceipts => 'View read receipts';

@override
String get actionSheetReadReceipts => 'Read receipts';

@override
String actionSheetReadReceiptsReadCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: 'people',
one: 'person',
);
return 'This message has been <link href=\"https://chat.zulip.org/help/read-receipts\">read</link> by $count $_temp0:';
}

@override
String get actionSheetReadReceiptsZeroReadCount =>
'No one has read this message yet.';

@override
String get actionSheetReadReceiptsErrorReadCount =>
'Failed to load read receipts.';

@override
String get actionSheetOptionCopyMessageText => 'Nachrichtentext kopieren';

Expand Down
31 changes: 31 additions & 0 deletions lib/generated/l10n/zulip_localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,37 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
String get errorUnresolveTopicFailedTitle =>
'Failed to mark topic as unresolved';

@override
String get actionSheetOptionSeeWhoReacted => 'See who reacted';

@override
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';

@override
String get actionSheetOptionViewReadReceipts => 'View read receipts';

@override
String get actionSheetReadReceipts => 'Read receipts';

@override
String actionSheetReadReceiptsReadCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: 'people',
one: 'person',
);
return 'This message has been <link href=\"https://chat.zulip.org/help/read-receipts\">read</link> by $count $_temp0:';
}

@override
String get actionSheetReadReceiptsZeroReadCount =>
'No one has read this message yet.';

@override
String get actionSheetReadReceiptsErrorReadCount =>
'Failed to load read receipts.';

@override
String get actionSheetOptionCopyMessageText => 'Copy message text';

Expand Down
31 changes: 31 additions & 0 deletions lib/generated/l10n/zulip_localizations_it.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,37 @@ class ZulipLocalizationsIt extends ZulipLocalizations {
String get errorUnresolveTopicFailedTitle =>
'Impossibile contrassegnare l\'argomento come irrisolto';

@override
String get actionSheetOptionSeeWhoReacted => 'See who reacted';

@override
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';

@override
String get actionSheetOptionViewReadReceipts => 'View read receipts';

@override
String get actionSheetReadReceipts => 'Read receipts';

@override
String actionSheetReadReceiptsReadCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: 'people',
one: 'person',
);
return 'This message has been <link href=\"https://chat.zulip.org/help/read-receipts\">read</link> by $count $_temp0:';
}

@override
String get actionSheetReadReceiptsZeroReadCount =>
'No one has read this message yet.';

@override
String get actionSheetReadReceiptsErrorReadCount =>
'Failed to load read receipts.';

@override
String get actionSheetOptionCopyMessageText => 'Copia il testo del messaggio';

Expand Down
31 changes: 31 additions & 0 deletions lib/generated/l10n/zulip_localizations_ja.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,37 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
String get errorUnresolveTopicFailedTitle =>
'Failed to mark topic as unresolved';

@override
String get actionSheetOptionSeeWhoReacted => 'See who reacted';

@override
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';

@override
String get actionSheetOptionViewReadReceipts => 'View read receipts';

@override
String get actionSheetReadReceipts => 'Read receipts';

@override
String actionSheetReadReceiptsReadCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: 'people',
one: 'person',
);
return 'This message has been <link href=\"https://chat.zulip.org/help/read-receipts\">read</link> by $count $_temp0:';
}

@override
String get actionSheetReadReceiptsZeroReadCount =>
'No one has read this message yet.';

@override
String get actionSheetReadReceiptsErrorReadCount =>
'Failed to load read receipts.';

@override
String get actionSheetOptionCopyMessageText => 'Copy message text';

Expand Down
31 changes: 31 additions & 0 deletions lib/generated/l10n/zulip_localizations_nb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,37 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
String get errorUnresolveTopicFailedTitle =>
'Failed to mark topic as unresolved';

@override
String get actionSheetOptionSeeWhoReacted => 'See who reacted';

@override
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';

@override
String get actionSheetOptionViewReadReceipts => 'View read receipts';

@override
String get actionSheetReadReceipts => 'Read receipts';

@override
String actionSheetReadReceiptsReadCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: 'people',
one: 'person',
);
return 'This message has been <link href=\"https://chat.zulip.org/help/read-receipts\">read</link> by $count $_temp0:';
}

@override
String get actionSheetReadReceiptsZeroReadCount =>
'No one has read this message yet.';

@override
String get actionSheetReadReceiptsErrorReadCount =>
'Failed to load read receipts.';

@override
String get actionSheetOptionCopyMessageText => 'Copy message text';

Expand Down
31 changes: 31 additions & 0 deletions lib/generated/l10n/zulip_localizations_pl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,37 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
String get errorUnresolveTopicFailedTitle =>
'Nie udało się oznaczyć brak rozwiązania';

@override
String get actionSheetOptionSeeWhoReacted => 'See who reacted';

@override
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';

@override
String get actionSheetOptionViewReadReceipts => 'View read receipts';

@override
String get actionSheetReadReceipts => 'Read receipts';

@override
String actionSheetReadReceiptsReadCount(int count) {
String _temp0 = intl.Intl.pluralLogic(
count,
locale: localeName,
other: 'people',
one: 'person',
);
return 'This message has been <link href=\"https://chat.zulip.org/help/read-receipts\">read</link> by $count $_temp0:';
}

@override
String get actionSheetReadReceiptsZeroReadCount =>
'No one has read this message yet.';

@override
String get actionSheetReadReceiptsErrorReadCount =>
'Failed to load read receipts.';

@override
String get actionSheetOptionCopyMessageText => 'Skopiuj tekst wiadomości';

Expand Down
Loading