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
a103df85
Prev
Next
Show latest version
1 file
+
2
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
a103df85
feat(visManager): search
· a103df85
Vink, S.A. (Sjoerd)
authored
11 months ago
libs/shared/lib/data-viewer/search/searchbar.tsx
+
2
−
3
Options
@@ -115,7 +115,7 @@ export default function Searchbar() {
value
=
{
search
}
onChange
=
{
(
e
)
=>
setSearch
(
e
.
target
.
value
)
}
id
=
"input-group-search"
className
=
"block w-full p-2 ps-
10
text-sm text-secondary-900 border border-secondary-300 rounded bg-secondary-50 focus:ring-blue-500 focus:border-blue-500 focus:ring-0"
className
=
"block w-full p-2 ps-
2
text-sm text-secondary-900 border border-secondary-300 rounded bg-secondary-50 focus:ring-blue-500 focus:border-blue-500 focus:ring-0"
placeholder
=
"Search database"
></
input
>
</
div
>
@@ -131,8 +131,7 @@ export default function Searchbar() {
</
div
>
)
}
{
search
!==
''
&&
(
<
div
className
=
"z-10 rounded card-bordered w-full overflow-auto max-h-[60vh] px-3 pb-3"
>
<
p
className
=
"font-bold text-sm"
>
Results
</
p
>
<
div
className
=
"z-10 w-full overflow-y-auto scroll h-full px-2 pb-2"
>
{
SEARCH_CATEGORIES
.
every
((
category
)
=>
results
[
category
].
nodes
.
length
===
0
&&
results
[
category
].
edges
.
length
===
0
)
?
(
<
div
className
=
"ml-1 text-sm"
>
<
p
className
=
"text-secondary-500"
>
Found no matches...
</
p
>
Loading