profile
viewpoint

GoogleChromeLabs/quicklink 8535

⚡️Faster subsequent page-loads by prefetching in-viewport links during idle time

guess-js/guess 6455

🔮 Libraries & tools for enabling Machine Learning driven user-experiences on the web

KyleAMathews/blog 113

my blog!

bvaughn/react 14

A declarative, efficient, and flexible JavaScript library for building user interfaces.

KyleAMathews/aiocalendar 6

All-in-one calendar feature built in Drupal

davad/fsapi 4

Drupal api wrapper module around php-fsapi to let drupal modules access familysearch

KyleAMathews/atrium_book 2

port of atrium_book to Eduglu, KIT-complient, likely soon to be superceeded by new atrium_book version

KyleAMathews/awesome-gatsby 2

⚛️ 📄 🚀 Awesome list for the mighty Gatsby.js, a blazing fast React static site generator.

pull request commentgatsbyjs/gatsby

fix(gatsby): notify when Gatsby cache is incomplete

🙏 this has frustrated a lot of people in the past, thanks!

vladar

comment created time in 5 minutes

MemberEvent

issue commentgatsbyjs/gatsby

Getting `Loading (StaticQuery)` with version 2.24.11 (production only)

You need to change the URL to your site's production URL.

On Sun, Oct 18, 2020, 6:07 PM yoshi-star notifications@github.com wrote:

@KyleAMathews https://github.com/KyleAMathews

I tried and got below. Is it running normally? [image: image] https://user-images.githubusercontent.com/71750189/96389380-35595b00-11ea-11eb-8d0c-05a8c851338d.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gatsbyjs/gatsby/issues/26038#issuecomment-711444915, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARLB474KBGVNP7TD6GU5DSLN7MZANCNFSM4PIMLHBQ .

M-i-k-e-l

comment created time in 14 hours

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 21cab9db40b204bbee843e63ae4f5b5a4ac75f41

fix test

view details

push time in 3 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha a10f0709758ab3cf73189af47c2838528753e7ad

Restore support for dev 404 page

view details

push time in 3 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha d4e4b2e802a1f87cff3de007c8f8cd7ff277e368

update snapshots

view details

Kyle Mathews

commit sha cdea9a04a7962de5820fc36ef3543ba6a89f5c03

cleanup

view details

push time in 3 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 424baaa9a06bcfb1358f4312803ba54c95c072ef

track usage while we're in experimental stage

view details

push time in 3 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 3442a006e920c703006089e41c625eec6323b009

cleanup

view details

push time in 3 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 616d8561500cadf7840ceaec439d9c21a898682c

Lighten how much the dev ssr html webpack instance is watching

view details

push time in 3 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 2e05cb5ac70bd0a9c32137aacff89cd93df61b67

Feature flag functionality behind env variable

view details

push time in 3 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 8ab60c9403cc21704e89ca072923f421770cf97c

Add test for error parsing & codeframe creation

view details

Kyle Mathews

commit sha 68d27102bbde0d07f1fdee1b079293183d5791c2

add return type

view details

push time in 3 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 494415f5c0f99cebdf8e7a5cad227ab7e17291ee

back out moving dev html route into state machine

view details

Kyle Mathews

commit sha ff59c2d68407a4ce12b61b63b6bad8e225d9d57a

cleanups

view details

Kyle Mathews

commit sha 93e8fa1057490fc3bbbf2c2b36d9f78bc29450e5

more cleanups

view details

Kyle Mathews

commit sha 29a291e8da4d407bad580a6e5bb7edad3a18794c

yet moer cleanups

view details

push time in 3 days

issue commentgatsbyjs/gatsby

Gatsby Recipes Umbrella Issue

@crock yeah I added validation that plugins must have an equivalent NPM package. Local plugins need a isLocal prop to tell Gatsby to avoid this check (https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-recipes/README.md#props) — I didn't update this recipe. Could you PR a fix?

KyleAMathews

comment created time in 3 days

issue commentgatsbyjs/gatsby

Getting `Loading (StaticQuery)` with version 2.24.11 (production only)

For people having problems here — could you validate your cache-control headers are setup correctly by running: npx check-gatsby-caching https://url-of-your-gatsby-site.com

M-i-k-e-l

comment created time in 3 days

push eventKyleAMathews/check-gatsby-caching

Kyle Mathews

commit sha 2de86eca60b1be48869cc4b6706039457761d855

Update README.md

view details

push time in 3 days

created tagKyleAMathews/check-gatsby-caching

tagv0.0.2

Checks if your Gatsby site's cache-control headers are correct and optimized

created time in 3 days

created tagKyleAMathews/check-gatsby-caching

tagv0.0.1

Checks if your Gatsby site's cache-control headers are correct and optimized

created time in 3 days

push eventKyleAMathews/check-gatsby-caching

Kyle Mathews

commit sha e53b33acd0290fcb03e2c504a9d07683b3db2475

initial commit

view details

Kyle Mathews

commit sha 5cb41b2af6c257372fd484c820d048b2dcd9236a

0.0.1

view details

Kyle Mathews

commit sha f3ad978d07ccf7e8411aeee55babe774e2cba20f

Update the readme

view details

Kyle Mathews

commit sha 59322a9fc4066e2bad31b6ad91e7278689848e94

0.0.2

view details

push time in 3 days

create barnchKyleAMathews/check-gatsby-caching

branch : main

created branch time in 4 days

created repositoryKyleAMathews/check-gatsby-caching

Checks if your Gatsby site's cache-control headers are correct and optimized

created time in 4 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 0e0cefd1c2ce428f854b7dd818e6ef863568f620

Start migrating route handler to spawned service

view details

push time in 4 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha f32c6823dc0e8a189ab87c8ba23679947b6f6f21

Remove outdated typography.js test

view details

push time in 4 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 4c86edb023372e6b677ec3d4b28aac83f1098cdf

moer merry type work

view details

push time in 4 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 1311c34efa13ed0042ce739939efe7e7472a71b1

Add missing globals to tests & update snapshots

view details

push time in 4 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha cbf16e07c2fcfa018e839aff76a91285f8094eba

maybe typescript happy

view details

push time in 4 days

Pull request review commentgatsbyjs/gatsby

WIP: more work on develop SSR

 export async function startServer(     res.status(404).end()   }) +  interface IErrorPosition {+    filename: string+    line: number+    row: number+  }+  const getPosition = function (stackObject): IErrorPosition {+    let filename+    let line+    let row+    // Because the JavaScript error stack has not yet been standardized,+    // wrap the stack parsing in a try/catch for a soft fail if an+    // unexpected stack is encountered.+    try {+      const filteredStack = stackObject.filter(function (s) {+        return /\(.+?\)$/.test(s)+      })+      let splitLine+      // For current Node & Chromium Error stacks+      if (filteredStack.length > 0) {+        splitLine = filteredStack[0].match(/(?:\()(.+?)(?:\))$/)[1].split(`:`)+        // For older, future, or otherwise unexpected stacks+      } else {+        splitLine = stackObject[0].split(`:`)+      }+      const splitLength = splitLine.length+      filename = splitLine[splitLength - 3]+      line = Number(splitLine[splitLength - 2])+      row = Number(splitLine[splitLength - 1])+    } catch (err) {+      filename = ``+      line = 0+      row = 0+    }+    return {+      filename: filename,+      line: line,+      row: row,+    }+  }+  // Colors taken from Gatsby's design tokens+  // https://github.com/gatsbyjs/gatsby/blob/d8acab3a135fa8250a0eb3a47c67300dde6eae32/packages/gatsby-design-tokens/src/colors.js#L185-L205+  const colors = {+    background: `fdfaf6`,+    text: `452475`,+    green: `137886`,+    darkGreen: `006500`,+    comment: `527713`,+    keyword: `096fb3`,+    yellow: `DB3A00`,+  }++  interface IParsedError {+    filename: string+    code: string+    codeFrame: string+    line: number+    row: number+    message: string+    type: string+    stack: [string]+  }++  const parseError = function (err): IParsedError {+    const stack = err.stack ? err.stack : ``+    const stackObject = stack.split(`\n`)+    const position = getPosition(stackObject)+    // Remove the `/lib/` added by webpack+    const filename = path.join(+      directory,+      ...position.filename.split(path.sep).slice(2)+    )+    const code = fs.readFileSync(filename, `utf-8`)+    const line = position.line+    const row = position.row+    ansiHTML.setColors({+      reset: [colors.text, colors.background], // FOREGROUND-COLOR or [FOREGROUND-COLOR] or [, BACKGROUND-COLOR] or [FOREGROUND-COLOR, BACKGROUND-COLOR]+      black: `aaa`, // String+      red: colors.keyword,+      green: colors.green,+      yellow: colors.yellow,+      blue: `eee`,+      magenta: `fff`,+      cyan: colors.darkGreen,+      lightgrey: `888`,+      darkgrey: colors.comment,+    })+    const codeFrame = ansiHTML(+      codeFrameColumns(+        code,+        {+          start: { line: line, column: row },+        },+        { forceColor: true }+      )+    )+    const splitMessage = err.message ? err.message.split(`\n`) : [``]+    const message = splitMessage[splitMessage.length - 1]+    const type = err.type ? err.type : err.name+    const data = {+      filename: filename,+      code,+      codeFrame,+      line: line,+      row: row,+      message: message,+      type: type,+      stack: stack,+    }+    return data+  }+   // Render an HTML page and serve it.-  app.use((_, res) => {-    res.sendFile(directoryPath(`public/index.html`), err => {-      if (err) {-        res.status(500).end()+  app.use(async (req, res, next) => {+    const { pages } = store.getState()++    if (!pages.has(req.path)) {+      return next()+    }++    // Sleep until any work the server is doing has finished.+    await new Promise(resolve => {

yeah this make sense – I'm starting to waver a bit on doing this though as we'd want to tightly limit how long the handler waits for changes e.g. 2-3 seconds — it's better at some point to show stale data than to keep waiting as the update would get pushed to the client once it's done.

Hmm though yeah I could still do this in xstate — just set a timeout and send the event early.

Lemme give this a go today on refactoring & I'll ping you if I need help.

KyleAMathews

comment created time in 4 days

PullRequestReviewEvent

Pull request review commentgatsbyjs/gatsby

WIP: more work on develop SSR

 import reporter from "gatsby-cli/lib/reporter" import { Stats } from "webpack" import { IMatch } from "../types"+import { Stage } from "../commands/types"  const stageCodeToReadableLabel = {   "build-javascript": `Generating JavaScript bundles`,   "build-html": `Generating SSR bundle`,+  "develop-html": `Generating development SSR bundle`,   develop: `Generating development JavaScript bundle`, } as const -type Stage = keyof typeof stageCodeToReadableLabel+// type Stage = keyof typeof stageCodeToReadableLabel

not sure if I'm typescripting right

KyleAMathews

comment created time in 5 days

PullRequestReviewEvent

Pull request review commentgatsbyjs/gatsby

WIP: more work on develop SSR

 export async function startServer(     res.status(404).end()   }) +  interface IErrorPosition {+    filename: string+    line: number+    row: number+  }+  const getPosition = function (stackObject): IErrorPosition {+    let filename+    let line+    let row+    // Because the JavaScript error stack has not yet been standardized,+    // wrap the stack parsing in a try/catch for a soft fail if an+    // unexpected stack is encountered.+    try {+      const filteredStack = stackObject.filter(function (s) {+        return /\(.+?\)$/.test(s)+      })+      let splitLine+      // For current Node & Chromium Error stacks+      if (filteredStack.length > 0) {+        splitLine = filteredStack[0].match(/(?:\()(.+?)(?:\))$/)[1].split(`:`)+        // For older, future, or otherwise unexpected stacks+      } else {+        splitLine = stackObject[0].split(`:`)+      }+      const splitLength = splitLine.length+      filename = splitLine[splitLength - 3]+      line = Number(splitLine[splitLength - 2])+      row = Number(splitLine[splitLength - 1])+    } catch (err) {+      filename = ``+      line = 0+      row = 0+    }+    return {+      filename: filename,+      line: line,+      row: row,+    }+  }+  // Colors taken from Gatsby's design tokens+  // https://github.com/gatsbyjs/gatsby/blob/d8acab3a135fa8250a0eb3a47c67300dde6eae32/packages/gatsby-design-tokens/src/colors.js#L185-L205+  const colors = {+    background: `fdfaf6`,+    text: `452475`,+    green: `137886`,+    darkGreen: `006500`,+    comment: `527713`,+    keyword: `096fb3`,+    yellow: `DB3A00`,+  }++  interface IParsedError {+    filename: string+    code: string+    codeFrame: string+    line: number+    row: number+    message: string+    type: string+    stack: [string]+  }++  const parseError = function (err): IParsedError {+    const stack = err.stack ? err.stack : ``+    const stackObject = stack.split(`\n`)+    const position = getPosition(stackObject)+    // Remove the `/lib/` added by webpack+    const filename = path.join(+      directory,+      ...position.filename.split(path.sep).slice(2)+    )+    const code = fs.readFileSync(filename, `utf-8`)+    const line = position.line+    const row = position.row+    ansiHTML.setColors({+      reset: [colors.text, colors.background], // FOREGROUND-COLOR or [FOREGROUND-COLOR] or [, BACKGROUND-COLOR] or [FOREGROUND-COLOR, BACKGROUND-COLOR]+      black: `aaa`, // String+      red: colors.keyword,+      green: colors.green,+      yellow: colors.yellow,+      blue: `eee`,+      magenta: `fff`,+      cyan: colors.darkGreen,+      lightgrey: `888`,+      darkgrey: colors.comment,+    })+    const codeFrame = ansiHTML(+      codeFrameColumns(+        code,+        {+          start: { line: line, column: row },+        },+        { forceColor: true }+      )+    )+    const splitMessage = err.message ? err.message.split(`\n`) : [``]+    const message = splitMessage[splitMessage.length - 1]+    const type = err.type ? err.type : err.name+    const data = {+      filename: filename,+      code,+      codeFrame,+      line: line,+      row: row,+      message: message,+      type: type,+      stack: stack,+    }+    return data+  }+   // Render an HTML page and serve it.-  app.use((_, res) => {-    res.sendFile(directoryPath(`public/index.html`), err => {-      if (err) {-        res.status(500).end()+  app.use(async (req, res, next) => {+    const { pages } = store.getState()++    if (!pages.has(req.path)) {+      return next()+    }++    // Sleep until any work the server is doing has finished.+    await new Promise(resolve => {+      if (program.developMachineService._state.value == `waiting`) {+        resolve()+      } else {+        const intervalId = setInterval(() => {+          if (program.developMachineService._state.value == `waiting`) {+            clearInterval(intervalId)+            resolve()+          }+        }, 50)       }     })++    const htmlActivity = report.phantomActivity(`building HTML for path`, {})+    htmlActivity.start()++    try {+      const renderResponse = await renderHTML({+        htmlComponentRendererPath: `${program.directory}/public/render-page.js`,+        paths: [req.path],+        stage: Stage.DevelopHTML,+        envVars: [+          [`NODE_ENV`, process.env.NODE_ENV || ``],+          [+            `gatsby_executing_command`,+            process.env.gatsby_executing_command || ``,+          ],+          [`gatsby_log_level`, process.env.gatsby_log_level || ``],+        ],+      })+      res.status(200).send(renderResponse[0])+    } catch (e) {+      const error = parseError(e)+      res.status(500).send(`<title>Develop SSR Error</title><h1>Error<h1>

generate a simple error page when the page won't render

KyleAMathews

comment created time in 5 days

PullRequestReviewEvent

Pull request review commentgatsbyjs/gatsby

WIP: more work on develop SSR

 export async function startServer(     res.status(404).end()   }) +  interface IErrorPosition {+    filename: string+    line: number+    row: number+  }+  const getPosition = function (stackObject): IErrorPosition {+    let filename+    let line+    let row+    // Because the JavaScript error stack has not yet been standardized,+    // wrap the stack parsing in a try/catch for a soft fail if an+    // unexpected stack is encountered.+    try {+      const filteredStack = stackObject.filter(function (s) {+        return /\(.+?\)$/.test(s)+      })+      let splitLine+      // For current Node & Chromium Error stacks+      if (filteredStack.length > 0) {+        splitLine = filteredStack[0].match(/(?:\()(.+?)(?:\))$/)[1].split(`:`)+        // For older, future, or otherwise unexpected stacks+      } else {+        splitLine = stackObject[0].split(`:`)+      }+      const splitLength = splitLine.length+      filename = splitLine[splitLength - 3]+      line = Number(splitLine[splitLength - 2])+      row = Number(splitLine[splitLength - 1])+    } catch (err) {+      filename = ``+      line = 0+      row = 0+    }+    return {+      filename: filename,+      line: line,+      row: row,+    }+  }+  // Colors taken from Gatsby's design tokens+  // https://github.com/gatsbyjs/gatsby/blob/d8acab3a135fa8250a0eb3a47c67300dde6eae32/packages/gatsby-design-tokens/src/colors.js#L185-L205+  const colors = {+    background: `fdfaf6`,+    text: `452475`,+    green: `137886`,+    darkGreen: `006500`,+    comment: `527713`,+    keyword: `096fb3`,+    yellow: `DB3A00`,+  }++  interface IParsedError {+    filename: string+    code: string+    codeFrame: string+    line: number+    row: number+    message: string+    type: string+    stack: [string]+  }++  const parseError = function (err): IParsedError {+    const stack = err.stack ? err.stack : ``+    const stackObject = stack.split(`\n`)+    const position = getPosition(stackObject)+    // Remove the `/lib/` added by webpack+    const filename = path.join(+      directory,+      ...position.filename.split(path.sep).slice(2)+    )+    const code = fs.readFileSync(filename, `utf-8`)+    const line = position.line+    const row = position.row+    ansiHTML.setColors({+      reset: [colors.text, colors.background], // FOREGROUND-COLOR or [FOREGROUND-COLOR] or [, BACKGROUND-COLOR] or [FOREGROUND-COLOR, BACKGROUND-COLOR]+      black: `aaa`, // String+      red: colors.keyword,+      green: colors.green,+      yellow: colors.yellow,+      blue: `eee`,+      magenta: `fff`,+      cyan: colors.darkGreen,+      lightgrey: `888`,+      darkgrey: colors.comment,+    })+    const codeFrame = ansiHTML(+      codeFrameColumns(+        code,+        {+          start: { line: line, column: row },+        },+        { forceColor: true }+      )+    )+    const splitMessage = err.message ? err.message.split(`\n`) : [``]+    const message = splitMessage[splitMessage.length - 1]+    const type = err.type ? err.type : err.name+    const data = {+      filename: filename,+      code,+      codeFrame,+      line: line,+      row: row,+      message: message,+      type: type,+      stack: stack,+    }+    return data+  }+   // Render an HTML page and serve it.-  app.use((_, res) => {-    res.sendFile(directoryPath(`public/index.html`), err => {-      if (err) {-        res.status(500).end()+  app.use(async (req, res, next) => {+    const { pages } = store.getState()++    if (!pages.has(req.path)) {+      return next()+    }++    // Sleep until any work the server is doing has finished.+    await new Promise(resolve => {

@ascorbic this is what I meant

KyleAMathews

comment created time in 5 days

PullRequestReviewEvent

Pull request review commentgatsbyjs/gatsby

WIP: more work on develop SSR

 import { IProgram, Stage } from "./types" type IActivity = any // TODO type IWorkerPool = any // TODO -const runWebpack = (compilerConfig): Bluebird<webpack.Stats> =>+const runWebpack = (compilerConfig, stage: Stage): Bluebird<webpack.Stats> =>   new Bluebird((resolve, reject) => {-    webpack(compilerConfig).run((err, stats) => {-      if (err) {-        reject(err)-      } else {-        resolve(stats)-      }-    })+    if (stage === `build-html`) {+      webpack(compilerConfig).run((err, stats) => {+        if (err) {+          reject(err)+        } else {+          resolve(stats)+        }+      })+    } else if (stage === `develop-html`) {+      webpack(compilerConfig).watch({}, (err, stats) => {

rebuild dev ssr bundle on changes

KyleAMathews

comment created time in 5 days

PullRequestReviewEvent

Pull request review commentgatsbyjs/gatsby

WIP: more work on develop SSR

 import React from "react"-import { renderToStaticMarkup } from "react-dom/server"-import { merge } from "lodash"+const fs = require(`fs`)+import { renderToString, renderToStaticMarkup } from "react-dom/server"+const { merge } = require(`lodash`)

This file needs cleaned up still

KyleAMathews

comment created time in 5 days

PullRequestReviewEvent

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha f8f00a31aada8478c1b808fd76dc190c67c1b5d5

fix types... maybe

view details

push time in 5 days

Pull request review commentgatsbyjs/gatsby

WIP: more work on develop SSR

 import { TypographyStyle, GoogleFont } from "react-typography" import typography from "typography-plugin-cache-endpoint"  exports.onRenderBody = ({ setHeadComponents }, pluginOptions) => {-  if (process.env.BUILD_STAGE === `build-html`) {

We don't want this now with dev ssring

KyleAMathews

comment created time in 5 days

PullRequestReviewEvent

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha ac9642e4bed873561b9c1dd41ca1b6afe5145174

typings

view details

push time in 5 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 9d8bde26fdccfd231642ba7c34153d52f6fb9839

Don't respond to dev server page loads until any sourcing/transforming is done

view details

push time in 5 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha be7b2ae66cc00a3a1ef09811fbf6bde2eafcd8ba

Add test script to compare dev & prod output

view details

Kyle Mathews

commit sha 96c0f335666abf04e25f2c13bbd8739f00d4bb7c

Add return types

view details

push time in 5 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha e4ab9c0870732d5b533e6c5d1ea866b937dced97

Fix building html

view details

Kyle Mathews

commit sha ce714f3de8a8be795b04eaeacee7526a67e28590

use gatsby colors for syntax highlighting

view details

push time in 5 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha d93d36d2f58330bd966c87c7ed03804f0940e3da

Rebuild dev ssr bundle when source files change

view details

Kyle Mathews

commit sha cfb1a3bc1a1e3be11bb99c0091d760fd8bb2f7d0

Fix some lint errors

view details

push time in 5 days

pull request commentgatsbyjs/gatsby

perf(gatsby): test sync before calling onCreateNode

💜 this. Great idea and simple.

pvdz

comment created time in 5 days

issue commentgatsbyjs/gatsby

Replace Typefaces with Fontsource

Yes there's another PR up https://github.com/gatsbyjs/gatsby/pull/27313

DecliningLotus

comment created time in 6 days

PR opened gatsbyjs/gatsby

WIP: more work on develop SSR

Screen Shot 2020-10-13 at 4 29 50 PM

+459 -78

0 comment

17 changed files

pr created time in 6 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha a90ea0c0ea329067c9859b9855abfef15762e406

Add error page when templates don't render correctly

view details

push time in 6 days

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 89b671c484cfbb408322707565f46f1eef1f1aab

Show activity for HTML rendering + renable socket.io so server doesn't crash

view details

push time in 6 days

push eventherecydev/gatsby

Dan Dascalescu

commit sha e4f34daa50689b87517269c840fa93a6ce4dd39f

docs: show how to pass plugin options to Babel (#25085)

view details

Hani Mohammed

commit sha fac05bf29092ca77405cbb878493fb59d3c5b2b3

docs(api-ssr-docs): Improve onRenderBody example (#26362) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Hassan

commit sha a7945f766c336748b022206a3db3dd1aa3c29412

enhancement(docs): Remove entries in dictionary.txt and fix alt text values in docs files (#26022) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Muescha

commit sha 8b1f670c0bbff667ce71fd5014d0e4a8834ab691

fix(docs): governance model -> fix 404 on internal links (#26370)

view details

Andreas Ehrencrona

commit sha 5538c4912df1e79b59d961f5600240d73b4bf0c5

fix(doc): updated onCreateBabelConfig documentation (#25212) Co-authored-by: Andreas Ehrencrona <andreas@scholarsapp.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

cbdp

commit sha fc976699e856b56e029bbd772282e996d46598e8

chore(docs): apache troubleshooting section to gatsby-plugin-manifest (#25155) Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: Chris Bird <bird@mbp.local> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Andreas Ehrencrona

commit sha bdda8daaef18849412e68d8db6cab1a434c9b3f1

chore(docs): Documented that location does not include href (#25022) Co-authored-by: Muescha <184316+muescha@users.noreply.github.com> Co-authored-by: Aisha Blake <aisha.g.blake@gmail.com> Co-authored-by: Andreas Ehrencrona <andreas@scholarsapp.com> Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Michal Piechowiak

commit sha bf7d6330ec130bb0609d96069d5494f3cdb6c579

fix(gatsby): tap just into main compilation in webpack-dep-tree-plugin (#26778)

view details

Dan Kirkham

commit sha 9fbac50bb5588e918ed849d8bcf69f6df32884c7

Add additional logging around conditional page builds (#26748) * Add additional logging * Only log if there was a cached hash * NIT: missing brackets (just for code uniformity, doesn't functionally change anything) * NIT: bit nicer indentation Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>

view details

Matt Kane

commit sha d878bfd97eeede813586a7939b35e72844357703

chore(gatsby-telemetry): Generate typings (#26779) * chore(gatsby-telemetry): Generate typings * Add rimraf * Improve telementry typings * Add typescript devdep * Exclude test files etc from typegen

view details

Ross Hendry

commit sha 3e9279563f76cef4e6a25ccb52aef85b5f6c2b6d

style: use generic style for array types (#26738) Using this style provides consistency with Set, Map, etc. Co-authored-by: Blaine Kasten <blainekasten@gmail.com>

view details

Ward Peeters

commit sha 9509d01e404c855e07e87dee4aeef503108edef5

fix(gatsby): catch when lock already unlocked (#26805)

view details

Ward Peeters

commit sha c9809c702bfe47af147113990764d2c25f252431

chore: fix gitignore

view details

Ward Peeters

commit sha 7f3221b55270a187c08b3f0674ca94cd202a3a38

chore(release): Publish - babel-preset-gatsby@0.5.9 - gatsby-admin@0.1.143 - gatsby-cli@2.12.92 - gatsby-core-utils@1.3.19 - gatsby-dev-cli@2.7.19 - gatsby-image@2.4.17 - gatsby-page-utils@0.2.24 - gatsby-plugin-manifest@2.4.28 - gatsby-plugin-mdx@1.2.38 - gatsby-plugin-netlify-cms@4.3.13 - gatsby-plugin-netlify@2.3.14 - gatsby-plugin-offline@3.2.27 - gatsby-plugin-page-creator@2.3.26 - gatsby-plugin-preload-fonts@1.2.24 - gatsby-plugin-sharp@2.6.32 - gatsby-recipes@0.2.21 - gatsby-remark-autolink-headers@2.3.12 - gatsby-remark-copy-linked-files@2.3.14 - gatsby-remark-images-contentful@2.3.16 - gatsby-remark-images@3.3.29 - gatsby-remark-responsive-iframe@2.4.13 - gatsby-source-contentful@2.3.42 - gatsby-source-drupal@3.5.31 - gatsby-source-filesystem@2.3.28 - gatsby-source-shopify@3.2.30 - gatsby-source-wordpress@3.3.32 - gatsby-telemetry@1.3.31 - gatsby-theme@0.1.4 - gatsby-transformer-excel@2.4.11 - gatsby-transformer-remark@2.8.33 - gatsby-transformer-sqip@2.3.32 - gatsby-transformer-toml@2.4.13 - gatsby-transformer-xml@2.3.11 - gatsby-transformer-yaml@2.4.11 - gatsby@2.24.54

view details

Kapil Raj

commit sha 31e97dfd5e12fc44795948f3de6396ff78c75893

chore(docs): Remove "simply" wordpress-source-plugin-tutorial (#26799)

view details

Aaron Adams

commit sha 6a7fcfbccdcdcb77422b4a7cf50fc43d828df2bf

fix(gatsby-cli): Fix typo (repeated ://) (#26781) Fixes typo that currently logs `http://://localhost:8000` to the console.

view details

Amana-shaharban

commit sha dccb5d7836f1e5889d6551fe0703e9b024311d6d

chore: changes according to policy update -> removed old info (#26780) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

renovate[bot]

commit sha 5e2bd79274d703c226ea1b7916bcdae0c90fe056

fix: update starters and examples (#26717) Co-authored-by: Renovate Bot <bot@renovateapp.com>

view details

Peter van der Zee

commit sha c492e9b5d17908b55e43c5188271adb1be24547d

chore(gatsby-transformer-remark): undo const->let change (#26819)

view details

Gustav Pursche

commit sha b026aab9e231afdac3975c8bb49704c55b286707

[gatsby-plugin-page-creator] Add missing chokidar dependency (#26807)

view details

push time in 6 days

create barnchgatsbyjs/gatsby

branch : k-develop-ssr

created branch time in 7 days

PullRequestReviewEvent

pull request commentgatsbyjs/gatsby

chore(docs): replace typefaces with fontsource

Just finished updating the typeface packages w/ the deprecation notice https://www.npmjs.com/package/typeface-vesper-libre

DecliningLotus

comment created time in 13 days

created tagKyleAMathews/typefaces

tagv1.1.13

NPM packages for Open Source typefaces

created time in 13 days

push eventKyleAMathews/typefaces

Kyle Mathews

commit sha 87cd172773ee7461944264cb555d1976c8a92240

v1.1.13

view details

Kyle Mathews

commit sha 90c6781aecafa0474166dbcc2c8da51478206375

Put deprecation notice on main README

view details

push time in 13 days

PR opened gatsbyjs/gatsby

feat(gatsby-source-shopify): Link gatsby-source-shopify to the Shopify tutorial

It has a much better getting started guide

+2 -0

0 comment

1 changed file

pr created time in 13 days

create barnchgatsbyjs/gatsby

branch : KyleAMathews-patch-1

created branch time in 13 days

push eventKyleAMathews/typefaces

Kyle Mathews

commit sha 40d9431591c3a73d6d053555321d58f273619cbf

fix markdown

view details

push time in 13 days

push eventKyleAMathews/typefaces

Kyle Mathews

commit sha bbf3594b195fa26f956ef79b5b1f2e9092b36071

v1.1.6

view details

Kyle Mathews

commit sha 03089d0d757565d743732242fdac8049fdcbba56

Update again as publish failed due to wifi flakiness

view details

Kyle Mathews

commit sha 4fd6b62e69412bd91a812f745f1d59c8c5b7f546

v1.1.7

view details

Kyle Mathews

commit sha 36e94a4182d93502f4d886e3328c54ab730ecdbb

another test

view details

Kyle Mathews

commit sha 3570bdb5e82762a8aac914ec5551efe6b6a64fbf

v1.1.8

view details

Kyle Mathews

commit sha d7947f1e3b865ae8ab19cfce7324562375ac94a8

try try again

view details

Kyle Mathews

commit sha 9390723de85049543f3873db81cf71927a0856d7

v1.1.9

view details

Kyle Mathews

commit sha d44cccae01684cef025d002f579fe2910e0a523e

try

view details

Kyle Mathews

commit sha b496508632c20cd2cae9da09f901d111056ba055

v1.1.10

view details

Kyle Mathews

commit sha c62fb16f31ee71b93e602cf6dc0b9e0257a37306

reduced

view details

Kyle Mathews

commit sha 70bfba245f91d29a8543ec0cf99a44a33dfc055b

v1.1.11

view details

Kyle Mathews

commit sha f599b3fea23bf948e8d00a9d0ac2a069eeabc4cc

try try again

view details

Kyle Mathews

commit sha 59e0e03f4eb0ffe2cc76193670414ecafd947ab2

v1.1.12

view details

push time in 13 days

created tagKyleAMathews/typefaces

tagv1.1.12

NPM packages for Open Source typefaces

created time in 13 days

push eventKyleAMathews/typefaces

Kyle Mathews

commit sha da7445716b0c8253d08bdfb649a27894cf424e80

Update migration docs

view details

push time in 13 days

issue openedgatsbyjs/gatsby-graphql-toolkit

feat: display error on 4xx/5xx http error codes

I copy/pasted the wrong access token while trying things and was confused for a while why it wasn't working 🤦

I'd assume the toolkit would at least display the http errors for these and perhaps also just quit altogether?

created time in 13 days

issue commentgatsbyjs/gatsby

Weird big chunk `/public/static/d`

Those are the results or static queries. You can look at what's in the json files to see what the query is and then audit the query to see if you need all the data there

cesarvarela

comment created time in 14 days

push eventKyleAMathews/typefaces

Kyle Mathews

commit sha b3807967efdaa92913caa50685b1606a0fcf3feb

Latest google font updates

view details

Kyle Mathews

commit sha befde6483d87b07c7d615ef49619d4635b17d8d3

Update readmes w/ deprecation notice

view details

push time in 14 days

issue commentgatsbyjs/gatsby

[gatsby-plugin-mdx] + [gatsby-recipes]: Mixed mdx versions (2.x alpha being pulled in)

@pieh is working on a fix for this in https://github.com/gatsbyjs/gatsby/pull/27058 & https://github.com/gatsbyjs/gatsby/pull/27057

tony

comment created time in 15 days

issue commentgatsbyjs/gatsby

Wishlist for the next major version of Gatsby

@jstormail2 docs for setting up a preview server are here — https://www.gatsbyjs.com/docs/running-a-gatsby-preview-server/ — let us know if you need any more help there.

Appreciate your feedback!

m-allanson

comment created time in 18 days

issue commentgatsbyjs/gatsby

What is the best approach for someone with thousands of images?

These are the proptypes — https://github.com/gatsbyjs/gatsby/blob/d8ed76c7724ea9016bda226b917bedc3703dc1a6/packages/gatsby-image/src/index.js#L718-L742

Both the fixed & fluid prop take a src key.

jasonbiondo

comment created time in 21 days

issue commentgatsbyjs/gatsby

A plugin tried to update a node field that it doesn't own:

What does fmImagesToRelative do?

SamnnyWong

comment created time in 21 days

fork KyleAMathews/ssg-build-performance-tests

A comparison on build performance of popular SSGs, as they are tasked with processing local markdown files as the data source

fork in 22 days

issue commentgatsbyjs/gatsby

What is the best approach for someone with thousands of images?

I'm not very familiar with the Shopify API or the source plugin. You could explore in graphiql if the CDN file is available. It does look like we don't query it — https://github.com/gatsbyjs/gatsby/blob/510370d0cd71e1d2c3e88f89f29317659310e961/packages/gatsby-source-shopify/src/queries.js#L130-L132 — I assume the Shopify API has the link to the original URL so you could PR adding it to the source plugin so it's available to query instead of localFile.

jasonbiondo

comment created time in a month

issue commentgatsbyjs/gatsby

What is the best approach for someone with thousands of images?

There's this — https://cloudinary.com/blog/introducing_cloudinary_s_gatsby_plugins

You absolutely can use the images directly from Shopify — the only issue I believe is that Shopify doesn't optimize the images for you so if e.g. you upload a very large image for a product, it'll load very slowly. Image processing + gatsby-image solves that problem for you.

jasonbiondo

comment created time in a month

issue commentgatsbyjs/gatsby

What is the best approach for someone with thousands of images?

You can use image processing tools like Cloudinary to offload image process e.g. https://cloudinary.com/blog/how_to_improve_your_shopify_s_store_loading_times_using_cloudinary

You can still use gatsby-image with Cloudinary as you can create a component which generates the cloudinary URLs for all the different URLs that gatsby-image expects as props e.g.

<CloudinaryImage
  src="some-product-image"
  fluid
  maxWidth={800}
/>
jasonbiondo

comment created time in a month

push eventKyleAMathews/notesfromquarantinechurch-blog

Kyle Mathews

commit sha 32030c3e3766ba2bd240733fd4c05e0c20693fa4

update lock file

view details

push time in a month

pull request commentgatsbyjs/gatsby

Revert "chore(gatsby-cli): bundle ink logger (#26887)"

I think the issue would be resolved by removing react from external https://github.com/gatsbyjs/gatsby/blob/eaac84b51d20d80eda1a6ddb9574a5e2a073726f/packages/gatsby-recipes/rollup.config.js#L56

pieh

comment created time in a month

issue commentgatsbyjs/gatsby

17K pages from JSON files takes hours to build

@moonmeister is working on a rewrite of plugin-sitemap in https://github.com/gatsbyjs/gatsby/pull/25670 — not sure if he's testing performance but you could perhaps help test out the new changes to see if we can speed up the sitemap generation.

allanjsx

comment created time in a month

MemberEvent

Pull request review commentgatsbyjs/gatsby

fix(gatsby-recipes): renable e2e test for npm package resource & fix dev/prod resource bug

 const getNameForPlugin = node => {   return null } -const getDescriptionForPlugin = async name => {-  const pkg = await readPackageJSON({}, name)+const getDescriptionForPlugin = async (root, name) => {+  const pkg = await readPackageJSON({ root }, name)

yeah good catch

KyleAMathews

comment created time in a month

PullRequestReviewEvent

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha add71cd7ce0d210bde037ae42a1f40fdff06808e

Update packages/gatsby-recipes/src/providers/gatsby/plugin.js Co-authored-by: Ward Peeters <ward@coding-tech.com>

view details

push time in a month

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 05d23a86e24c963c94c1fe75a4c5cbfed924479c

Update packages/gatsby-recipes/src/providers/npm/package.js Co-authored-by: Matt Kane <matt@gatsbyjs.com>

view details

push time in a month

Pull request review commentgatsbyjs/gatsby

fix(gatsby-recipes): renable e2e test for npm package resource & fix dev/prod resource bug

 const executeInstalls = async root => {   const depType = installs[0].resource.dependencyType   const packagesToInstall = types[depType]   installs = installs.filter(-    i => !_.some(packagesToInstall, p => i.resource.id === p.resource.id)+    i => !_.some(packagesToInstall, p => i.resource.name === p.resource.name)

nope!

KyleAMathews

comment created time in a month

PullRequestReviewEvent

push eventgatsbyjs/gatsby

Ward Peeters

commit sha 93fdc0993d530b68cd317fb3c58b322684de68b3

fix(gatsby): only enable debugger when argument is given (#26669)

view details

Ward Peeters

commit sha c2aededc50bc9e2946e3fd8be143c31cdfed3259

fix(gatsby): properly unlock processes onExit (#26670)

view details

Tian94

commit sha 6b9697258950e334850dce7c5eee97bdea9e87bd

chore(docs): Update GraphQL spelling in README.md (#26693) Updates an instance of the word graphql to GraphQL to be consistent with the rest of the documentation.

view details

Muescha

commit sha 652af043b22dfe9dcdd6d97275576901e46da0a7

fix(docs): schema -> code fences, code fix (#26462)

view details

Facundo Giuliani

commit sha 21b94dfb43154ccb984af91b26cd05b2d96efba3

Docs - Remove not inclusive words (#26294) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Muescha

commit sha 823e473449e940c583db24728ff0015fa7f9e33f

fix(docs): schema -> fix 404, remove deleted page from sidebar, apply redirects (#26461)

view details

Muescha

commit sha 7de5f182dca00bdba088742c09a3674e2a97c1b3

add code fences (#26409)

view details

Muescha

commit sha fed26198626d96780d9c04f954a1f2d26fe29063

fix(docs): query filters -> update dictionary, code fences, fix code, brand name (#26408)

view details

RAJPRAKASH

commit sha 11ab72a91c911551fe35e7bcd285bf9807f2d238

chore(docs): fixed some links in query-execution (#26555) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

RAJPRAKASH

commit sha aa300f47e1b8ae69af5d60bda61b3b3d35ff00dc

chore(docs):fixed file names and links in query-execution (#26680) Co-authored-by: Lennart <lekoarts@gmail.com>

view details

Ward Peeters

commit sha d6f03185030cefff11e2f3b573d6e24ee9ead36e

chore: use packlist for cleanup-package-dir (#26657)

view details

Ward Peeters

commit sha 83cd408c557ac3318902b17e16bca23a7d711006

chore(release): Publish - gatsby-admin@0.1.142 - gatsby-cli@2.12.91 - gatsby-plugin-manifest@2.4.27 - gatsby-plugin-sharp@2.6.31 - gatsby-recipes@0.2.20 - gatsby-remark-copy-linked-files@2.3.13 - gatsby-remark-images-contentful@2.3.15 - gatsby-source-contentful@2.3.41 - gatsby-transformer-remark@2.8.32 - gatsby-transformer-sharp@2.5.14 - gatsby-transformer-sqip@2.3.31 - gatsby@2.24.53

view details

LB

commit sha 69a93baecb2837c36a67ad8fcdb626c29386ac80

fix(gatsby-recipes): Add mdx packages to rollup (#26660) Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home>

view details

Hani Mohammed

commit sha 5e7d16d21846b8d9f94ffdc0214a9aa9af901599

Fix typos (#26721) Added a full stop in the first line. Updated WPGraphQL graphql to WPGraphQL.

view details

Michal Piechowiak

commit sha 32d74423c3312ddbb89304d4f681d40d827ca52f

chore(gatsby-recipes): update snapshot (#26737)

view details

Blaine Kasten

commit sha b1745891a0c33eca2a4ae874129d0976d243b38e

chore(gatsby): Fix error messages for gatsbyPath and telemetry features (#26666) * chore(gatsby): Fix error messages for gatsbyPath and telemetry features * Update validate-path-query.ts fix test

view details

Peter van der Zee

commit sha 6fcb47760380ef6f1af6856dc11415fbdd4a5182

chore(gatsby): bump lodash to fix vuln report (#26745) Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>

view details

Björn Clees

commit sha cc0cbff844614ec1052a855a1586a0ac7a70082f

fix(docs): 404 links to gatsby-themes (#26273)

view details

Owlypixel

commit sha 3ee1205397ee40fc879cb313651e902033aa26c3

Fix a link to the reference guide overview pages (#26289)

view details

Hassan

commit sha 12b0930c034b01132ff6e84b8ddf308e56416ea0

Remove excited.gif from the dictionary (#26304)

view details

push time in a month

issue commentgatsbyjs/gatsby

The placeholder image in "gatsby-image" does not fade on Safari, again

If the above CSS fixes things, I'd love to have it PRed into gatsby-image directly.

samselikoff

comment created time in a month

IssuesEvent

issue commentgatsbyjs/gatsby

The placeholder image in "gatsby-image" does not fade on Safari, again

I can reproduce this with Safari 13.1.2

samselikoff

comment created time in a month

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 4b7ad92bfd128f7989ea502007c2804b8c440ca0

meaningless change to trigger tests again for flaky test

view details

push time in a month

Pull request review commentgatsbyjs/gatsby

fix(gatsby-recipes): renable e2e test for npm package resource & fix dev/prod resource bug

 exports[`gatsby-plugin resource e2e plugin resource test with hello world starte exports[`gatsby-plugin resource e2e plugin resource test with hello world starter: GatsbyPlugin update 1`] = ` Object {   "_message": "Installed gatsby-source-filesystem in gatsby-config.js",-  "description": "Gatsby plugin which parses files within a directory for further parsing by other plugins",+  "description": null,

I investigated this more & this is correct. We don't installed the packages for these & it never should have worked. The only reason we got descriptions before was due to a bug in npm/package.js where it wasn't using the root value https://github.com/gatsbyjs/gatsby/pull/26699/files#r479681061

KyleAMathews

comment created time in a month

PullRequestReviewEvent

Pull request review commentgatsbyjs/gatsby

fix(gatsby-recipes): renable e2e test for npm package resource & fix dev/prod resource bug

 const resourceTestHelper = require(`../resource-test-helper`)  const root = path.join(os.tmpdir(), uuid.v4()) fs.mkdirSync(root)-const pkgResource = { name: `glob` }+const pkgResource = { name: `bar` }  test(`plan returns a description`, async () => {   const result = await pkg.plan({ root }, pkgResource) -  expect(result.describe).toEqual(expect.stringContaining(`Install glob`))+  expect(result.describe).toEqual(expect.stringContaining(`Install bar`))

haha yeah — I enjoyed the names mostly. Switched.

KyleAMathews

comment created time in a month

PullRequestReviewEvent

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 8eccbbd4e0d3a626ecad6cae8062a0f753ac3eec

Use smaller packages

view details

push time in a month

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 8054fbcb7043dbeda16eab40c3c0dd1e11d1c926

Removed 'root' from lock keys as that wasn't necessary — fix was splitting up fixtures

view details

push time in a month

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha baae8784db17d42321c6c0ecbee71603bade2ec8

Fix reading package.json + split fixtures so they don't accidentally read each others work which screws up snapshots

view details

push time in a month

PullRequestReviewEvent

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha f8ee998c360d409c11168bb6a283ecec271dd4a2

Revert changes

view details

push time in a month

Pull request review commentgatsbyjs/gatsby

fix(gatsby-recipes): renable e2e test for npm package resource & fix dev/prod resource bug

 exports[`gatsby-plugin resource all returns plugins as array 1`] = ` Array [   Object {     "_message": "Installed gatsby-source-filesystem in gatsby-config.js",-    "description": "Gatsby plugin which parses files within a directory for further parsing by other plugins",+    "description": null,

Not sure what I need to install to update them so just reverting

KyleAMathews

comment created time in a month

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 974e3e05716ccca981ee809aa8d335c5ec10f0b7

fix lock

view details

push time in a month

push eventgatsbyjs/gatsby

Kyle Mathews

commit sha 14ce431b203c829f25c1235d57c8e812d48b16fb

Back out mock-package-install

view details

push time in a month

more