# October 8, 2019

# TAP, figure out when there's no video.

hasVideo () {
  return this.rawWork.data.body.some((s) => {
    return s.slice_type === 'video'
  })
},
1
2
3
4
5

# PGP Meeting and defining tasks and assigning.

# PGP Form work, trying to figure out Umbraco forms

# Lupe sprint planning

# PGP Form work, finally got form to show up, now it's erroring out, might have to do with umbraco forms license.

# HLF Estimation

# TAP Updates - band with webp stuff

  • realized webp detector from npm wasn't working. Returning true in Safari. Found this snippet and adapted to my Vue component.

https://davidwalsh.name/detect-webp

  data () {
    return {
      isWebP: false
    }
  },
  async mounted () {
    this.isWebP = await this.webP()
  },
  methods: {
    // https://davidwalsh.name/detect-webp
    async webP () {
      if (!self.createImageBitmap) {
        return false
      }
      const webpData = 'data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA='
      const blob = await fetch(webpData).then(r => r.blob())
      return createImageBitmap(blob).then(() => true, () => false)
    }
  }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

# JMS Forms not working on their staging, trying to debug

Last Updated: 10/11/2019, 2:47:53 AM