In an effort to satisfy GDPR requirements, it was apparent that I could no longer put off adding email integration to my app. Email marketing websites offered “beautiful, award-winning templates,” but what they lacked — what I craved — was the ability to maintain emails in the same way that I maintained the rest of my application: with changes tracked through GitHub so that it could undergo the same review and deploy process.
Your setup does not have to mirror mine exactly, but it is available to provide some context.
As a back-end developer delving into the world of Vue development, I quickly realized that unit testing would be critical to the success of my product. It felt like UI development was like playing a game of whack-a-mole, where fixing one thing resulted in undoing another thing fixed previously.
At first, I thought that component testing meant that I had to compare the DOM output against the combination of props, slots, triggers, and data sources. But writing tests to validate a component’s HTML seemed like it would lead to brittle, unwieldy tests, impractical for my rapidly evolving code base. …
I enjoy using code coverage tools. It promotes developer accountability and serves as a checklist for test cases that may be unnecessary or overlooked. It has some gamification elements as well, with the colors and percentages, that make my brain’s reward center squeal with delight.
What isn’t fun about code coverage was trying to figure out how to set it up correctly. I read so many articles and Stack Overflows that said the same wrong things. Here is what worked for me, and will hopefully work for you (for at least the next 6 months or so *wink*).
This method definitely works on Chrome, but not on Firefox. I have yet to validate this on IE or Safari.
If you are unfamiliar with the basics of the HTML Drag and Drop API, I would highly recommend that you read about it in the Mozilla Developer docs.
The documentation states that you can use any visible element on the DOM as the drag image. This undermines the intention of what we are trying to do because we want the element to only be visible as the drag image. …
Click on the sheet labeled “Staff” (in the bottom left-hand corner) and set it to the names of your staff members. Currently, it only supports up to 15 instructors, but you can add more colors by adding a rule in Format > Conditional Format Rules
Sure! Just set the start date in cell A1, and the week will automatically update itself.
No problem! Just add and delete rows as needed, the color formatting will remain the same.
Just copy and paste the week and update the start date!
Originally published at https://www.takeinitiative.io on October 7, 2020.
Software Engineer and Founder of Take Initiative, LLC