from Build stuff; Break stuff; Have fun!

Aaaand the last MVP feature is implemented. Today I've added a photo upload for each entry. The user can add 5 images to each entry and can choose one main photo, which is then displayed on the entry list. And the user can remove the images as well.

This gives the app a nice personal touch. I hope that I don't reach any limits soon with this in Supabase. I never used the file storage before. It's a bit exciting; there are a lot of first times in this project. πŸ˜€

πŸ‘‹


80 of #100DaysToOffload
#log #AdventOfProgress
Thoughts?

 
Weiterlesen... Discuss...

from Build stuff; Break stuff; Have fun!

For this day, I wanted to implement swipe gestures to edit or delete a list entry. More complex than initially thought but doable within this day.

There were 3 packages to install: a gesture handle, an animation lib, and expo-haptics. After creating a swipeable row, I needed to implement the actions for edit and delete some hooks and was mostly done. After writing this all down, it sounds less complex than it felt when I implemented it. πŸ˜…

While testing the app, I saw a caching bug after switching users. User2 saw the data of User1 after a sign-out and new sign-in because the cache was not cleared on user change.

πŸ‘‹


79 of #100DaysToOffload
#log #AdventOfProgress
Thoughts?

 
Weiterlesen... Discuss...

from Dallineation

In his book Mere Christianity, C.S. Lewis explains the Christian perspective on the relationship of human individuals to one another, and two errors we are tempted to fall into.

Christianity thinks of human individuals not as mere members of a group or items in a list, but as organs in a body – different from one another and each contributing what no other could. When you find yourself wanting to turn your children, or pupils, or even your neighbours, into people exactly like yourself, remember that God probably never meant them to be that. You and they are different organs, intended to do different things. On the other hand, when you are tempted not to bother about someone else's troubles because they are 'no business of yours', remember that though he is different from you he is part of the same organism as you. If you forget that he belongs to the same organism as yourself you will become an Individualist. If you forget that he is a different organ from you, if you want to suppress differences and make people all alike, you will become a Totalitarian. But a Christian must not be either a Totalitarian or an Individualist.

I feel a strong desire to tell you – and I expect you feel a strong desire to tell me – which of these two errors is the worse. That is the devil getting at us. He always sends errors into the world in pairs – pairs of opposites. And he always encourages us to spend a lot of time thinking which is the worse. You see why, of course? He relies on your extra dislike of the one error to draw you gradually into the opposite one. But do not let us be fooled. We have to keep our eyes on the goal and go straight through between both errors. We have no other concern than that with either of them.

#100DaysToOffload (No. 119) #faith #Christianity #politics

 
Read more... Discuss...

from Build stuff; Break stuff; Have fun!

I thought the task for this day would be easier. But using a username for sign-in is quite challenging to implement with Supabase. :/

Now I have a new table for profiles, besides the auth table Supabase provides. Because Supabase Auth can't handle sign-in with a username, I now also have an edge function running. Which I never used before. It works, so I don't complain. :)

Maybe this is something you normally don't need for an MVP, but I was tired of typing an email for the sign-in. So, for me, it needs to be in the MVP.

When I was done, I staged my changes, and I noticed that I accidentally committed my .env file. So I used git-filter-repo to remove the env file from git history. What I did not know was it removed all my staged changes without a warning. 😱 That was a shock. A big one. After some minutes walking through the house, I calmed down and sat back on the chair. I was able to rescue around 85% of the files. The rest I could reproduce somehow.

WHAT an evening! I'm back on track and happy the accident was not that bad.

πŸ‘‹


78 of #100DaysToOffload
#log #AdventOfProgress
Thoughts?

 
Weiterlesen... Discuss...

from Build stuff; Break stuff; Have fun!

On Day 19, I made some updates so that the app feels more like an app inside the device.

It got a proper app icon and a splash screen that work in light and dark mode. Currently I focus more on a good integration with iOS; Android is coming later.

I also added a date picker. Before it was basic string insertion into the date field, which is not a good UX.

πŸ‘‹


77 of #100DaysToOffload
#log #AdventOfProgress
Thoughts?

 
Weiterlesen... Discuss...

from Build stuff; Break stuff; Have fun!

Even if I don't post daily, I'm still making progress. I just focus more on the progress part and not on the documenting one. 😎It’s crazy how all this is coming together while I work full-time and manage family and renovating the basement. 🀯

On Day 18, the two main points on this day were a new home screen, which shows some nice little statistics, and the move to tanstack/query for a shared data layer. (Which I should have used directly from the start.)

The home screen is now showing a clean grid with 5 tiles that show summaries and top entries. The top entry tiles are clickable/tappable and trigger a search in the entry list, which feels good and in the correct place. The summary tiles are using a simple SVG chart, a bar chart to be precise.

πŸ‘‹


76 of #100DaysToOffload
#log #AdventOfProgress
Thoughts?

 
Weiterlesen... Discuss...

Join the writers on Write.as.

Start writing or create a blog