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
Merge requests
!135
geo intergation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
geo intergation
feat/get_intergation
into
main
Overview
1
Commits
56
Pipelines
1
Changes
1
Merged
Leonardo Christino
requested to merge
feat/get_intergation
into
main
10 months ago
Overview
1
Commits
56
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
30d71a59
Prev
Next
Show latest version
1 file
+
10
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
30d71a59
fix(visual): icon changes
· 30d71a59
duncan
authored
11 months ago
apps/web/src/app/app.tsx
+
10
−
2
Options
@@ -25,7 +25,7 @@ import { Tooltip, TooltipTrigger, Button, TooltipContent, TooltipProvider } from
import
ControlContainer
from
'
@graphpolaris/shared/lib/components/controls
'
;
import
Searchbar
from
'
@graphpolaris/shared/lib/sidebar/search/searchbar
'
;
import
Schema
from
'
@graphpolaris/shared/lib/schema/panel
'
;
import
{
Fullscreen
,
Schema
as
SchemaIcon
,
Search
as
SearchIcon
}
from
'
@mui/icons-material
'
;
import
{
Fullscreen
,
FitScreen
,
Remove
,
Schema
as
SchemaIcon
,
Search
as
SearchIcon
}
from
'
@mui/icons-material
'
;
export
type
App
=
{
load
?:
string
;
@@ -90,10 +90,18 @@ export function App(props: App) {
<
div
className
=
"shrink-0 sticky right-0 px-0.5 ml-auto items-center flex"
>
<
ControlContainer
>
<
TooltipProvider
delayDuration
=
{
100
}
>
<
Tooltip
>
<
TooltipTrigger
asChild
>
<
Button
type
=
"secondary"
variant
=
"ghost"
size
=
"xs"
iconComponent
=
{
<
Remove
/>
}
onClick
=
{
()
=>
{}
}
/>
</
TooltipTrigger
>
<
TooltipContent
side
=
{
'
top
'
}
>
<
p
>
Hide
</
p
>
</
TooltipContent
>
</
Tooltip
>
{
tab
===
'
Schema
'
&&
(
<
Tooltip
>
<
TooltipTrigger
asChild
>
<
Button
type
=
"secondary"
variant
=
"ghost"
size
=
"xs"
iconComponent
=
{
<
F
ulls
creen
/>
}
onClick
=
{
()
=>
{}
}
/>
<
Button
type
=
"secondary"
variant
=
"ghost"
size
=
"xs"
iconComponent
=
{
<
F
itS
creen
/>
}
onClick
=
{
()
=>
{}
}
/>
</
TooltipTrigger
>
<
TooltipContent
side
=
{
'
top
'
}
>
<
p
>
Fit to screen
</
p
>
Loading