* Standardize tabs across different components * Add tests and minor fixes * Remove unneeded tests * Add missing change * Fix test * Refactor to remove the component from the hook * Rename hasDot for requiresUserAttention. * Apply the changes to scheduled posts * Fix texts * Fix tests and fix minor style issue on iOS * Fix filter positioning * Fix some e2e tests * Fix tests --------- Co-authored-by: Mattermost Build <build@mattermost.com>
13 lines
595 B
TypeScript
13 lines
595 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export const DRAFT_TYPE_DRAFT = 'draft' as const;
|
|
export const DRAFT_TYPE_SCHEDULED = 'scheduled' as const;
|
|
|
|
export type DraftType = typeof DRAFT_TYPE_DRAFT | typeof DRAFT_TYPE_SCHEDULED;
|
|
|
|
export const DRAFT_SCHEDULED_POST_LAYOUT_PADDING = 40;
|
|
|
|
export const DRAFT_SCREEN_TAB_DRAFTS = 'drafts' as const;
|
|
export const DRAFT_SCREEN_TAB_SCHEDULED_POSTS = 'scheduled_posts' as const;
|
|
export type DraftScreenTab = typeof DRAFT_SCREEN_TAB_DRAFTS | typeof DRAFT_SCREEN_TAB_SCHEDULED_POSTS;
|