Skip to content

Conversation

@axe312ger
Copy link
Contributor

The current implementation of the new version does not support pageQueries in template files.

This rewrites the codebase to enable JS page components that load a single MDX in the background which gets injected.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 23, 2022
@axe312ger axe312ger changed the base branch from master to feat/mdx-v2 June 23, 2022 12:43
@LekoArts LekoArts added topic: remark/mdx Related to Markdown, remark & MDX ecosystem and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jun 24, 2022
@axe312ger axe312ger force-pushed the feat/mdx-v2-remove-default-layouts branch from 550aff9 to f38dd2f Compare June 24, 2022 13:02
@axe312ger axe312ger changed the base branch from feat/mdx-v2 to refactor/mdx-v2-add-toc-and-excerpt June 24, 2022 13:02
@axe312ger axe312ger force-pushed the refactor/mdx-v2-add-toc-and-excerpt branch from 2644bb8 to 2c2e156 Compare June 24, 2022 13:04
@axe312ger axe312ger force-pushed the feat/mdx-v2-remove-default-layouts branch from f38dd2f to a3d3b12 Compare June 24, 2022 13:05
@axe312ger axe312ger marked this pull request as ready for review June 24, 2022 13:06
@axe312ger axe312ger requested a review from LekoArts June 24, 2022 13:06
@axe312ger axe312ger self-assigned this Jun 24, 2022
@LekoArts LekoArts modified the milestones: Metadata Management, MDX v2 Jun 24, 2022
@axe312ger axe312ger force-pushed the refactor/mdx-v2-add-toc-and-excerpt branch from 2c2e156 to d673d5c Compare June 27, 2022 07:28
@axe312ger axe312ger force-pushed the feat/mdx-v2-remove-default-layouts branch from fb98492 to 6c8288a Compare June 27, 2022 07:30
Base automatically changed from refactor/mdx-v2-add-toc-and-excerpt to feat/mdx-v2 June 28, 2022 10:51
@axe312ger axe312ger force-pushed the feat/mdx-v2-remove-default-layouts branch from b7bc1c6 to 72061c0 Compare June 28, 2022 11:03
@Khaledgarbaya Khaledgarbaya requested a review from wardpeet June 28, 2022 11:13
axe312ger added a commit that referenced this pull request Jun 28, 2022
@axe312ger axe312ger force-pushed the feat/mdx-v2-remove-default-layouts branch from 21f2dfa to 6f17820 Compare June 29, 2022 11:30
@axe312ger
Copy link
Contributor Author

We still get this warning, any clues how to suppress it?

16:34:37 PM:
warning The GraphQL query in the non-page component "/usr/src/app/www/src/templates/javascript.js" will not be run.

16:34:37 PM:
warning The GraphQL query in the non-page component "/usr/src/app/www/src/templates/post.js" will not be run.

16:34:37 PM:
warning The GraphQL query in the non-page component "/usr/src/app/www/src/templates/tip.js" will not be run.

@axe312ger axe312ger force-pushed the feat/mdx-v2-remove-default-layouts branch from 3bca15a to 9d6b215 Compare July 1, 2022 12:18
@LekoArts LekoArts merged commit 762b146 into feat/mdx-v2 Jul 4, 2022
@LekoArts LekoArts deleted the feat/mdx-v2-remove-default-layouts branch July 4, 2022 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: remark/mdx Related to Markdown, remark & MDX ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants