aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-10-10 20:06:17 -0400
committerbobzel <zzzman@gmail.com>2024-10-10 20:06:17 -0400
commit962302d41ba5b086818f5db9ea5103c1e754b66f (patch)
treefe7b36ce2ac3c8276e4175e4dd8d5e223e1373a7 /src/client/views/MainView.tsx
parent3a35e2687e3c7b0c864dd4f00b1002ff088b56d3 (diff)
parent040a1c5fd3e80606793e65be3ae821104460511b (diff)
Merge branch 'master' into alyssa-starter
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index a3fa1c18b..7779d339f 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -59,6 +59,7 @@ import { ImageLabelHandler } from './collections/collectionFreeForm/ImageLabelHa
import { MarqueeOptionsMenu } from './collections/collectionFreeForm/MarqueeOptionsMenu';
import { CollectionLinearView } from './collections/collectionLinear';
import { LinkMenu } from './linking/LinkMenu';
+import { DocCreatorMenu } from './nodes/DataVizBox/DocCreatorMenu';
import { SchemaCSVPopUp } from './nodes/DataVizBox/SchemaCSVPopUp';
import { DocButtonState } from './nodes/DocumentLinksButton';
import { DocumentView, DocumentViewInternal } from './nodes/DocumentView';
@@ -89,6 +90,7 @@ export class MainView extends ObservableReactComponent<object> {
public static Live: boolean = false;
private _docBtnRef = React.createRef<HTMLDivElement>();
+ @observable private _keepContextMenuOpen: boolean = false;
@observable private _windowWidth: number = 0;
@observable private _windowHeight: number = 0;
@observable private _dashUIWidth: number = 0; // width of entire main dashboard region including left menu buttons and properties panel (but not including the dashboard selector button row)
@@ -280,6 +282,18 @@ export class MainView extends ObservableReactComponent<object> {
library.add(
...[
+ fa.faMinimize,
+ fa.faArrowsRotate,
+ fa.faFloppyDisk,
+ fa.faRepeat,
+ fa.faArrowsUpDown,
+ fa.faArrowsLeftRight,
+ fa.faWindowMaximize,
+ fa.faGift,
+ fa.faLockOpen,
+ fa.faSort,
+ fa.faArrowUpZA,
+ fa.faArrowDownAZ,
fa.faExclamationCircle,
fa.faEdit,
fa.faArrowDownShortWide,
@@ -1117,6 +1131,7 @@ export class MainView extends ObservableReactComponent<object> {
<PreviewCursor />
<TaskCompletionBox />
<ContextMenu />
+ <DocCreatorMenu />
<ImageLabelHandler />
<SmartDrawHandler />
<AnchorMenu />