Activity

Jaku

When I started working on the profile screen, I changed a lot of stuff in the db and the filtering of matches in the schedule broke because of that. I now fixed it to work with the new architecture.
Apart from that I also fixed how the schedule scrolled when choosing a filter, because it was disturbing, and the hardware back button on android now closes the teams list when choosing the teams to filter by in the advanced filters.

0
Jaku

I unfortunately didn’t code much lately and haven’t added a devlog in so long. I promise not to do that again.

I created the profile screen and added some personal info there which user will also be able to edit. Most importantly tho, I added detailed statistics about the user teams’ performance, both overall across all leagues and league specific.

0
Jaku

The first and main page in the app is done - the Schedule

Previously I created a function to fetch filtered matches every time a filter changes.

Now, I connected this to the UI, so all the filter buttons now actually apply filters to the schedule in an optimized way. I also fixed filtering by a team - it turns out the OR supabase filter doesn’t work with multiple tables, and I have to join the matches and teams table to get the match’s team’s name… so I used a different approach. Oh and the teams you can select to filter by are now actually fetched from supabase, not dummy list of random teams.

0
Jaku

I added some data to supabase and the app now fetches matches from supabase based on filters, each time the user changes a filter. I need to add a confirm button to the advanced filters page, so we only fetch the matches when user is sure about the filters, more efficient.

Attachment
0
Jaku

WOW, time flew so fast I somehow did over the 10h mark. I zoned out and didn’t even realize how much time has past. I did a bunch of work tho.

I made the UI for the advanced match schedule filters. Currently there are four:

  1. Timeframe (we use a calendar to apply this filter)
  2. League (we have basketball, voleyball and football leagues, HBL, HVL and HLK
  3. Match stage (eg. finals, semifinals)
  4. Teams that are playing in a match (you can select multiple and matches with at least one of these will pop up, or just one team)

I spent a long time doing the UI for this, but it looks great honestly. The whole filters page opens in a bottom sheet, I also made a sleek looking calendar and a flat list with a search bar for selecting the teams (as there are dozens of teams).

Now what’s left to do is to connect apply these filters to the list of matches, which should be rather easy. And of course to replace the current dummy data with supabase data (I will have to create myself too).

0
Jaku

I looked up my previous “redirect to app approach from magic link” was no good and expo router should handle some of the stuff so I made some adjustments.
I fished making the schedule UI, added date headers to separate matches happening on different days. I also made the filtering buttons function, you can filter by past, today’s and upcoming matches.
The schedule uses dummy data for now, I will have to get the data from supabase.

1

Comments

Jaku
Jaku about 1 month ago

The language of the app is Polish btw

Jaku

I created an icon for the app in Figma. It’s my first icon/logo ever!
It’s really simple - my school’s logo (the face) with a golden medal often associated with sports.

Attachment
0
Jaku

I have started this project but had a break from it. I didn’t do much before, just the authentication flow, set up the database and started working on one of the screens.
First thing when I return to this project I changed the auth flow to passwordless. The app now sends an email with a magic lin and after clicking it you return to the app and are logged in. I had countless problems setting up the SMTP with supabase (AWS SES in this instance but I will have to switch bc they denied my production access like 5 times) and deep linking, which is probably still not ideal.

0