0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations
Kory Smith 9807e4dc22
Updates prefetch integration to add "only prefetch link on hover/mouseover/focus" option (#6585)
* modifies prefetch to add the option to only prefetch certain pages on hover

* adds new pages to the test website to showcase prefetch-intent functionality

* adds tests to verify prefetch-intent behavior

* adds changelog

* waits until networkidle to check if the prefetching worked instead of waiting on a specific url load

* allows intentSelector to be either a string or array of strings

* Revert "allows intentSelector to be either a string or array of strings"

This reverts commit b0268eb0d5.

* fixes the multiple selector logic and adds tests

* updates docs to include new prefetch-intent integration

* Update packages/integrations/prefetch/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/integrations/prefetch/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/integrations/prefetch/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/little-cars-exist.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/integrations/prefetch/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-07-07 16:01:23 -04:00
..
alpinejs Move code block titles into comments to match docs (#7543) 2023-07-01 16:34:49 +02:00
cloudflare docs(cloudflare): fix code snippet in enabling preview (#7591) 2023-07-07 09:28:30 +01:00
deno [ci] release (#7578) 2023-07-06 23:16:08 +08:00
image [ci] release (#7578) 2023-07-06 23:16:08 +08:00
lit feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
markdoc Fix: Markdoc v0.4.0 docs (#7593) 2023-07-07 09:22:26 -04:00
mdx Fix MDX README typo (#7567) 2023-07-05 14:15:32 +08:00
netlify [ci] release (#7578) 2023-07-06 23:16:08 +08:00
node Runtime environment variables docs for node integration (#7378) 2023-07-07 09:45:12 +01:00
partytown feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
preact feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
prefetch Updates prefetch integration to add "only prefetch link on hover/mouseover/focus" option (#6585) 2023-07-07 16:01:23 -04:00
react feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
sitemap Fix incorrect format from organize-imports-cli (#7553) 2023-07-03 21:11:09 +08:00
solid feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
svelte [ci] release (#7578) 2023-07-06 23:16:08 +08:00
tailwind [ci] release (#7578) 2023-07-06 23:16:08 +08:00
turbolinks Format markdown files (#7439) 2023-06-26 11:34:13 +08:00
vercel [ci] release (#7578) 2023-07-06 23:16:08 +08:00
vue [ci] release (#7578) 2023-07-06 23:16:08 +08:00