EpiHandle's corner of the Internet

Weekly Vusfy update #19

Jul 28, 2024

Hello everyone,

How are you? As always, it is a pleasure to have you here.

Welcome to the 19th instalment of the Weekly Vusfy progress updates. Let’s get into it.

Update dependencies

1 updated dependency a day keeps the tech debt away.

Redirect back to the goal page after any multiselect action

Imagine this scenario: you have selected 3 different goals, you click More on the multiselect bar that appears, and then you create a successful goal occurrence for today.

Previously, Vusfy just showed a success (or failure) message at the top of the same page. Now, if you were successful, Vusfy shows you the page of goals where you selected those goals.

In this page you are now viewing, there is also a button to reselect those same goals. Once clicked, you can click it again to deselect the same goals. You can select them again. Deselect them again. So on and so forth.

Redirect back to the event page after any multiselect action

Imagine this scenario: you have selected 3 different events, you click More on the multiselect bar that appears, and then you create a successful event occurrence for today.

Previously, Vusfy just showed a success (or failure) message at the top of the same page. Now, if you were successful, Vusfy shows you the page of events where you selected those events.

In this page you are now viewing, there is also a button to reselect those same events. Once clicked, you can click it again to deselect the same events. You can select them again. Deselect them again. So on and so forth.

An event can be a draft

I have found myself writing a long description for an event, and thinking “I wish I could set this event as a draft, so I know I am not done here”. So, I have made it possible. One of the perks of developing your own software.

Anyway, back to describing the feature. When creating or editing an event, I have added a new button, which works in the following way:

When you are viewing an event, you will see, at the bottom, if the event is a draft or not.

When you are viewing your list of events, you will see that all the draft events begin with DRAFT:, and then the event’s title. The DRAFT: is just visual, and not a part of the actual title.

Still on the page to view your events, I have added a link to a page where you can see all the drafted events. This page also has a link at the top that you can use to go back to the page with all your events.

A goal can be a draft

After events, goals receive the draft treatment too. I thought it would be weird for goals to not have it, since events do.

The basics are the same, but there are some details that are different: Vusfy does not assign any automatic value to the title (it does for events), nor does it set a deadline for the goal (for an event, it sets when it happened).

This means that, when creating a goal, you, the user, must assign a title to it. Then, by pressing the draft button, you can save the goal as a draft.

The rest is the same, but I am repeating myself for your convenience:

While working on the feature to set an event as draft, I have realised the page of archived events adds a back link. At the top of the archived events page, I add a link to go back to the list of events page.

And, while working on adding a back link to the archived events page, I noticed that the archived goals page lacks one too. I am impressed it took me this long to realise these links are missing. Not anymore.

As you may have guessed, at the top of the archived goals page, I add a link to go back to the list of goals page.

Conclusion

Thank you for your time, and until we meet again, take care of yourselves.

Cheers,
EpiHandle