Tinacms Developer Docs

1 August 2024

This meeting covered several technical aspects related to TinaCMS. Here’s a summary of the main points discussed:

🤖🤖

  1. Admin UI Customization:

    • The team explored questions about customizing the TinaCMS admin interface, such as injecting CSS or modifying Tailwind configurations. Jeff mentioned there’s currently limited customization, especially without direct API support. White labeling (e.g., changing the Tina logo) was considered, and previous customization PRs were discussed.
  2. Authentication and Role-Based Access:

    • There were discussions on implementing authentication or role-based access for the admin UI. Jeff noted that role-based access hasn’t been developed yet, though it might be feasible with future routing updates.
  3. Plate and Shadcn Integration:

    • The team discussed upgrading TinaCMS’s UI to work with the latest version of Plate, which now defaults to a headless configuration and uses Shadcn components. They covered various implementation details, including customizing the toolbar and handling styling collisions with existing Tailwind configurations.
  4. Embed Handling in Rich Text:

    • Jeff and the team explored embedding custom components in rich text fields, focusing on maintaining the correct data structure and handling context within TinaCMS’s parsing and stringifying processes. They emphasized the importance of unique keys for embedded elements and the potential complexities of managing nested content.
  5. GraphQL and Context Passing:

    • The discussion covered how GraphQL in TinaCMS retrieves and saves content data, particularly for complex nested structures in rich text. Jeff explained the parsing logic in detail, outlining the need to pass additional context information to support nested embeds properly.
  6. Testing and Future Improvements:

    • Jeff mentioned the need for more thorough testing, especially around embedding and rich text handling. He also discussed the TypeScript errors and plans to continue refining the PR with these new capabilities.

The session centered on enhancing TinaCMS's flexibility in embedding and customization while addressing specific technical challenges with rich text handling and backend integration.

On this page