copied_tooltip: Remove tippyjs import cycle by extracting it.

Moving show_copied_confirmation to a new library breaks the
dependency cycle of popover_menus and tippyjs.
This commit is contained in:
Aman Agrawal
2023-09-23 08:07:32 +00:00
committed by Tim Abbott
parent 458a0b3f3a
commit bdf6b210b8
10 changed files with 38 additions and 34 deletions

View File

@@ -13,6 +13,7 @@ import * as browser_history from "./browser_history";
import * as channel from "./channel";
import * as components from "./components";
import * as confirm_dialog from "./confirm_dialog";
import {show_copied_confirmation} from "./copied_tooltip";
import * as dialog_widget from "./dialog_widget";
import * as dropdown_widget from "./dropdown_widget";
import * as hash_util from "./hash_util";
@@ -32,7 +33,6 @@ import * as stream_settings_data from "./stream_settings_data";
import * as stream_settings_ui from "./stream_settings_ui";
import * as stream_ui_updates from "./stream_ui_updates";
import * as sub_store from "./sub_store";
import {show_copied_confirmation} from "./tippyjs";
import * as ui_report from "./ui_report";
import * as user_groups from "./user_groups";
import {user_settings} from "./user_settings";