Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
a84ff57
change the padding based on the canvas width
Anchel123 Nov 19, 2024
3f2fe4f
Bump @radix-ui/react-tooltip from 1.1.2 to 1.1.4
dependabot[bot] Dec 2, 2024
17d0b19
Bump tailwind-merge from 2.5.0 to 2.5.5
dependabot[bot] Dec 2, 2024
33de177
Bump eslint from 9.15.0 to 9.16.0
dependabot[bot] Dec 2, 2024
7f1b02a
Bump class-variance-authority from 0.7.0 to 0.7.1
dependabot[bot] Dec 2, 2024
52d9ced
Bump @playwright/test from 1.48.2 to 1.49.0
dependabot[bot] Dec 2, 2024
8cd93f7
Merge branch 'staging' into dependabot/npm_and_yarn/staging/playwrigh…
gkorland Dec 2, 2024
bc03304
Merge branch 'staging' into dependabot/npm_and_yarn/staging/class-var…
gkorland Dec 2, 2024
2db14a7
Merge branch 'staging' into dependabot/npm_and_yarn/staging/tailwind-…
gkorland Dec 2, 2024
ef35694
Merge branch 'staging' into dependabot/npm_and_yarn/staging/eslint-9.…
Anchel123 Dec 2, 2024
87d47ea
Merge branch 'staging' into dependabot/npm_and_yarn/staging/radix-ui/…
Anchel123 Dec 2, 2024
2e7e11c
fetch options when select opens after 30 sec that he was close expat …
Anchel123 Dec 2, 2024
5e56456
commit
Anchel123 Dec 2, 2024
6c09607
enable select node only after input display
Anchel123 Dec 2, 2024
eedb577
Merge pull request #277 from FalkorDB/dependabot/npm_and_yarn/staging…
gkorland Dec 2, 2024
09e50a5
Merge branch 'staging' into dependabot/npm_and_yarn/staging/playwrigh…
gkorland Dec 2, 2024
3d6a9ef
Merge branch 'staging' into dependabot/npm_and_yarn/staging/class-var…
gkorland Dec 2, 2024
f197c60
Merge branch 'staging' into dependabot/npm_and_yarn/staging/eslint-9.…
gkorland Dec 2, 2024
7a0b6cf
Merge branch 'staging' into dependabot/npm_and_yarn/staging/radix-ui/…
gkorland Dec 2, 2024
e90b48c
fix create path
Anchel123 Dec 2, 2024
b1e633c
canvas tests (#258, #262)
Naseem77 Dec 2, 2024
e4c5881
commit
Anchel123 Dec 3, 2024
fa8ee23
Merge branch 'staging' into fix-create-path
Anchel123 Dec 3, 2024
4bba707
Merge branch 'staging' into fix-fetch-options
Anchel123 Dec 3, 2024
fc46fe6
Merge pull request #280 from FalkorDB/dependabot/npm_and_yarn/staging…
gkorland Dec 3, 2024
ced279b
Merge branch 'staging' into dependabot/npm_and_yarn/staging/eslint-9.…
gkorland Dec 3, 2024
740c76d
Merge pull request #278 from FalkorDB/dependabot/npm_and_yarn/staging…
gkorland Dec 3, 2024
f66c7b9
Merge branch 'staging' into dependabot/npm_and_yarn/staging/class-var…
gkorland Dec 3, 2024
3cdc137
Merge pull request #279 from FalkorDB/dependabot/npm_and_yarn/staging…
gkorland Dec 3, 2024
c3e9fce
Merge branch 'staging' into dependabot/npm_and_yarn/staging/radix-ui/…
gkorland Dec 3, 2024
13f6287
Merge pull request #276 from FalkorDB/dependabot/npm_and_yarn/staging…
gkorland Dec 3, 2024
874dfda
Bump react-resizable-panels from 2.0.23 to 2.1.7
dependabot[bot] Dec 3, 2024
7618d7d
Merge branch 'staging' into dependabot/npm_and_yarn/staging/react-res…
gkorland Dec 3, 2024
c88fb67
Merge branch 'staging' into fix-fetch-options
gkorland Dec 3, 2024
d982511
Merge pull request #286 from FalkorDB/dependabot/npm_and_yarn/staging…
gkorland Dec 3, 2024
a4f60a9
tests (#265, #287, #288, #289)
Naseem77 Dec 3, 2024
8f8d8ee
test update & workers
Naseem77 Dec 3, 2024
d29b919
commit
Anchel123 Dec 4, 2024
9064564
Merge branch 'staging' into fix-search-element
Anchel123 Dec 4, 2024
56b7b91
remove justify center so the view of the data always be visible (in s…
Anchel123 Dec 4, 2024
1fe9f19
disable paths that from other graphs in chat and get new data for aut…
Anchel123 Dec 4, 2024
f6510dc
Merge branch 'staging' into fix-create-path
Anchel123 Dec 4, 2024
e316768
copy nothing if undefined
Anchel123 Dec 4, 2024
b1867f3
Merge branch 'staging' into fix-fetch-options
Anchel123 Dec 4, 2024
6cd1130
Merge pull request #281 from FalkorDB/fix-fetch-options
AviAvni Dec 5, 2024
00a2a72
Merge branch 'staging' into fix-search-element
AviAvni Dec 5, 2024
a7fc9d9
Merge branch 'staging' into fix-create-path
Anchel123 Dec 5, 2024
39779fc
remove debugger
Anchel123 Dec 5, 2024
9987792
Merge pull request #293 from FalkorDB/fix-search-element
AviAvni Dec 5, 2024
d6966a5
Merge branch 'staging' into fix-create-path
AviAvni Dec 5, 2024
4581d56
Merge pull request #284 from FalkorDB/fix-create-path
AviAvni Dec 5, 2024
0097bd4
Merge branch 'staging' into fix-data-view
AviAvni Dec 5, 2024
76e9791
Merge pull request #295 from FalkorDB/fix-data-view
AviAvni Dec 5, 2024
2c5402f
Merge branch 'staging' into fix-copy
AviAvni Dec 5, 2024
7f6b3e7
Bump lucide-react from 0.441.0 to 0.468.0
dependabot[bot] Dec 6, 2024
15b8f3a
tests (#307, #306, #305, #263, #266)
Naseem77 Dec 9, 2024
8b5f9fe
Update codeGraph.spec.ts
Naseem77 Dec 9, 2024
123cda5
fix #289 test & locators
Naseem77 Dec 9, 2024
cf461eb
Tests (#256, #259, #260, #263)
Naseem77 Dec 9, 2024
76d089d
Update canvasAnalysis.ts
Naseem77 Dec 9, 2024
bef86d8
Merge pull request #297 from FalkorDB/fix-copy
Anchel123 Dec 10, 2024
1705f32
Merge branch 'staging' into force-graph
Anchel123 Dec 10, 2024
32f9777
commit
Anchel123 Dec 10, 2024
62c69a1
test #306
Naseem77 Dec 10, 2024
62dea82
Merge branch 'staging' into canvasTests
AviAvni Dec 10, 2024
14c09c1
Merge pull request #285 from FalkorDB/canvasTests
Naseem77 Dec 10, 2024
3b7f93a
Merge branch 'staging' into add-multi-graph-to-chat
Anchel123 Dec 10, 2024
a8dd85d
Merge pull request #296 from FalkorDB/add-multi-graph-to-chat
AviAvni Dec 10, 2024
c718e90
commit
Anchel123 Dec 10, 2024
1422e2e
Merge remote-tracking branch 'origin/staging' into force-graph
Anchel123 Dec 10, 2024
9d3cc34
Bump eslint-config-next from 15.0.3 to 15.1.0
dependabot[bot] Dec 11, 2024
76e57e1
Bump next from 15.0.3 to 15.1.0
dependabot[bot] Dec 11, 2024
faacbe8
commit
Anchel123 Dec 12, 2024
56ba51b
Merge branch 'staging' into dependabot/npm_and_yarn/staging/lucide-re…
gkorland Dec 15, 2024
bd99880
Merge pull request #310 from FalkorDB/dependabot/npm_and_yarn/staging…
gkorland Dec 15, 2024
4277d20
Merge branch 'staging' into dependabot/npm_and_yarn/staging/eslint-co…
gkorland Dec 15, 2024
0a69f78
Merge branch 'staging' into dependabot/npm_and_yarn/staging/lucide-re…
gkorland Dec 15, 2024
7c3adaf
Merge pull request #309 from FalkorDB/dependabot/npm_and_yarn/staging…
gkorland Dec 15, 2024
98e71ce
Merge branch 'staging' into dependabot/npm_and_yarn/staging/lucide-re…
gkorland Dec 15, 2024
e15bc14
Merge pull request #301 from FalkorDB/dependabot/npm_and_yarn/staging…
gkorland Dec 15, 2024
48779d4
commit
Anchel123 Dec 15, 2024
5ed5aa3
commit
Anchel123 Dec 15, 2024
6e40e95
commit
Anchel123 Dec 15, 2024
6e0e811
Merge pull request #316 from FalkorDB/remov-unused-dep
AviAvni Dec 16, 2024
60e1326
Merge branch 'staging' into force-graph
Anchel123 Dec 16, 2024
e9e8978
Merge remote-tracking branch 'origin' into force-graph
Anchel123 Dec 16, 2024
3b4cadf
conflict
Anchel123 Dec 16, 2024
bb810c0
Merge branch 'staging' into force-graph
Anchel123 Dec 16, 2024
88dad2e
fix build
Anchel123 Dec 16, 2024
91f582c
fix force graph
Anchel123 Dec 17, 2024
cebd476
fix
Anchel123 Dec 17, 2024
003164c
fix force graph
Anchel123 Dec 19, 2024
95cb9a3
remove italic
Anchel123 Dec 19, 2024
f9976b6
change tpe colors to brand colors
Anchel123 Dec 22, 2024
ca6efff
commit
Anchel123 Dec 22, 2024
c310e86
Revert "commit"
Anchel123 Dec 22, 2024
be92c09
commit
Anchel123 Dec 22, 2024
3aa2e12
Revert "commit"
Anchel123 Dec 22, 2024
87b5d21
commit
Anchel123 Dec 22, 2024
020f4bb
commit
Anchel123 Dec 22, 2024
d0ab70a
commit
Anchel123 Dec 22, 2024
94bd8a1
commit
Anchel123 Dec 22, 2024
87c6b17
Revert "commit"
Anchel123 Dec 22, 2024
028b0db
Reapply "commit"
Anchel123 Dec 22, 2024
00397b1
Merge branch 'staging' into update-nextjs
Anchel123 Dec 22, 2024
481ebb8
Merge branch 'staging' into update-label
Anchel123 Dec 22, 2024
4c8cc1a
Merge branch 'staging' into update-nodes-color
Anchel123 Dec 22, 2024
dc1aba8
improve link visual
Anchel123 Dec 22, 2024
ca995ff
update force graph
Anchel123 Dec 22, 2024
4dc48ee
commit
Anchel123 Dec 22, 2024
841a0f4
commit
Anchel123 Dec 22, 2024
ace86ce
Merge branch 'staging' into force-graph
Anchel123 Dec 22, 2024
d740e66
Merge pull request #325 from FalkorDB/update-label
gkorland Dec 26, 2024
4deec79
Merge branch 'staging' into update-nextjs
Anchel123 Dec 26, 2024
f165bbb
Merge branch 'staging' into update-nodes-color
gkorland Dec 26, 2024
1cb120f
Refactor canvas functionality and update tests for improved graph han…
Naseem77 Dec 29, 2024
7b693dc
update animation delay for center button
Naseem77 Dec 29, 2024
8b6c790
Merge branch 'staging' into force-graph
AviAvni Dec 29, 2024
77f11ca
Merge pull request #312 from FalkorDB/force-graph
AviAvni Dec 29, 2024
abe5488
fix center graph test
Naseem77 Dec 29, 2024
14879f8
Merge branch 'staging' into update-nodes-color
Anchel123 Dec 29, 2024
1b48f05
Merge pull request #337 from FalkorDB/fix-centerGraphTest
AviAvni Dec 29, 2024
04473c0
Merge branch 'staging' into update-nodes-color
AviAvni Dec 29, 2024
887d84d
Merge pull request #323 from FalkorDB/update-nodes-color
Anchel123 Dec 30, 2024
e5f4598
add intecom
Anchel123 Dec 30, 2024
83b07d8
Merge pull request #338 from FalkorDB/add-intercom
AviAvni Dec 31, 2024
125f9ec
Merge branch 'staging' into update-nextjs
AviAvni Dec 31, 2024
821fab3
Merge pull request #328 from FalkorDB/update-nextjs
AviAvni Dec 31, 2024
2a65193
Merge branch 'main' into staging
AviAvni Dec 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions app/GTM.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"use client"

import { useEffect } from "react";
import TagManager from "react-gtm-module";

export default function GTM() {
useEffect(() => {
const gtmId = process.env.NEXT_PUBLIC_GTM_ID
if (gtmId) {
TagManager.initialize({ gtmId });
}
}, []);

return null;
}
9 changes: 4 additions & 5 deletions app/api/utils.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
export function getEnvVariables() {
const url = process.env.BACKEND_URL
const token = process.env.SECRET_TOKEN
const { SECRET_TOKEN, BACKEND_URL } = process.env

if (!url) {
if (!BACKEND_URL) {
throw new Error("Environment variable BACKEND_URL must be set");
}
if (!token) {
if (!SECRET_TOKEN) {
throw new Error("Environment variable SECRET_TOKEN must be set");
}

return { url, token }
return { url: BACKEND_URL, token: SECRET_TOKEN };
}
4 changes: 3 additions & 1 deletion app/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export default function Input({ value, onValueChange, handleSubmit, graph, icon,
}, [open])

useEffect(() => {
if (!graph.Id) return

let isLastRequest = true
const timeout = setTimeout(async () => {

Expand Down Expand Up @@ -75,7 +77,7 @@ export default function Input({ value, onValueChange, handleSubmit, graph, icon,
clearTimeout(timeout)
isLastRequest = false
}
}, [value])
}, [value, graph.Id])

const handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {
const container = containerRef.current
Expand Down
234 changes: 111 additions & 123 deletions app/components/chat.tsx

Large diffs are not rendered by default.

Loading
Loading