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: differentiate events by host and participants labels #247

Merged
merged 8 commits into from
May 26, 2024

Conversation

Aidasvenc
Copy link
Collaborator

@Aidasvenc Aidasvenc commented May 24, 2024

What I did

Now each event card will show whether you are already registered to an event and whether you are a host of that event or not. Also, each card contains a small profile picture of each participant.

Bonus: fixed layout in events screen so that it can accommodate more event cards with less padding.

How I did it

  • Added needed styling and components
  • Defined a function to fetch all user pictures from the backend
  • Changed the layout

How to verify it

Try to create an event or register to it.

Demo

drawing

Pre-merge checklist

The changes I have introduced:

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

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, everything works on my android device (I checked the box).

Copy link

sonarqubecloud bot commented May 26, 2024

@Aidasvenc Aidasvenc merged commit 5217131 into main May 26, 2024
3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants