Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
Frontend V2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GraphPolaris
Frontend V2
Commits
fe627744
Commit
fe627744
authored
1 year ago
by
Vink, S.A. (Sjoerd)
Browse files
Options
Downloads
Patches
Plain Diff
feat(visManager): panels
parent
440ff939
No related branches found
Branches containing commit
No related tags found
2 merge requests
!135
geo intergation
,
!129
Feat/visManager
Pipeline
#131541
passed
1 year ago
Stage: tag-release
Stage: get-release-tag
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
apps/web/src/app/app.tsx
+3
-5
3 additions, 5 deletions
apps/web/src/app/app.tsx
libs/shared/lib/data-viewer/index.tsx
+1
-1
1 addition, 1 deletion
libs/shared/lib/data-viewer/index.tsx
libs/shared/lib/data-viewer/search/similarity.ts
+1
-1
1 addition, 1 deletion
libs/shared/lib/data-viewer/search/similarity.ts
with
5 additions
and
7 deletions
apps/web/src/app/app.tsx
+
3
−
5
View file @
fe627744
...
...
@@ -77,15 +77,13 @@ export function App(props: App) {
</
aside
>
<
main
className
=
"flex w-screen h-[calc(100%-4.2rem)]"
>
<
Resizable
divisorSize
=
{
3
}
horizontal
=
{
true
}
defaultProportion
=
{
0.33
}
>
<
div
className
=
"h-full w-full"
>
<
DataViewer
auth
=
{
authCheck
}
/>
</
div
>
<
DataViewer
auth
=
{
authCheck
}
/>
<
div
className
=
"h-full w-full"
>
<
Resizable
divisorSize
=
{
3
}
horizontal
=
{
false
}
>
<
div
className
=
"w-full h-full
panel
"
>
<
div
className
=
"w-full h-full
border
"
>
<
VisualizationPanel
manager
=
{
manager
}
/>
</
div
>
<
div
className
=
"w-full h-full
panel
"
>
<
div
className
=
"w-full h-full
border
"
>
<
QueryBuilder
onRunQuery
=
{
runQuery
}
/>
</
div
>
</
Resizable
>
...
...
This diff is collapsed.
Click to expand it.
libs/shared/lib/data-viewer/index.tsx
+
1
−
1
View file @
fe627744
...
...
@@ -14,7 +14,7 @@ export default function DataViewer({ auth }: { auth: boolean }) {
<
div
className
=
"info-panel w-full h-full flex"
>
<
TooltipProvider
delayDuration
=
{
100
}
>
<
div
className
=
"w-12 flex flex-col items-center justify-between"
>
<
div
>
<
div
className
=
"flex flex-col items-center justify-between"
>
<
Tooltip
>
<
TooltipTrigger
>
<
Button
...
...
This diff is collapsed.
Click to expand it.
libs/shared/lib/data-viewer/search/similarity.ts
+
1
−
1
View file @
fe627744
...
...
@@ -30,7 +30,7 @@ const matches = (query: string, object: Record<string, any>): number => {
return
highestScore
;
};
const
jaroSimilarity
=
(
s1
:
string
,
s2
:
string
)
=>
{
export
const
jaroSimilarity
=
(
s1
:
string
,
s2
:
string
)
=>
{
if
(
s1
==
s2
)
return
1.0
;
const
len1
=
s1
.
length
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment