Automatic release notes on Azure DevOps

If you are neck-deep into DevOps using Azure DevOps, chances are that you have your code on a git repository, have PBIs or Stories, are using Pull requests, Builds, and releases. If you are doing all of this good stuff, great! Carry on and I will show you how to get that shiny cherry on top of your cake. If you are not, you can probably benefit from this post too, but you will have to figure out how to do the same using the tools you love....

April 2, 2020 · 3 min · LPains
Keyboard

Xamarin Forms Handle Android Key Up event

Devices that are optimized for industrial purposes are typically rugged, have physical keyboards, and are very expensive. Why keyboards, you ask? First, a lot of those devices are still running Windows CE. Second, it is not uncommon for them to be used by workers wearing gloves. This is especially true in cold warehouses. Thus, having to use touch in these scenarios is less than ideal. In this post, I wanted to write about how you can handle keyboard events for an Android app built using Xamarin Forms....

March 20, 2020 · 2 min · LPains
Timezones

Xamarin Forms converting from one timezone to another

There is a pattern here, I think. I don’t like to work with dates and you probably know that by now. Anyway, don’t like them, got to work with them. In this episode of Pains against dates, I wanted to write about something very specific that I had the pleasure to troubleshoot last week. I have this very important and somewhat old app where all dates are saved using server local time....

March 16, 2020 · 1 min · LPains
Working with time

Overriding standard date formatting of axios for post/put/patch

Let’s start by pointing out the obvious. It is painful to work with dates. No matter the technology, it is just harder than it should be. Anyway… I stumbled across one of those annoying date related issues with axios. Just to be fair, the problem is not necessarily an axios problem, I just got to it when using axios. By default, axios will use JSON.stringify to convert an object to a json....

February 13, 2020 · 1 min · LPains
Dirty rugby match

Vue router dirty checking before navigation

Ever filled up a form with a bunch of information and then accidentally navigated away and lost all data? Well, that’s frustrating. However, as a developer, it might be tricky to implement such functionality. This post is a practical guide to implementing is dirty checking using Vue, Vue Router and Typescript. TL;DR Code is available on GitHub. Expected behavior In a Vue app with Vue Router, when a user modifies data in a form and any navigation to another route occurs, the user should be notified and have the ability to cancel navigation....

January 11, 2020 · 2 min · LPains