Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bed 5498: Move node search component to bh-shared-ui #1313

Merged
merged 1 commit into from
Apr 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed cmd/ui/public/img/logo-animated.gif
Binary file not shown.
2 changes: 1 addition & 1 deletion cmd/ui/src/views/Explore/ExploreSearch/ExploreSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
CYPHER_SEARCH,
CypherSearch,
Icon,
NodeSearch,
PATHFINDING_SEARCH,
PRIMARY_SEARCH,
PathfindingSearch,
Expand All @@ -30,7 +31,6 @@ import {
} from 'bh-shared-ui';
import React, { useState } from 'react';
import { useAppDispatch, useAppSelector } from 'src/store';
import NodeSearch from './NodeSearch';
import {
useCypherSearchSwitch,
useNodeSearchSwitch,
Expand Down
2 changes: 1 addition & 1 deletion cmd/ui/src/views/Explore/ExploreSearch/ExploreSearchV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
ExploreSearchTab,
Icon,
MappedStringLiteral,
NodeSearch,
PathfindingSearch,
cn,
encodeCypherQuery,
Expand All @@ -34,7 +35,6 @@ import {
usePathfindingSearch,
} from 'bh-shared-ui';
import React, { useState } from 'react';
import NodeSearch from './NodeSearch';

const useStyles = makeStyles((theme) => ({
menuButton: {
Expand Down
41 changes: 0 additions & 41 deletions cmd/ui/src/views/Explore/ExploreSearch/useNodeSearchSwitch.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
//
// SPDX-License-Identifier: Apache-2.0

import { ExploreSearchCombobox, SearchValue } from 'bh-shared-ui';
import ExploreSearchCombobox from '../../../components/ExploreSearchCombobox';
import { SearchValue } from '../../../store';

type NodeSearchState = {
searchTerm: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
// SPDX-License-Identifier: Apache-2.0

export { default as CypherSearch } from './CypherSearch';
export { default as NodeSearch } from './NodeSearch';
export { default as PathfindingSearch } from './PathfindingSearch';
Loading