MM-49393 Begin splitting up utils.tsx (#22983)

* Add selectors/urls to Channels

* Create utils/notification_sounds in Channels

* Move Utils.isLinux to UserAgent.isLinux

* Remove Utils.isMac in favour of UserAgent.isMac

* Move cmdOrCtrlPressed and isKeyPressed into new utils/keyboard

* Remove eslint-disable for max-lines in utils.tsx
Этот коммит содержится в:
Harrison Healey
2023-04-17 15:10:15 -04:00
коммит произвёл GitHub
родитель 941ee8509a
Коммит 3f022e728f
76 изменённых файлов: 508 добавлений и 491 удалений

Просмотреть файл

@@ -5,7 +5,8 @@ import React, {RefObject} from 'react';
import * as UserAgent from 'utils/user_agent';
import Constants from 'utils/constants';
import {a11yFocus, isKeyPressed} from 'utils/utils';
import {isKeyPressed} from 'utils/keyboard';
import {a11yFocus} from 'utils/utils';
export type Tab = {
icon: string;