Skip to content

Commit 00109d3

Browse files
Merge branch 'main' into staging
2 parents 91b78b7 + bb55ade commit 00109d3

File tree

10 files changed

+63
-7
lines changed

10 files changed

+63
-7
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ This application allows you to upload files from various sources (local machine,
1616
- Seamlessly transform unstructured data into structured Knowledge Graphs using advanced LLMs.
1717
- Extract nodes, relationships, and their properties to create structured graphs.
1818

19+
1920
### **Schema Support**
2021
- Use a custom schema or existing schemas configured in the settings to generate graphs.
2122

frontend/src/App.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,29 @@
9090
box-shadow: -12px 0 #FFF, 12px 0 rgb(var(--theme-palette-primary-bg-strong));
9191
}
9292
}
93+
.dropdownbtn{
94+
background-color: #014063;
95+
color: white !important;
96+
border-radius: unset !important;
97+
width: 35px;
98+
padding: 0.5rem;
99+
}
100+
.dropdownbtn:hover{
101+
background-color: #02293d !important;
102+
}
103+
.graphbtn{
104+
border-top-right-radius: 0px !important;
105+
border-bottom-right-radius: 0px !important;
106+
}
107+
.dropdownbtn.darktheme{
108+
background-color: #51A6B1;
109+
}
110+
.dropdownbtn.small{
111+
height: 24px;
112+
}
113+
.darktheme:hover{
114+
background-color: #44929c !important;
115+
}
93116

94117
.dropdownbtn {
95118
background-color: #014063;
@@ -399,6 +422,7 @@
399422
@media screen and (min-width:1025px) and (max-width:1440px){
400423
.layout-wrapper{
401424
grid-template-columns: 64px 1fr minmax(min-content,4fr) minmax(min-content,2fr) 64px;
425+
402426
}
403427
}
404428

@@ -415,6 +439,7 @@
415439
display: flex
416440
}
417441

442+
418443
.resource-sections.blur-sm {
419444
filter: blur(2px);
420445
}

frontend/src/components/Auth/Auth.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export const AuthenticationGuard: React.FC<{ component: React.ComponentType<obje
3434
navigate('/readonly', { replace: true });
3535
}
3636
}, [isLoading, isAuthenticated]);
37-
3837
return <Component />;
3938
};
4039

frontend/src/components/ChatBot/ChunkInfo.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { handleGraphNodeClick } from './chatInfo';
1515
import { IconButtonWithToolTip } from '../UI/IconButtonToolTip';
1616
import remarkGfm from 'remark-gfm';
1717
import rehypeRaw from 'rehype-raw';
18+
1819
const ChunkInfo: FC<ChunkProps> = ({ loading, chunks, mode }) => {
1920
const themeUtils = useContext(ThemeWrapperContext);
2021
const [neoNodes, setNeoNodes] = useState<any[]>([]);

frontend/src/components/Content.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,6 @@ const Content: React.FC<ContentProps> = ({
10201020
{selectedfileslength && !disableCheck && newFilecheck ? `(${newFilecheck})` : ''}
10211021
</ButtonWithToolTip>
10221022
</SpotlightTarget>
1023-
10241023
<ButtonWithToolTip
10251024
text={
10261025
!selectedfileslength ? tooltips.deleteFile : `${selectedfileslength} ${tooltips.deleteSelectedFiles}`
@@ -1066,7 +1065,6 @@ const Content: React.FC<ContentProps> = ({
10661065
</div>
10671066
</Flex>
10681067
</SpotlightTarget>
1069-
10701068
<Menu
10711069
placement='top-end-bottom-end'
10721070
isOpen={isGraphBtnMenuOpen}

frontend/src/components/Dropdown.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ const DropdownComponent: React.FC<ReusableDropdownProps> = ({
7373
}}
7474
/>
7575
</SpotlightTarget>
76-
7776
{children}
7877
</div>
7978
</>

frontend/src/components/Layout/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import ChatModeToggle from '../ChatBot/ChatModeToggle';
2323
import { HeaderProp } from '../../types';
2424
import { downloadClickHandler, getIsLoading } from '../../utils/Utils';
2525
import Profile from '../User/Profile';
26-
import { useAuth0 } from '@auth0/auth0-react';
26+
2727

2828
const Header: React.FC<HeaderProp> = ({ chatOnly, deleteOnClick, setOpenConnection, showBackButton }) => {
2929
const { colorMode, toggleColorMode } = useContext(ThemeWrapperContext);

frontend/src/components/Popups/GraphEnhancementDialog/EnitityExtraction/EntityExtractionSetting.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
// import { MouseEventHandler, useCallback, useEffect, useMemo, useState } from 'react';
23
// import ButtonWithToolTip from '../../../UI/ButtonWithToolTip';
34
// import { appLabels, buttonCaptions, getDefaultSchemaExamples, tooltips } from '../../../../utils/Constants';
@@ -13,6 +14,7 @@
1314
// import { Hierarchy1Icon } from '@neo4j-ndl/react/icons';
1415
// import GraphViewModal from '../../../Graph/GraphViewModal';
1516

17+
1618
// export default function EntityExtractionSetting({
1719
// view,
1820
// open,
@@ -237,7 +239,6 @@
237239
// setOpenGraphView(true);
238240
// setViewPoint('showSchemaView');
239241
// };
240-
241242
// return (
242243
// <div>
243244
// <Typography variant='body-medium'>
@@ -378,3 +379,4 @@
378379
// </div>
379380
// );
380381
// }
382+

frontend/src/components/Popups/Settings/SchemaFromText.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
// import { Checkbox, Dialog, TextArea, Button } from '@neo4j-ndl/react';
23
// import { useCallback, useState } from 'react';
34
// import { getNodeLabelsAndRelTypesFromText } from '../../../services/SchemaFromTextAPI';

frontend/yarn.lock

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2600,6 +2600,7 @@ available-typed-arrays@^1.0.7:
26002600
dependencies:
26012601
possible-typed-array-names "^1.0.0"
26022602

2603+
26032604
axios@^1.8.4:
26042605
version "1.8.4"
26052606
resolved "https://registry.yarnpkg.com/axios/-/axios-1.8.4.tgz#78990bb4bc63d2cae072952d374835950a82f447"
@@ -3063,6 +3064,13 @@ debug@^4.0.0, debug@^4.1.0, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@^4.4
30633064
dependencies:
30643065
ms "^2.1.3"
30653066

3067+
debug@^4.4.0:
3068+
version "4.4.0"
3069+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a"
3070+
integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==
3071+
dependencies:
3072+
ms "^2.1.3"
3073+
30663074
decode-named-character-reference@^1.0.0:
30673075
version "1.0.2"
30683076
resolved "https://registry.yarnpkg.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz#daabac9690874c394c81e4162a0304b35d824f0e"
@@ -3186,11 +3194,13 @@ enhanced-resolve@^5.18.1:
31863194
graceful-fs "^4.2.4"
31873195
tapable "^2.2.0"
31883196

3197+
31893198
entities@^4.5.0:
31903199
version "4.5.0"
31913200
resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48"
31923201
integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
31933202

3203+
31943204
environment@^1.0.0:
31953205
version "1.1.0"
31963206
resolved "https://registry.yarnpkg.com/environment/-/environment-1.1.0.tgz#8e86c66b180f363c7ab311787e0259665f45a9f1"
@@ -4172,6 +4182,7 @@ html-url-attributes@^3.0.0:
41724182
resolved "https://registry.yarnpkg.com/html-url-attributes/-/html-url-attributes-3.0.0.tgz#fc4abf0c3fb437e2329c678b80abb3c62cff6f08"
41734183
integrity sha512-/sXbVCWayk6GDVg3ctOX6nxaVj7So40FcFAnWlWGNAB1LpYKcV5Cd10APjPjW80O7zYW2MsjBV4zZ7IZO5fVow==
41744184

4185+
41754186
html-void-elements@^3.0.0:
41764187
version "3.0.0"
41774188
resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-3.0.0.tgz#fc9dbd84af9e747249034d4d62602def6517f1d7"
@@ -4893,6 +4904,7 @@ lru-cache@^5.1.1:
48934904
dependencies:
48944905
yallist "^3.0.2"
48954906

4907+
48964908
markdown-table@^3.0.0:
48974909
version "3.0.4"
48984910
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-3.0.4.tgz#fe44d6d410ff9d6f2ea1797a3f60aa4d2b631c2a"
@@ -4903,6 +4915,7 @@ math-intrinsics@^1.1.0:
49034915
resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9"
49044916
integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==
49054917

4918+
49064919
mdast-util-find-and-replace@^3.0.0:
49074920
version "3.0.2"
49084921
resolved "https://registry.yarnpkg.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz#70a3174c894e14df722abf43bc250cbae44b11df"
@@ -5384,6 +5397,14 @@ micromatch@^4.0.4, micromatch@^4.0.8:
53845397
braces "^3.0.3"
53855398
picomatch "^2.3.1"
53865399

5400+
micromatch@^4.0.8:
5401+
version "4.0.8"
5402+
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202"
5403+
integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==
5404+
dependencies:
5405+
braces "^3.0.3"
5406+
picomatch "^2.3.1"
5407+
53875408
53885409
version "1.52.0"
53895410
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
@@ -5430,6 +5451,11 @@ ms@^2.1.3:
54305451
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
54315452
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
54325453

5454+
ms@^2.1.3:
5455+
version "2.1.3"
5456+
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
5457+
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
5458+
54335459
nano-css@^5.6.2:
54345460
version "5.6.2"
54355461
resolved "https://registry.yarnpkg.com/nano-css/-/nano-css-5.6.2.tgz#584884ddd7547278f6d6915b6805069742679a32"
@@ -5484,7 +5510,6 @@ npm-run-path@^5.1.0:
54845510
integrity sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==
54855511
dependencies:
54865512
path-key "^4.0.0"
5487-
54885513
54895514
version "0.2.1"
54905515
resolved "https://registry.yarnpkg.com/obj-case/-/obj-case-0.2.1.tgz#13a554d04e5ca32dfd9d566451fd2b0e11007f1a"
@@ -6129,6 +6154,7 @@ regexp.prototype.flags@^1.5.3:
61296154
gopd "^1.2.0"
61306155
set-function-name "^2.0.2"
61316156

6157+
61326158
rehype-raw@^7.0.0:
61336159
version "7.0.0"
61346160
resolved "https://registry.yarnpkg.com/rehype-raw/-/rehype-raw-7.0.0.tgz#59d7348fd5dbef3807bbaa1d443efd2dd85ecee4"
@@ -6150,6 +6176,7 @@ remark-gfm@^4.0.1:
61506176
remark-stringify "^11.0.0"
61516177
unified "^11.0.0"
61526178

6179+
61536180
remark-parse@^11.0.0:
61546181
version "11.0.0"
61556182
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-11.0.0.tgz#aa60743fcb37ebf6b069204eb4da304e40db45a1"
@@ -6469,6 +6496,8 @@ [email protected]:
64696496
resolved "https://registry.yarnpkg.com/sonner/-/sonner-1.7.1.tgz#737110a3e6211d8d766442076f852ddde1725205"
64706497
integrity sha512-b6LHBfH32SoVasRFECrdY8p8s7hXPDn3OHUFbZZbiB1ctLS9Gdh6rpX2dVrpQA0kiL5jcRzDDldwwLkSKk3+QQ==
64716498

6499+
6500+
64726501
source-map-js@^1.2.1:
64736502
version "1.2.1"
64746503
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"
@@ -6708,6 +6737,7 @@ tapable@^2.2.0:
67086737
resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"
67096738
integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==
67106739

6740+
67116741
text-table@^0.2.0:
67126742
version "0.2.0"
67136743
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"

0 commit comments

Comments
 (0)