Developer Diary
  • Developer Diary
  • 2019

    • June 2019
    • July 2019
    • August 2019
    • September 2019
    • October 2019
    • November 2019
    • December, 2019
  • 2020

    • January 2020
    • February 2020
    • March 2020
    • April 2020
    • May, 2020
    • June 2020
    • July 2020
    • August 2020
    • September 2020
    • October 2020
    • November 2020
    • December 2020
  • 2021

    • January 2021
    • February 2021
    • February 2021
    • April 2021
    • May 2021
    • June 2021
    • July 2021
    • August 2021
    • September 2021
    • October 2021
    • November 2021
    • December 2021
  • 2022

    • January 2022
    • February 2022
    • March 2022
    • April 2022
    • May 2022
    • June 2022
    • July 2022
    • August 2022
    • September 2022
    • October 2022
    • November 2022
    • December 2022
  • 2023

    • January 2023
    • February 2023
    • March 2023
    • April 2023
    • May 2023
    • June 2023
    • July 2023
    • August 2023
    • September 2023
    • October 2023
    • November 2023
  • 2024

    • January 2024
    • February 2024
    • March 2024
    • April 2024
    • May 2024
    • June 2024
    • July 2024
    • August, 2024
    • September 2024
    • October 2024
    • November 2024
    • December 2024
  • 2025

    • January 2025
    • February 2025
    • March 2025
    • April 2025
    • May 2025
    • June 2025
    • July 2025
    • August 2025
    • September 2025
    • October 2025
    • November 2025

June 10, 2019

I peer reviewed J's work on Minor's Farm to Label page.

Reviewed design changes on new PLV form.

Reviewed possible analytics issues on a JMS landing page that's in development.

  • Issue is that AS provided GA and GTM code snippets. The GTM container is completely empty, so only the GA pageview is firing. Typically we wouldn't put GA and GTM on the same page, so waiting on clarification.

I updated my nuxt base with focus stuff for modal

  • according to Aria practices
  • the last part about using aria-hidden on everything else seems quite complex, skipping that
  • another issue is that I designed my modal to have any interior content, but setting the focus on the item you want may not work with slots. Will need to test with real content sometime.

Added nuxt/sitemap to my nuxt base.

Updated all version numbers in package.json

Helped H with some v-model stuff related to checkboxes.

  • Looks like if you have multiple checkboxes hooked up to the same model, with no values, it'll just be a boolean and they'll overwrite each other, if you set a value to a string, they'll populate an array automatically.

Researched vue based carousels / sliders, to maybe replace Hooper

  • Vue Carousel : Fengyuanchen
  • for Owl Carousel
  • Vue Glide
  • For Flickity!
  • Vue Carousel
  • More at Madewithvuejs

Worked on more Strapi proving out. Will meet tomorrow with other senior devs to see what they think.

Started developing button styles for TAP site.

Turns out Sass doesn't recommend interpolating numbers.

  • Sass Documentation: Interpolation
  • Used some suggestions from here instead
    • Px to Em Functions
$browser-context: 16;

body {
  font-size: $browser-context * 1px;
}

@function em($pixels, $context: $browser-context) {
  @if (unitless($pixels)) {
    $pixels: $pixels * 1px;
  }

  @if (unitless($context)) {
    $context: $context * 1px;
  }

  @return $pixels / $context * 1em;
}

h1 {
  font-size: em(48);
}

Starting development on angled things for TAP

  • clip-path is great, but it lacks support.
  • SVG option works but is extremely verbose.
  • found a nice mixin for using psuedo elements to simulate skewed edges here