Great to see Ethan making progress under the watchful eye of club professional Andy Carlton. More work on the short game this week with great results. šš»

Great to see Ethan making progress under the watchful eye of club professional Andy Carlton. More work on the short game this week with great results. šš»

Looking forward to more nights like this when I can get both the boys out on the course.

Forgot how great the Silent Alarm album by Bloc Party is šµ.
Itās been a while since I dabbled in a bit of JavaScript. Itās not that I donāt like programming in JavaScript, it is growing on me, itās just Iāve never found a real use case for it in a web application. The thing about JavaScript though is that there are so many great frameworks available that mean you often donāt have to write any of the curly bracket stuff.
Vue.js has been on my radar for a while but what has really grabbed my interest has been the release of Stimulus.
For a lot of web applications I work on, I donāt want to re-write a whole view for a particular framework, I just want to enhance a part of that view. Both the above mentioned frameworks do this, but I decided to try and use Stimulus with a web application of my own just for fun.
The copy to clipboard is a nice example to start from in the Stimulus handbook and so I started with this basic example by adding a copy to clipboard button when displaying a writing prompt in PenMuse. Not only was it good to broaden my reach beyond the Rails code that I am used to writing, I also got to experiment with WebPacker as well.

The final results are good and there was a few hiccups along the way in trying to copy the prompt from an input element that didnāt interfere with the user interface.
I did at one point create an input elemement on the fly to copy the prompt from when the button was pressed, but it jerked the screen up and down on tablet devices as it was copying the prompt. Horrible.
I decided to settle on using an input group so that you can partially see the prompt being copied. Itās not ideal, but itās working and it doesnāt mess with the screen in anyway on different devices.
Iāve still got some adjustments to make for smaller devices like stacking the buttons on the home page so that they appear as a column but that will come later in the week.
Robots opening doors? Calm down people, weāre a long way from Skynet happening.
I could really do with a col-md-1.5 class about now. #webdevwoes
So, even with the night shift on, iPads arenāt good for night time reading. Already thought this would be the case. Just as well I prefer to read my Kindle at night.
Great to see the snow didnāt put Drew off from his golf yesterday.
Snow! What snow?
Would you download an app that wasnāt on the App Store and didnāt have any developer credentials (name, company etc) against it?