mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 05:23:17 +00:00
Revert "xo: Fix import/extensions."
This reverts commit 5623ab3866.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {app} from "@electron/remote";
|
||||
|
||||
import {html} from "../../../common/html.js";
|
||||
import {html} from "../../../common/html";
|
||||
|
||||
export class AboutView {
|
||||
readonly $view: HTMLElement;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {ipcRenderer} from "../typed-ipc-renderer.js";
|
||||
import {ipcRenderer} from "../typed-ipc-renderer";
|
||||
|
||||
export function init(
|
||||
$reconnectButton: Element,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type {Html} from "../../../../common/html.js";
|
||||
import {html} from "../../../../common/html.js";
|
||||
import {generateNodeFromHtml} from "../../components/base.js";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer.js";
|
||||
import type {Html} from "../../../../common/html";
|
||||
import {html} from "../../../../common/html";
|
||||
import {generateNodeFromHtml} from "../../components/base";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer";
|
||||
|
||||
interface BaseSectionProps {
|
||||
$element: HTMLElement;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import {html} from "../../../../common/html.js";
|
||||
import * as t from "../../../../common/translation-util.js";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer.js";
|
||||
import * as DomainUtil from "../../utils/domain-util.js";
|
||||
import {html} from "../../../../common/html";
|
||||
import * as t from "../../../../common/translation-util";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer";
|
||||
import * as DomainUtil from "../../utils/domain-util";
|
||||
|
||||
import {reloadApp} from "./base-section.js";
|
||||
import {initFindAccounts} from "./find-accounts.js";
|
||||
import {initServerInfoForm} from "./server-info-form.js";
|
||||
import {reloadApp} from "./base-section";
|
||||
import {initFindAccounts} from "./find-accounts";
|
||||
import {initServerInfoForm} from "./server-info-form";
|
||||
|
||||
interface ConnectedOrgSectionProps {
|
||||
$root: Element;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {html} from "../../../../common/html.js";
|
||||
import * as t from "../../../../common/translation-util.js";
|
||||
import {generateNodeFromHtml} from "../../components/base.js";
|
||||
import * as LinkUtil from "../../utils/link-util.js";
|
||||
import {html} from "../../../../common/html";
|
||||
import * as t from "../../../../common/translation-util";
|
||||
import {generateNodeFromHtml} from "../../components/base";
|
||||
import * as LinkUtil from "../../utils/link-util";
|
||||
|
||||
interface FindAccountsProps {
|
||||
$root: Element;
|
||||
|
||||
@@ -8,14 +8,14 @@ import Tagify from "@yaireo/tagify";
|
||||
import ISO6391 from "iso-639-1";
|
||||
import * as z from "zod";
|
||||
|
||||
import * as ConfigUtil from "../../../../common/config-util.js";
|
||||
import * as EnterpriseUtil from "../../../../common/enterprise-util.js";
|
||||
import {html} from "../../../../common/html.js";
|
||||
import * as t from "../../../../common/translation-util.js";
|
||||
import * as ConfigUtil from "../../../../common/config-util";
|
||||
import * as EnterpriseUtil from "../../../../common/enterprise-util";
|
||||
import {html} from "../../../../common/html";
|
||||
import * as t from "../../../../common/translation-util";
|
||||
import supportedLocales from "../../../../translations/supported-locales.json";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer.js";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer";
|
||||
|
||||
import {generateSelectHtml, generateSettingOption} from "./base-section.js";
|
||||
import {generateSelectHtml, generateSettingOption} from "./base-section";
|
||||
|
||||
const currentBrowserWindow = remote.getCurrentWindow();
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type {Html} from "../../../../common/html.js";
|
||||
import {html} from "../../../../common/html.js";
|
||||
import * as t from "../../../../common/translation-util.js";
|
||||
import type {NavItem} from "../../../../common/types.js";
|
||||
import {generateNodeFromHtml} from "../../components/base.js";
|
||||
import type {Html} from "../../../../common/html";
|
||||
import {html} from "../../../../common/html";
|
||||
import * as t from "../../../../common/translation-util";
|
||||
import type {NavItem} from "../../../../common/types";
|
||||
import {generateNodeFromHtml} from "../../components/base";
|
||||
|
||||
interface PreferenceNavProps {
|
||||
$root: Element;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import * as ConfigUtil from "../../../../common/config-util.js";
|
||||
import {html} from "../../../../common/html.js";
|
||||
import * as t from "../../../../common/translation-util.js";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer.js";
|
||||
import * as ConfigUtil from "../../../../common/config-util";
|
||||
import {html} from "../../../../common/html";
|
||||
import * as t from "../../../../common/translation-util";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer";
|
||||
|
||||
import {generateSettingOption} from "./base-section.js";
|
||||
import {generateSettingOption} from "./base-section";
|
||||
|
||||
interface NetworkSectionProps {
|
||||
$root: Element;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import {dialog} from "@electron/remote";
|
||||
|
||||
import {html} from "../../../../common/html.js";
|
||||
import * as t from "../../../../common/translation-util.js";
|
||||
import {generateNodeFromHtml} from "../../components/base.js";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer.js";
|
||||
import * as DomainUtil from "../../utils/domain-util.js";
|
||||
import * as LinkUtil from "../../utils/link-util.js";
|
||||
import {html} from "../../../../common/html";
|
||||
import * as t from "../../../../common/translation-util";
|
||||
import {generateNodeFromHtml} from "../../components/base";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer";
|
||||
import * as DomainUtil from "../../utils/domain-util";
|
||||
import * as LinkUtil from "../../utils/link-util";
|
||||
|
||||
interface NewServerFormProps {
|
||||
$root: Element;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import type {DndSettings} from "../../../../common/dnd-util.js";
|
||||
import {html} from "../../../../common/html.js";
|
||||
import type {NavItem} from "../../../../common/types.js";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer.js";
|
||||
import type {DndSettings} from "../../../../common/dnd-util";
|
||||
import {html} from "../../../../common/html";
|
||||
import type {NavItem} from "../../../../common/types";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer";
|
||||
|
||||
import {initConnectedOrgSection} from "./connected-org-section.js";
|
||||
import {initGeneralSection} from "./general-section.js";
|
||||
import Nav from "./nav.js";
|
||||
import {initNetworkSection} from "./network-section.js";
|
||||
import {initServersSection} from "./servers-section.js";
|
||||
import {initShortcutsSection} from "./shortcuts-section.js";
|
||||
import {initConnectedOrgSection} from "./connected-org-section";
|
||||
import {initGeneralSection} from "./general-section";
|
||||
import Nav from "./nav";
|
||||
import {initNetworkSection} from "./network-section";
|
||||
import {initServersSection} from "./servers-section";
|
||||
import {initShortcutsSection} from "./shortcuts-section";
|
||||
|
||||
export class PreferenceView {
|
||||
readonly $view: HTMLElement;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import {dialog} from "@electron/remote";
|
||||
|
||||
import {html} from "../../../../common/html.js";
|
||||
import * as Messages from "../../../../common/messages.js";
|
||||
import * as t from "../../../../common/translation-util.js";
|
||||
import type {ServerConf} from "../../../../common/types.js";
|
||||
import {generateNodeFromHtml} from "../../components/base.js";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer.js";
|
||||
import * as DomainUtil from "../../utils/domain-util.js";
|
||||
import {html} from "../../../../common/html";
|
||||
import * as Messages from "../../../../common/messages";
|
||||
import * as t from "../../../../common/translation-util";
|
||||
import type {ServerConf} from "../../../../common/types";
|
||||
import {generateNodeFromHtml} from "../../components/base";
|
||||
import {ipcRenderer} from "../../typed-ipc-renderer";
|
||||
import * as DomainUtil from "../../utils/domain-util";
|
||||
|
||||
interface ServerInfoFormProps {
|
||||
$root: Element;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import {html} from "../../../../common/html.js";
|
||||
import * as t from "../../../../common/translation-util.js";
|
||||
import {html} from "../../../../common/html";
|
||||
import * as t from "../../../../common/translation-util";
|
||||
|
||||
import {reloadApp} from "./base-section.js";
|
||||
import {initNewServerForm} from "./new-server-form.js";
|
||||
import {reloadApp} from "./base-section";
|
||||
import {initNewServerForm} from "./new-server-form";
|
||||
|
||||
interface ServersSectionProps {
|
||||
$root: Element;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import {html} from "../../../../common/html.js";
|
||||
import * as t from "../../../../common/translation-util.js";
|
||||
import * as LinkUtil from "../../utils/link-util.js";
|
||||
import {html} from "../../../../common/html";
|
||||
import * as t from "../../../../common/translation-util";
|
||||
import * as LinkUtil from "../../utils/link-util";
|
||||
|
||||
interface ShortcutsSectionProps {
|
||||
$root: Element;
|
||||
|
||||
Reference in New Issue
Block a user