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

Remove old search for mobile #3320

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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
6 changes: 0 additions & 6 deletions src/assets/icons/icon-search-empty.svg

This file was deleted.

5 changes: 2 additions & 3 deletions src/modules/navigation/AppRoute.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import { Route, useParams, Outlet, Navigate } from 'react-router-dom'

import { RealTimeQueries } from 'cozy-client'
import { AssistantDialog } from 'cozy-dataproxy-lib'
import { AssistantDialog, SearchDialog } from 'cozy-dataproxy-lib'
import flag from 'cozy-flags'

import ExternalRedirect from './ExternalRedirect'
Expand Down Expand Up @@ -42,7 +42,6 @@ import { NextcloudFolderView } from '@/modules/views/Nextcloud/NextcloudFolderVi
import { NextcloudMoveView } from '@/modules/views/Nextcloud/NextcloudMoveView'
import { NextcloudTrashEmptyView } from '@/modules/views/Nextcloud/NextcloudTrashEmptyView'
import { NextcloudTrashView } from '@/modules/views/Nextcloud/NextcloudTrashView'
import SearchView from '@/modules/views/Search/SearchView'
import { TrashDestroyView } from '@/modules/views/Trash/TrashDestroyView'
import { TrashEmptyView } from '@/modules/views/Trash/TrashEmptyView'

Expand Down Expand Up @@ -190,7 +189,7 @@ const AppRoute = () => (

<Route path="file/:fileId" element={<FileOpenerExternal />} />

<Route path="search" element={<SearchView />} />
<Route path="search" element={<SearchDialog />} />

<Route
path="assistant/:conversationId"
Expand Down
148 changes: 0 additions & 148 deletions src/modules/search/components/BarSearchAutosuggest.jsx

This file was deleted.

43 changes: 0 additions & 43 deletions src/modules/search/components/BarSearchInputGroup.jsx

This file was deleted.

44 changes: 0 additions & 44 deletions src/modules/search/components/SearchEmpty.jsx

This file was deleted.

63 changes: 0 additions & 63 deletions src/modules/search/components/SuggestionItem.jsx

This file was deleted.

44 changes: 0 additions & 44 deletions src/modules/search/components/SuggestionItemSkeleton.jsx

This file was deleted.

Loading
Loading