Feature/addsearchpage (#85)

* Added a searchbar view with a debounce

* Added SearchBar with suggestions handled

* Front: Fix style of search suggestions

* added multiple types of suggestions and fixed image rendered

* Search bar revamped done

* removed unused files

Co-authored-by: Arthi-chaud <arthur.jamet@gmail.com>
This commit is contained in:
Clément Le Bihan
2022-10-25 18:36:44 +01:00
committed by GitHub
parent 30d3be72b2
commit 284da8b8c7
8 changed files with 262 additions and 12 deletions
+2
View File
@@ -2,6 +2,7 @@ import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import AuthenticationView from './views/AuthenticationView';
import HomeView from './views/HomeView';
import SearchView from './views/SearchView';
import SetttingsNavigator from './views/SettingsView';
import { NavigationContainer } from '@react-navigation/native';
import { useSelector } from './state/Store';
@@ -14,6 +15,7 @@ export const protectedRoutes = <>
<Stack.Screen name="Home" component={HomeView} options={{ title: translate('welcome') }} />
<Stack.Screen name="Settings" component={SetttingsNavigator} options={{ title: 'Settings' }} />
<Stack.Screen name="Song" component={SongLobbyView} options={{ title: translate('play') }} />
<Stack.Screen name="Search" component={SearchView} options={{ title: translate('search') }} />
</>;
export const publicRoutes = <React.Fragment>