EpiHandle's corner of the Internet

Weekly Vusfy update #4

Apr 14, 2024

Hello everyone,

How are you? It is a pleasure to have you here.

Welcome to the 4th instalment of the Weekly Vusfy progress updates. Let’s dive straight in.

Dependency updates

So far, this section has appeared 4/4 times. What can I say? I enjoy the benefits of having up to date dependencies for Vusfy.

Improve the code linting

This is not something that has a direct impact on Vusfy, so I was on the fence about writing this. Then I thought, “what is stopping me?”. Nothing, so here we are.

During the latest round of dependency upgrades, Vusfy’s code linter started printing a warning message. It was along the lines of: “here are some installed extensions that you are not using”.

I added them, and the code is objectively better, thanks to them. However, I had to add a few exceptions, especially around database migrations. They are done, I am not going to modify old migrations, so why should I see a warning about them? I should not, in my opinion, hence the exceptions.

Singularise happenings in calendar

Previously, in the calendar, if there were happenings for a date, I always used happenings, even if there was only 1.

Now, if there is only 1 happening for a date, I show happening. If there are multiple, I show happenings.

Create calendar view for a goal’s goal occurrences

It occurred to me that it would be nice to have a calendar view for a goal’s goal occurrences. So, here we are.

When viewing a goal, by default you can see a list of goal occurrences. Now, you can also see a link for the calendar view of the same goal occurrences.

If there are goal occurrences, I show a link that leads you to a details page. This page shows the list of goal occurrences for the date, with links to view them, and their status.

Conclusion

As always, thank you for your time, and until we meet again, take care of yourselves.

Cheers,
EpiHandle