Skip to content

Commit

Permalink
Merge branch 'develop' into renovate/force-graph-1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran authored Jan 17, 2025
2 parents 32c4d73 + dd3397b commit 4dfe2b4
Show file tree
Hide file tree
Showing 17 changed files with 215 additions and 1,098 deletions.
1 change: 0 additions & 1 deletion bin/copy-dist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const copy = async () => {
"node_modules/@excalidraw/excalidraw/dist/",
"node_modules/katex/dist/",
"node_modules/dayjs/",
"node_modules/force-graph/dist/",
"node_modules/boxicons/css/",
"node_modules/boxicons/fonts/",
"node_modules/mermaid/dist/",
Expand Down
2 changes: 1 addition & 1 deletion e2e/note_types/mindmap.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { test, expect, Page } from "@playwright/test";
import { test, expect } from "@playwright/test";
import App from "../support/app";

test("displays simple map", async ({ page, context }) => {
Expand Down
9 changes: 9 additions & 0 deletions e2e/note_types/note_map.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { test, expect } from "@playwright/test";
import App from "../support/app";

test("renders global map", async ({ page, context }) => {
const app = new App(page, context);
await app.goto();
await app.launcherBar.locator(".launcher-button.bx-map-alt").click();
await expect(app.currentNoteSplit.locator(".force-graph-container canvas")).toBeVisible();
});
2 changes: 2 additions & 0 deletions e2e/support/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default class App {

readonly tabBar: Locator;
readonly noteTree: Locator;
readonly launcherBar: Locator;
readonly currentNoteSplit: Locator;
readonly sidebar: Locator;

Expand All @@ -22,6 +23,7 @@ export default class App {

this.tabBar = page.locator(".tab-row-widget-container");
this.noteTree = page.locator(".tree-wrapper");
this.launcherBar = page.locator("#launcher-container");
this.currentNoteSplit = page.locator(".note-split:not(.hidden-ext)")
this.sidebar = page.locator("#right-pane");
}
Expand Down
1 change: 0 additions & 1 deletion libraries/mermaid-elk/elk.min.js

This file was deleted.

13 changes: 0 additions & 13 deletions libraries/mermaid-elk/package-lock.json

This file was deleted.

13 changes: 0 additions & 13 deletions libraries/mermaid-elk/package.json

This file was deleted.

19 changes: 0 additions & 19 deletions libraries/mermaid-elk/webpack.config.cjs

This file was deleted.

Loading

0 comments on commit 4dfe2b4

Please sign in to comment.