Using HTML 5 Inputs in Drupal 7 Through Theming

I'm putting together a feedback form for a client today in Drupal. I've been experimenting with ways to improve the form's efficiency, just general UX. One of the sticking points for me was the complete lack of simple support for HTML 5 input types in Drupal 7. Thankfully this is fixed in Drupal 8. But for those of us needing to work today, here's an easy solution.

Tags: 

HTML Download Attribute - SSL Gotcha

I ran across a nifty QA issue today. It's certainly a fringe case, but I found no documentation about it anywhere.

Tags: 

Automated End To End Testing for Angular

I first learned protractor for use in end to end (E2E) testing for bigshotbracket.com. That was a savage crash course, with a lot of mistakes. My latest project has given me a chance to review how I implemented that testing, and improve on it. I finally feel like I understand it well enough to share with confidence that I'm doing things correctly. So I'll expand on the concepts from the official tutorial and it's limited handling of page abstractions.

Tags: 

AngularJS - Hold To Activate Button Directive

I needed a hold button that gave visual feedback. This fills with a color and duration you define then calls whatever method you give it. Arguments are allowed as part of the success callback. I'll continue to tweak on it as I use it more.

Tags: 

Pages

Subscribe to Fragmented Thought RSS