Tinacms Developer Docs

17 October 2024

This meeting covers a detailed discussion on challenges and potential solutions related to using TinaCMS with Gatsby. Here’s a summary of the main points:

🤖🤖

  1. Visual Editing and Gatsby Compatibility:

    • The team discussed challenges with enabling TinaCMS’s visual editing in Gatsby, particularly due to conflicting GraphQL sources between Gatsby and TinaCMS. TinaCMS’s GraphQL API is used for visual editing, but Gatsby has its own GraphQL setup, leading to compatibility issues.
  2. Custom Solutions and Workarounds:

    • Jeff reviewed a workaround involving customized queries and configurations to enable TinaCMS functionality in Gatsby. However, this approach was deemed cumbersome, with Jeff suggesting a simpler query that could reduce the need for complex configurations.
  3. TinaCMS and Gatsby Plugin Goals:

    • The team discussed the ideal end state for integrating TinaCMS with Gatsby, which would involve creating a Gatsby plugin that leverages TinaCMS’s GraphQL API directly. This would allow users to combine Gatsby’s ecosystem with TinaCMS features, though it may require an RFC to outline specific requirements and goals.
  4. SEO Plugin Concept:

    • Jeff and the team brainstormed the concept of an SEO plugin for TinaCMS, similar to WordPress’s Yoast plugin. The plugin could provide SEO configurations for content in the front matter, with fields like title, description, and image. However, implementing this would require users to handle integration in the site header, as TinaCMS does not control site rendering.
  5. Configuration and Error Handling:

    • They explored how TinaCMS’s configurations could be adapted to simplify setup and reduce errors when switching between Gatsby and TinaCMS, especially regarding GraphQL dependencies and configuration flags.
  6. Future RFCs and Documentation:

    • The session concluded with the suggestion to write an RFC to clarify goals for integrating Gatsby and TinaCMS, detailing specific compatibility needs and deciding if a move away from Gatsby-specific plugins might be more practical.

In summary, this session focused on addressing compatibility issues between TinaCMS and Gatsby, exploring potential plugin options, and planning for documentation and RFCs to guide future integrations.

On this page