Commit Graph

62 Commits

Author SHA1 Message Date
Arthur Jamet
a3676fabf8 Front: Update User Avatar (#250)
* Front: Update User Avatar

* Front: Fix expo-image-picker version
2023-08-07 10:28:55 +02:00
Arthur Jamet
10d1342294 Front: Api models validation (#245)
* Front: Model: Write Validators

* Front: Plage response validator

* Front: API: Typing 'fetch' return

* Front: Basic Models: Response Handlers

* Front: API: Validate authentication response

* Front: Validate Search History

* Front: Validate Responses of User updates

* Front: On Validation Error, more verbose console error
2023-07-05 09:22:55 +01:00
Arthur Jamet
857158c6cf Front: Standardise queries (#233) 2023-06-23 15:16:22 +01:00
Arthur Jamet
3e84605c59 Front: If resource is not found, redirect to Error View 2023-06-22 18:30:52 +02:00
Arthur Jamet
c5d465df97 Front: Pretty and Lint (#225) 2023-06-17 07:01:23 +01:00
GitBluub
2434d5f5df fix: image via props and remove songIllustration function for cover property 2023-05-30 11:33:43 +02:00
GitBluub
6dcda01f6f feat: song illustrations code 2023-05-30 11:33:43 +02:00
GitBluub
3553954afd feat: artist illustrations 2023-05-30 11:33:43 +02:00
GitBluub
7f51582043 feat: front illustration, sorry for linting 2023-05-30 11:33:43 +02:00
Amaury
97bf7bdac8 Feature/adc/#192 barre de recherche (#201)
* context and react query add to searchView

* handle empty result + back

* #192 - New card components and history fetch + dummy suggestions fetch

* respoonsive design + filters map

* artist details view + translations + SongData mapping fix + items limitation

* history search back and front + cards + fix

* fixed useless history entries

* clean code

* clean code

* fix pr: SearchHistory new type related fixes

* simplified SearchResultComponent (useEffect removed, condition simplified to trigger different 'modes'

* search re-do onPress history cards + scoreView obj map

* clean code API.ts

* fix pr + search history behavior

* added utility function to get song suggestions with artists and fixed error types along the way

* fix in songrow the title didn't shrinked when not enough space on screen

* removed redirect callback from ArtistCard to ArtistResults

* moved the callback from genre card grid to searchresult and implemented history for songs

* SearchBar is now updating input search following stringQuery

* added scroll view to have the complete background

* Added the route props for query in Searchview

* fixed robot test

---------

Co-authored-by: Clément Le Bihan <clement.lebihan773@gmail.com>
2023-05-26 10:50:25 +02:00
Arthur Jamet
028aed2e9a Front: Fix getSongHistory route call 2023-05-25 17:40:03 +09:00
b80d4e20c1 Use the new history api on the front 2023-05-25 17:40:03 +09:00
Arthur Jamet
5bc4289bdc Front: Merge 2023-05-08 12:55:16 +01:00
Clément Le Bihan
c82cdc0445 PR fixes 2023-05-06 17:25:49 +02:00
Clément Le Bihan
1fa3d77e8d added search history in API.ts and displaying it on the HomePage 2023-05-06 17:25:49 +02:00
Arthur Jamet
5662082048 Front: Get Song History: Actually use API 2023-05-04 11:40:39 +01:00
Arthur Jamet
18cc79f4a2 Front: API: Type Raw responses 2023-05-01 15:32:23 +01:00
Arthur Jamet
c005ebbdc9 Front: Merge 2023-04-25 15:55:50 +01:00
Arthur Jamet
4b44ef0c11 Front: Remove comment 2023-04-23 15:32:44 +01:00
Arthur Jamet
bb96d57f27 Front: Use API to get settings 2023-04-23 15:30:37 +01:00
Arthur Jamet
88cfd1ecde Front: Fix Merge 2023-04-19 13:06:44 +01:00
Clément Le Bihan
fe782a4f94 fixed useQuery some code style and unused hooks 2023-04-19 06:01:13 +02:00
Clément Le Bihan
af3da974bf fixed bad naming for gamePlayed user data 2023-04-19 06:01:13 +02:00
Clément Le Bihan
1c76266444 added the front API function to tranform guest account into regular account and added translations 2023-04-19 06:01:13 +02:00
Clément Le Bihan
9d5060fc31 fixed missing isGuest info in the return of the user info from the front API wrapper, added a warning pop over when clicking disconnect while using a guest account 2023-04-19 06:01:13 +02:00
Clément Le Bihan
cf1e98f9e6 added createdAt info in user data and added types of elements to render in the list in order to have a more coherent look and a simpler api for the ElementList user 2023-04-19 06:01:13 +02:00
Clément Le Bihan
572bb0056d reamed user metrics into user data and added avatar picture and started to implement the user settings page 2023-04-19 06:01:13 +02:00
Clément Le Bihan
fbf85a635e fixed guest creation API front wrapping 2023-04-19 06:01:13 +02:00
Clément Le Bihan
728bb3d6a2 added guest support in the API and started the StartPageView layout 2023-04-19 06:01:13 +02:00
Arthur Jamet
4f9a3a9333 Front: Home Page: Use History 2023-04-12 11:31:20 +01:00
Clément Le Bihan
9dfc2881a2 added partyPlayed into the user metrics model and added a dummy profile setting view page 2023-04-05 16:33:24 +02:00
Clément Le Bihan
4e26925113 moved and reformat with tab SettingsView and updated view s with amaury's forms 2023-04-05 16:33:24 +02:00
Clément Le Bihan
8728707b28 updated API.ts handling code to update email and password 2023-04-05 16:33:24 +02:00
danis
ac4012087c password check 2023-04-05 16:33:24 +02:00
danis
6cca70a290 removed console.log + better reject message 2023-04-05 16:33:24 +02:00
danis
0fd64bfba0 clean code 2023-04-05 16:33:24 +02:00
danis
1fa43555df 94 - functionnal screens 2023-04-05 16:33:24 +02:00
danis
47629e3938 94 - API methods GET/POST 2023-04-05 16:33:24 +02:00
danis
ec4ee5b94a handlers 2023-04-05 16:33:24 +02:00
Arthur Jamet
2bed2e1c64 Front/use search api (#167) 2023-03-08 16:29:30 +00:00
Clément Le Bihan
eee51ffddd Using a random subset of all songs in searchHistory and PlayHistory 2023-02-24 10:01:38 +01:00
Clément Le Bihan
c00a96a987 deactivating refetchOnWindowFocus globally and fetching songs from /song 2023-02-24 10:01:38 +01:00
Clément Le Bihan
48deb3c176 Added APIError en exception to filter out any system Error providing an easy way to handle business errors with translations 2023-02-23 19:00:12 +01:00
Clément Le Bihan
ba87662b73 added dummy sources until the APi gives us real covers, because I'm sick of amy whitehouse 2023-02-23 19:00:12 +01:00
Clément Le Bihan
3fc6de509f song related functions are using getSong to get real info but the initial data is faked 2023-02-23 19:00:12 +01:00
Clément Le Bihan
473672ac33 fixed the getSong of the API.ts but modifications of the backend must be done 2023-02-23 19:00:12 +01:00
Clément Le Bihan
68f618ad64 fixed the getUserInfo of API.ts 2023-02-23 19:00:12 +01:00
Arthur Jamet
d9e33a9847 front: Play Page: Midi Playback (#127) 2023-01-27 16:01:30 +00:00
Clément Le Bihan
b2bbf76705 fix baseAPIUrl to use reverse proxy 2023-01-26 17:44:50 +09:00
Arthi-chaud
24baef9c5a Front: API Wrapping :Fix hard-coded values 2023-01-25 14:13:00 +00:00