Tinacms Developer Docs

3 October 2024

This meeting includes a range of technical discussions focused on enhancing and troubleshooting various aspects of TinaCMS. Here’s a summary of the main points:

🤖🤖

  1. Playground for TinaCMS:

    • Jeff and the team discussed the feasibility of creating a TinaCMS playground, potentially using StackBlitz for live demos and development. This setup would require overcoming certain dependencies that don’t currently run in StackBlitz’s web environment.
  2. Gatsby and TinaCMS Integration:

    • The team reviewed the challenges of using TinaCMS with Gatsby, especially for visual editing, which requires Tina's GraphQL API and runtime data fetching. Jeff emphasized that moving away from Gatsby might simplify the process since Next.js and Remix are more compatible with Tina’s requirements.
  3. Routing and URL Mapping:

    • Issues with routing and URL mapping were discussed, specifically in scenarios where TinaCMS serves multiple sites with complex URL rewrites. Jeff highlighted the importance of accurately mapping routes to load the correct TinaCMS form and suggested that certain middleware configurations in Next.js might interfere with this functionality.
  4. Custom Reference Fields:

    • The team looked at implementing custom reference fields with filtering options, particularly in scenarios involving nested templates and lists. This complex feature requires managing Tina’s internal paths and updating field definitions for both list and non-list scenarios.
  5. Error Handling:

    • There was a conversation about improving error handling within TinaCMS, particularly in the frontend. The team noted that many errors are currently swallowed without proper logging or user feedback, suggesting a need for better error reporting and handling mechanisms, possibly using modals or console logs.
  6. Media Management and Third-Party Services:

    • The team discussed media management configurations, including using services like DigitalOcean and Cloudinary. They reviewed the lack of free storage options and explored integrating different media storage services in TinaCMS for flexibility.
  7. Markdown Table Limitations:

    • Issues with markdown tables in TinaCMS were discussed, especially when users insert unsupported elements (like bullet points) within table cells. Jeff proposed exploring ways to provide feedback to users editing in raw markdown mode, as well as wrapping unsupported elements in a custom component to improve compatibility.

This session emphasized improvements in TinaCMS’s integration with frameworks, custom field functionality, media management, and error handling, focusing on creating a smoother and more adaptable user experience.

On this page