Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: interests from the database #139

Merged
merged 8 commits into from
May 1, 2024

Conversation

Fyuryy
Copy link
Collaborator

@Fyuryy Fyuryy commented May 1, 2024

How I did it

I've written by hand all interests in the database. I decided to create an Interests object, containing a title, a category and an image URL, which will or not be used to import images.
Then I fetch the interests asynchronously. Therefore I had to change the functions logic so it would work with this new implementation.
I tested the interest object and the Interest Screen

How to verify it

Sign-in in the application and go to InterestsScreen, right after InformationScreen. You should see new interests added in the list

Demo video

No need for video as the functionalities of the screen remain strictly the same. The only difference is the listed interests. For now, we have 50 interests of around 6 categories: Music, Sports, Games, General, Fitness, Cooking

Pre-merge checklist

The changes I have introduced:

  • work correctly
  • do not break other functionalities
  • work correctly on Android
  • are fully tested

Fyuryy added 2 commits April 30, 2024 23:05
Now interests are fetched from the database rather than written on the code
Copy link
Collaborator

@GaelCondeLosada GaelCondeLosada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good PR, not much to say except one comment I've left. Everything works on my android device (I've checked the box).

@GaelCondeLosada
Copy link
Collaborator

Also don't forget to address sonar cloud issues before merging.

Copy link
Collaborator

@GaelCondeLosada GaelCondeLosada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AlbertoCentonze AlbertoCentonze changed the title Fetching interests from the database feat: interests from the database May 1, 2024
Copy link

sonarqubecloud bot commented May 1, 2024

@Fyuryy Fyuryy merged commit b71df61 into main May 1, 2024
3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants