Skip to main content

Johan Bové

Getting started with (HATEOS) and - awesome stuff - very cool how straightforward it is to get resources. Still figuring out how to optimize multiple calls to the API though.

Johan Bové

Learning how to properly use for unit testing in a Vue.js project. The Jest.js documentation is great and vue-test-utils is a super welcome addition to my tool belt. Thanks to all who contributed to making unit testing fun again. https://jestjs.io/en/

Johan Bové

What is this guide? | Vue testing handbook

Going to have to have a good read of this testing vue stuff handbook.

Johan Bové

Johan Bové

Chrome 72 and are not getting along. Multiple JavaScript console errors related to the "Known" object not being initialized yet. It all still works on Firefox 67. Going to have to do a full re-coding of Known's JavaScript implementation if this project is going to have to keep existing. Also, Content Security Policies and Indieweb don't get along very much yet either...

Johan Bové

Improving my Known site and template using Google's Lighthouse Audit

1 min read

As of today this is the Audit test result for "Desktop" (no throttling), with an authenticated session:

  • Performance: 100
  • Accessibility: 70
  • Best Practices: 79
  • SEO: 100

Next priority is to improve the score for "Accessibility".

  1. Image elements do not have alt attribute
  2. Form elements do not have associated labels
  3. Links do not have a discernible name

The "Best Practices" fixes will then be next:

  1. Does not use passive listeners to improve scrolling performance
  2. Links to cross-origin destinations are unsafe
  3. Includes front-end JavaScript libraries with known security vulnerabilities

 

The "known security vulnerabilities" is a tricky one as it requires updating the outdated Bootstrap version. 

Johan Bové

Johan Bové

Figuring out how to properly instantiate Vee-Validate instances in a cluster of Vue.js components in the most optimal way.

Johan Bové

Remember the days when we would use to put animated messages in the browser's status window?

Johan Bové

Playing with ; Following this to connect a page to a device and read and write commands to it with :
http://www.espruino.com/Web+Bluetooth