mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 08:06:47 +00:00
89 lines
5.4 KiB
Dart
89 lines
5.4 KiB
Dart
class UiKeys {
|
|
const UiKeys._();
|
|
|
|
static const String composeEmailButton = 'composeEmailButton';
|
|
static const String sendEmailButton = 'sendEmailButton';
|
|
static const String downloadAllAttachmentsButton = 'download_all_attachments_button';
|
|
static const String listViewAppGrid = 'listViewAppGrid';
|
|
static const String toggleAppGridButton = 'toggleAppGridButton';
|
|
static const String closeComposerButton = 'closeComposerButton';
|
|
static const String saveDraftButton = 'saveDraftButton';
|
|
static const String saveTemplatePopupItem = 'saveAsTemplatePopupItem';
|
|
// Keep snake_case values — existing widgets and tests already reference these key names.
|
|
static const String composerMoreButton = 'composer_more_button';
|
|
/// Button rendered by ComposeButtonWidget. The widget itself is keyed with
|
|
/// [composeEmailButton] by its callers.
|
|
static const String composeEmailPrimaryAction = 'compose_email_button';
|
|
static const String saveDraftPopupItem = 'save_as_draft_popup_item';
|
|
static const String emptyThreadView = 'empty_thread_view';
|
|
static const String emptySearchEmailView = 'empty_search_email_view';
|
|
static const String searchFilterListView = 'search_filter_list_view';
|
|
static const String unreadStatusIcon = 'unread_status_icon';
|
|
static const String selectedEmailActionButtonSuffix = '_selected_email_button';
|
|
static const String tabletEmailSelectionAvatar =
|
|
'tablet_email_selection_avatar';
|
|
// Suggestion-overlay chips; compose with the filter name. Distinct from the result-bar keys.
|
|
static const String quickSearchFilterButtonPrefix = 'quick_search_filter_button_';
|
|
// Recipient field buttons; compose as 'prefix_<field name>' + suffix.
|
|
static const String recipientCcButtonSuffix = '_recipient_cc_button';
|
|
static const String recipientExpandButtonSuffix = '_recipient_expand_button';
|
|
|
|
// Language & region
|
|
static const String languageDropDownButton = 'language_drop_down_button';
|
|
|
|
// Email rules / rules filter creator
|
|
static const String createRuleButton = 'createRuleButton';
|
|
static const String emailRulesSettingMenuItem = 'setting_email_rules';
|
|
static const String delegationSettingMenuItem = 'setting_delegation';
|
|
static const String delegatedToMeList = 'delegated_to_me_list';
|
|
static const String delegatedToMeEmptyCard = 'delegated_to_me_empty_card';
|
|
static const String myDelegatesList = 'my_delegates_list';
|
|
static const String myDelegatesEmptyCard = 'my_delegates_empty_card';
|
|
static const String myDelegatesAddButton = 'my_delegates_add_button';
|
|
static const String addDelegatesDialog = 'add_delegates_dialog';
|
|
static const String addDelegatesAddressField = 'add_delegates_address_field';
|
|
static const String addDelegatesRefusalMessage = 'add_delegates_refusal_message';
|
|
static const String addDelegatesDroppedTeamMailboxesMessage = 'add_delegates_dropped_team_mailboxes_message';
|
|
static const String addDelegatesSubmitButton = 'add_delegates_submit_button';
|
|
static const String addDelegatesCancelButton = 'add_delegates_cancel_button';
|
|
static const String removeDelegateDialog = 'remove_delegate_dialog';
|
|
static const String removeDelegateSubmitButton = 'remove_delegate_submit_button';
|
|
static const String removeDelegateCancelButton = 'remove_delegate_cancel_button';
|
|
static const String editEmailRuleButton = 'editEmailRuleButton';
|
|
static const String moreEmailRuleButton = 'moreEmailRuleButton';
|
|
static const String addActionButton = 'addActionButton';
|
|
static const String mobileMailboxMenuButton = 'mobileMailboxMenuButton';
|
|
static const String userAvatar = 'userAvatar';
|
|
// Settings button that replaces the avatar inside Twake Workplace.
|
|
static const String workplaceSettingsButton = 'workplace_settings_button';
|
|
static const String viewingOwnerBanner = 'viewingOwnerBanner';
|
|
static const String viewingOwnerBannerDismiss = 'viewingOwnerBannerDismiss';
|
|
static const String recoverDeletedMessagesButton = 'recover_deleted_messages_button';
|
|
static const String compactAccountSwitcher = 'compactAccountSwitcher';
|
|
static const String accountSwitchLoadingDialog = 'accountSwitchLoadingDialog';
|
|
static const String accountSwitchLoadingCancel =
|
|
'accountSwitchLoadingCancel';
|
|
|
|
// Advanced search
|
|
static const String openAdvancedSearchButton = 'open_advanced_search_button';
|
|
static const String advancedSearchLabelDropDown = 'advanced_search_label_drop_down';
|
|
static const String advancedSearchSearchButton = 'advanced_search_search_button';
|
|
static const String advancedSearchHasAttachmentCheckbox = 'advanced_search_has_attachment_checkbox';
|
|
|
|
static const String mailboxMoreActionButton = 'mailbox_more_action_button';
|
|
static const String mailboxSearchButton = 'mailbox_search_button';
|
|
static const String addNewFolderButton = 'add_new_folder_button';
|
|
static const String addNewLabelButton = 'labels_bar_widget_add_new_label_button';
|
|
static const String labelMoreActionButton = 'label_more_action_button';
|
|
static const String cleanMessageBannerNotVisible = 'clean_message_banner_not_visible';
|
|
|
|
// Email detail labels
|
|
static const String emailDetailedMoreButton = 'email_detailed_more_button';
|
|
static const String addLabelToEmailModal = 'add_label_to_email_modal';
|
|
|
|
// Vacation settings
|
|
static const String vacationResponderSwitch = 'vacation_responder_switch';
|
|
static const String vacationMessageEditorMobile = 'vacation_message_editor_mobile';
|
|
static const String vacationSaveButton = 'vacation_save_button';
|
|
}
|