Skip to content

Direct Message [Action Sheet]: add Action sheet for a DM conversation #1334

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 1 commit 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
4 changes: 4 additions & 0 deletions assets/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -792,5 +792,9 @@
"scrollToBottomTooltip": "Scroll to bottom",
"@scrollToBottomTooltip": {
"description": "Tooltip for button to scroll to bottom."
},
"showUsersInDM": "Show users in DM",
"@showUsersInDM": {
"description": "Label for showing users in DM through DM Action Sheet"
}
}
5 changes: 5 additions & 0 deletions lib/api/model/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -949,3 +949,8 @@ enum PropagateMode {

String toJson() => _$PropagateModeEnumMap[this]!;
}

enum DMActionSheetOption{
markAsRead,
groupDmUsers,
}
6 changes: 6 additions & 0 deletions lib/generated/l10n/zulip_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,12 @@ abstract class ZulipLocalizations {
/// In en, this message translates to:
/// **'Scroll to bottom'**
String get scrollToBottomTooltip;

/// Label for showing users in DM through DM Action Sheet
///
/// In en, this message translates to:
/// **'Show users in DM'**
String get showUsersInDM;
}

class _ZulipLocalizationsDelegate extends LocalizationsDelegate<ZulipLocalizations> {
Expand Down
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_ar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -620,4 +620,7 @@ class ZulipLocalizationsAr extends ZulipLocalizations {

@override
String get scrollToBottomTooltip => 'Scroll to bottom';

@override
String get showUsersInDM => 'Show users in DM';
}
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -620,4 +620,7 @@ class ZulipLocalizationsEn extends ZulipLocalizations {

@override
String get scrollToBottomTooltip => 'Scroll to bottom';

@override
String get showUsersInDM => 'Show users in DM';
}
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_ja.dart
Original file line number Diff line number Diff line change
Expand Up @@ -620,4 +620,7 @@ class ZulipLocalizationsJa extends ZulipLocalizations {

@override
String get scrollToBottomTooltip => 'Scroll to bottom';

@override
String get showUsersInDM => 'Show users in DM';
}
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_nb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -620,4 +620,7 @@ class ZulipLocalizationsNb extends ZulipLocalizations {

@override
String get scrollToBottomTooltip => 'Scroll to bottom';

@override
String get showUsersInDM => 'Show users in DM';
}
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_pl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -620,4 +620,7 @@ class ZulipLocalizationsPl extends ZulipLocalizations {

@override
String get scrollToBottomTooltip => 'Scroll to bottom';

@override
String get showUsersInDM => 'Show users in DM';
}
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_ru.dart
Original file line number Diff line number Diff line change
Expand Up @@ -620,4 +620,7 @@ class ZulipLocalizationsRu extends ZulipLocalizations {

@override
String get scrollToBottomTooltip => 'Scroll to bottom';

@override
String get showUsersInDM => 'Show users in DM';
}
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_sk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -620,4 +620,7 @@ class ZulipLocalizationsSk extends ZulipLocalizations {

@override
String get scrollToBottomTooltip => 'Scroll to bottom';

@override
String get showUsersInDM => 'Show users in DM';
}
Loading
Loading