Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gatsby): Gatsby Head API #35980

Merged
merged 69 commits into from
Jul 14, 2022
Merged

feat(gatsby): Gatsby Head API #35980

merged 69 commits into from
Jul 14, 2022

Commits on Jun 8, 2022

  1. initial work

    marvinjude committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    194a690 View commit details
    Browse the repository at this point in the history
  2. add latest

    marvinjude committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    5beb48b View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. implement in page renderer

    marvinjude committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    bb56387 View commit details
    Browse the repository at this point in the history
  2. progress

    marvinjude committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    40549d7 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. Configuration menu
    Copy the full SHA
    2597e9f View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. cleanup

    marvinjude committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    361ad85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69b39cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36d296e View commit details
    Browse the repository at this point in the history
  4. add warnings

    marvinjude committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    5357b5c View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. update warning

    marvinjude committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    6b7bb4f View commit details
    Browse the repository at this point in the history
  2. remove use less function

    marvinjude committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    e03a316 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. add TS Types

    marvinjude committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    923a08e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb33292 View commit details
    Browse the repository at this point in the history
  3. test(gatsby): Metadata management e2e tests (#35979)

    * Test pages setup
    
    * More test page scaffolding
    
    * Tests for development-runtime
    
    * DRY raw strings with shared data pattern
    
    * Production runtime tests
    
    * Remove override test, we don't need it
    tyhopp committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    f48beff View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. fix test

    marvinjude committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    f5d5288 View commit details
    Browse the repository at this point in the history
  2. fix hydration issue

    marvinjude committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    0751f0d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2022

  1. Configuration menu
    Copy the full SHA
    3d7e8af View commit details
    Browse the repository at this point in the history
  2. fix test

    marvinjude committed Jun 26, 2022
    Configuration menu
    Copy the full SHA
    cbc4324 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    70dd9a9 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    a8c2a9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3f2571 View commit details
    Browse the repository at this point in the history
  3. remove all props page test

    marvinjude committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    940f02e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c7e80d3 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Configuration menu
    Copy the full SHA
    c69941a View commit details
    Browse the repository at this point in the history
  2. Fix borked yarn.lock

    tyhopp committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    167fb4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2acf0a View commit details
    Browse the repository at this point in the history
  4. Update packages/gatsby/cache-dir/dev-loader.js

    Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
    marvinjude and pieh committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    5efa140 View commit details
    Browse the repository at this point in the history
  5. Update packages/gatsby/cache-dir/loader.js

    Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
    marvinjude and pieh committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    544e1d5 View commit details
    Browse the repository at this point in the history
  6. Update packages/gatsby/cache-dir/page-renderer.js

    Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
    marvinjude and pieh committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    8dd4fa8 View commit details
    Browse the repository at this point in the history
  7. Update packages/gatsby/cache-dir/static-entry.js

    Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
    marvinjude and pieh committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    42d72d6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4bab3eb View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Fix lint error

    tyhopp committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    56da964 View commit details
    Browse the repository at this point in the history
  2. Remove unused functions

    tyhopp committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    f5969a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7169fa0 View commit details
    Browse the repository at this point in the history
  4. Fix eslint test assertion

    tyhopp committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    6370a5f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2fe95f2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f218a32 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. Configuration menu
    Copy the full SHA
    a2506d6 View commit details
    Browse the repository at this point in the history
  2. test(head-function-export): Ensure head elements in SSR'ed HTML (#36006)

    * test(head-function-export): Ensure head elements in SSR'ed HTML
    
    * Add integration_tests_head_function_export to CI workflows
    tyhopp committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    ee3c07a View commit details
    Browse the repository at this point in the history
  3. test(head-function-export): More e2e tests (#36014)

    * test(head-function-export): DSG, SSR pages
    
    * Invalid elements
    
    * Explicit add and removal of DOM nodes
    
    * FS Route API test
    
    * Refactor invalid elements test
    tyhopp committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    664133d View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Configuration menu
    Copy the full SHA
    8fac6b6 View commit details
    Browse the repository at this point in the history
  2. fix import and condition

    marvinjude committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    4a50f2f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1ca969 View commit details
    Browse the repository at this point in the history
  4. test(head-function-export): Test in DEV_SSR mode (#36007)

    test(dev-ssr): Ensure head function export works in DEV_SSR mode
    tyhopp committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    1f80113 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. feat(head-function-export): Hot update for Head export (#36060)

    * changes so far
    
    * comment loading indicator
    
    * remove 'Head' from page template bundle
    
    * add test for HMR
    
    * fix Head rendering for develop
    
    * fix Head HMR in develop
    
    * revert removal of loading indicator
    
    * fix eslint rule to exclude uppercased Head
    
    * unify webpack loader that removes exports
    
    * split Head and template only in develop
    
    * fix loader tests
    
    * fix flaky test?
    
    * add test for head hot reloading
    
    * avoid doing multiple createRoot
    
    * remove unused code
    
    * change head to Head
    
    * use the correct head export
    
    * change head to Head
    
    * babel and eslint fixes and tests
    
    * remove console logs
    
    * remove previous metadata during navigation
    
    * missing eslint rule tests
    
    * Revert "remove previous metadata during navigation"
    
    This reverts commit b15ada2.
    
    * remove incorrect deps array
    
    * re-export @babel/preset-react
    
    * fix reexport error
    
    * fix all-props test
    
    * remove deps array
    
    * Fix hot-reloading/page-component test
    
    * Fix hot-reloading/head-export test
    
    * Update packages/gatsby/src/utils/webpack.config.js
    
    Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
    
    * fix static query
    
    * source maps
    
    * don't pass in nulls
    
    * fix static image issue
    
    * Potential fix
    
    * cleanup previous fix
    
    * update snapshot
    
    * fix flaky hot-reloading/head-export test
    
    Co-authored-by: pieh <misiek.piechowiak@gmail.com>
    Co-authored-by: tyhopp <hopp.ty.c@gmail.com>
    3 people committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    b9c565e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a223b6d View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Configuration menu
    Copy the full SHA
    9635085 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bfb485 View commit details
    Browse the repository at this point in the history
  3. Fix unit tests

    tyhopp committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    fc53d38 View commit details
    Browse the repository at this point in the history
  4. cleaup tags on navigation

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    c01ffc2 View commit details
    Browse the repository at this point in the history
  5. remove test images

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    a1bd8ec View commit details
    Browse the repository at this point in the history
  6. Update e2e-tests/development-runtime/cypress/integration/head-functio…

    …n-export/correct-props.js
    
    Co-authored-by: Lennart <lekoarts@gmail.com>
    marvinjude and LekoArts committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    ebd9ca4 View commit details
    Browse the repository at this point in the history
  7. Update packages/gatsby/cache-dir/fast-refresh-overlay/components/runt…

    …ime-errors.js
    
    Co-authored-by: Lennart <lekoarts@gmail.com>
    marvinjude and LekoArts committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    def1743 View commit details
    Browse the repository at this point in the history
  8. fixes from dot com testing

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    0836cdf View commit details
    Browse the repository at this point in the history
  9. review update

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    e55541a View commit details
    Browse the repository at this point in the history
  10. review update

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    2117f0a View commit details
    Browse the repository at this point in the history
  11. remove extra formatting

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    0732354 View commit details
    Browse the repository at this point in the history
  12. review update

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    ba1e5e8 View commit details
    Browse the repository at this point in the history
  13. review update

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    0cb42a2 View commit details
    Browse the repository at this point in the history
  14. review updates

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    fa454d0 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9a6790d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8ccb9c5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8486a93 View commit details
    Browse the repository at this point in the history
  18. add additional e2e tests

    marvinjude committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    4451b04 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Fix dsg, ssr tests

    tyhopp committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    2a668ec View commit details
    Browse the repository at this point in the history
  2. add Head type shorthand

    LekoArts committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    b649b2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f79729 View commit details
    Browse the repository at this point in the history
  4. update type name

    LekoArts committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    4722284 View commit details
    Browse the repository at this point in the history
  5. warn once for same message

    marvinjude committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    9df3cc2 View commit details
    Browse the repository at this point in the history