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

@@ -18,6 +18,7 @@ import * as compose_validate from "./compose_validate";
import * as composebox_typeahead from "./composebox_typeahead";
import * as condense from "./condense";
import * as confirm_dialog from "./confirm_dialog";
import {show_copied_confirmation} from "./copied_tooltip";
import * as dialog_widget from "./dialog_widget";
import * as echo from "./echo";
import * as giphy from "./giphy";
@@ -35,7 +36,6 @@ import * as rows from "./rows";
import * as settings_data from "./settings_data";
import * as stream_data from "./stream_data";
import * as timerender from "./timerender";
import {show_copied_confirmation} from "./tippyjs";
import * as ui_report from "./ui_report";
import * as upload from "./upload";
import * as util from "./util";