Skip to content

Commit 294db73

Browse files
2 parents 0ce7910 + 137ac70 commit 294db73

File tree

15 files changed

+441
-19
lines changed

15 files changed

+441
-19
lines changed

frontend/src/components/DataSources/Local/DropZone.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const DropZone: FunctionComponent = () => {
126126
if (curfile.name == file.name) {
127127
return {
128128
...curfile,
129-
uploadProgress: chunkNumber * chunkProgressIncrement,
129+
uploadProgress: Math.ceil(chunkNumber * chunkProgressIncrement),
130130
};
131131
}
132132
return curfile;
@@ -138,7 +138,7 @@ const DropZone: FunctionComponent = () => {
138138
if (curfile.name == file.name) {
139139
return {
140140
...curfile,
141-
uploadProgress: chunkNumber * chunkProgressIncrement,
141+
uploadProgress: Math.ceil(chunkNumber * chunkProgressIncrement),
142142
};
143143
}
144144
return curfile;

frontend/src/components/FileTable.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const FileTable: ForwardRefRenderFunction<ChildRef, FileTableProps> = (props, re
105105
setCopyRow(true);
106106
setTimeout(() => {
107107
setCopyRow(false);
108-
}, 5000);
108+
}, 3000);
109109
};
110110
const columns = useMemo(
111111
() => [
@@ -593,7 +593,7 @@ const FileTable: ForwardRefRenderFunction<ChildRef, FileTableProps> = (props, re
593593
handleCopy(copied);
594594
}}
595595
>
596-
<ClipboardDocumentIconSolid className={`${copyRow} ? 'cursor-wait': 'cursor`} />
596+
<ClipboardDocumentIconSolid className={`${copyRow ? 'cursor-progress!' : 'cursor'} `} />
597597
</IconButtonWithToolTip>
598598
<IconButtonWithToolTip
599599
onClick={() => {
@@ -616,7 +616,16 @@ const FileTable: ForwardRefRenderFunction<ChildRef, FileTableProps> = (props, re
616616
footer: (info) => info.column.id,
617617
}),
618618
],
619-
[filesData.length, statusFilter, filetypeFilter, llmtypeFilter, fileSourceFilter, isReadOnlyUser, colorMode]
619+
[
620+
filesData.length,
621+
statusFilter,
622+
filetypeFilter,
623+
llmtypeFilter,
624+
fileSourceFilter,
625+
isReadOnlyUser,
626+
colorMode,
627+
copyRow,
628+
]
620629
);
621630

622631
const table = useReactTable({

frontend/src/components/Graph/GraphPropertiesTable.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { GraphLabel, Typography } from '@neo4j-ndl/react';
22
import { GraphPropertiesTableProps } from '../../types';
33

44
const GraphPropertiesTable = ({ propertiesWithTypes }: GraphPropertiesTableProps): JSX.Element => {
5-
console.log('proerties', propertiesWithTypes);
65
return (
76
<div className='flex w-full flex-col break-all px-4 text-sm' data-testid='viz-details-pane-properties-table'>
87
<div className='mb-1 flex! flex-row pl-2'>

frontend/src/components/Layout/PageLayout.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const GCSModal = lazy(() => import('../DataSources/GCS/GCSModal'));
2828
const S3Modal = lazy(() => import('../DataSources/AWS/S3Modal'));
2929
const GenericModal = lazy(() => import('../WebSources/GenericSourceModal'));
3030
const ConnectionModal = lazy(() => import('../Popups/ConnectionModal/ConnectionModal'));
31-
3231
const spotlightsforunauthenticated = [
3332
{
3433
target: 'loginbutton',
@@ -92,7 +91,6 @@ const spotlightsforunauthenticated = [
9291
),
9392
},
9493
];
95-
9694
const spotlights = [
9795
{
9896
target: 'connectbutton',
@@ -147,7 +145,6 @@ const spotlights = [
147145
),
148146
},
149147
];
150-
151148
const PageLayout: React.FC = () => {
152149
const [openConnection, setOpenConnection] = useState<connectionState>({
153150
openPopUp: false,

frontend/src/utils/Utils.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,6 @@ export const generateGraphFromNodeAndRelVals = (
737737
): UserDefinedGraphSchema => {
738738
const schemeVal: Scheme = {};
739739
const uniqueNodesMap = new Map<string, ExtendedNode>();
740-
console.log('first rels', relVals);
741740
let nodeIdCounter = 0;
742741
nodeVals.forEach((node) => {
743742
const key = `${node.label}-${node.value}`;
@@ -792,7 +791,6 @@ export const generateGraphFromNodeAndRelVals = (
792791
type,
793792
});
794793
});
795-
console.log('new rels', transformedRelationships);
796794
return {
797795
nodes: transformedNodes,
798796
relationships: transformedRelationships,

frontend/yarn.lock

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,11 @@
336336
resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.4.2.tgz#6df6c45881fcb1c412d6688a311a98b7f59c1b52"
337337
integrity sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==
338338

339+
"@emotion/utils@^1.4.2":
340+
version "1.4.2"
341+
resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.4.2.tgz#6df6c45881fcb1c412d6688a311a98b7f59c1b52"
342+
integrity sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==
343+
339344
"@emotion/weak-memoize@^0.4.0":
340345
version "0.4.0"
341346
resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz#5e13fac887f08c44f76b0ccaf3370eb00fec9bb6"
@@ -3978,7 +3983,6 @@ gopd@^1.2.0:
39783983
resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1"
39793984
integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==
39803985

3981-
39823986
graceful-fs@^4.2.4:
39833987
version "4.2.11"
39843988
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
@@ -4793,7 +4797,6 @@ levn@^0.4.1:
47934797
prelude-ls "^1.2.1"
47944798
type-check "~0.4.0"
47954799

4796-
47974800
lightningcss-darwin-arm64@1.29.1:
47984801
version "1.29.1"
47994802
resolved "https://registry.yarnpkg.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.29.1.tgz#dce17349c7b9f968f396ec240503de14e7b4870b"
@@ -5713,7 +5716,6 @@ npm-run-path@^5.1.0:
57135716
integrity sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==
57145717
dependencies:
57155718
path-key "^4.0.0"
5716-
57175719
obj-case@0.2.1:
57185720
version "0.2.1"
57195721
resolved "https://registry.yarnpkg.com/obj-case/-/obj-case-0.2.1.tgz#13a554d04e5ca32dfd9d566451fd2b0e11007f1a"
@@ -6719,10 +6721,6 @@ sonner@1.7.1:
67196721
resolved "https://registry.yarnpkg.com/sonner/-/sonner-1.7.1.tgz#737110a3e6211d8d766442076f852ddde1725205"
67206722
integrity sha512-b6LHBfH32SoVasRFECrdY8p8s7hXPDn3OHUFbZZbiB1ctLS9Gdh6rpX2dVrpQA0kiL5jcRzDDldwwLkSKk3+QQ==
67216723

6722-
source-map-js@^1.2.1:
6723-
version "1.2.1"
6724-
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"
6725-
integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==
67266724

67276725
source-map@0.5.6:
67286726
version "0.5.6"
@@ -7145,7 +7143,6 @@ typed-array-length@^1.0.7:
71457143
possible-typed-array-names "^1.0.0"
71467144
reflect.getprototypeof "^1.0.6"
71477145

7148-
71497146
typescript@^5.7.3:
71507147
version "5.7.3"
71517148
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e"

0 commit comments

Comments
 (0)