SwEnt-Group13 / Unio

The world’s largest campus life platform.
3 stars 1 forks source link

chore(explore): adapt explore ui to respect the figma design #54

Closed Zafouche closed 1 week ago

Zafouche commented 1 week ago

Goal

The goal of this PR was to adapt the explore screen UI to better resemble the figma. This includes:

Challenge

The main challenge was the behavior of the lists.

What's left

This PR allows us to have somewhat a final design of the screen. Now, the backend remains. In a following PR, this screen will be adapted such that is used the view model to fetch the data. However, this requires two other things: defining association categories in our firestore, and having the logo image urls in each association's data in firestore. When this is done, the Explore screen will be finalized.

Zafouche commented 1 week ago

Well done ! I see why it may have been difficult for you to choose the right paddings to make the left edge cut the association logos when scrolling. I used git checkout to play a bit with your interface and that's really intuitive. Bravo !

Thank you! Yes, I was losing my mind at some point haha, but then I understood better how to juggle between the general padding and the contentPadding(which is more specific to the LazyColumn and LazyRow).

sonarcloud[bot] commented 1 week ago

Quality Gate Failed Quality Gate failed

Failed conditions
73.5% Coverage on New Code (required ≥ 80%)
3.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud