Skip to content

Removes unused UI configuration from template definition#2516

Merged
Aibono1225 merged 1 commit intomainfrom
2506-remove-extra-attribute
Mar 6, 2026
Merged

Removes unused UI configuration from template definition#2516
Aibono1225 merged 1 commit intomainfrom
2506-remove-extra-attribute

Conversation

@Aibono1225
Copy link
Member

Description

✏️
Relates to #2506
This pull request makes a small change to the endIntroTemplate in components/embeds/endIntro.tsx by removing the ui property, which previously set a default hidden item. This simplifies the template configuration.

Screenshot (optional)

✏️

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the TinaCMS “End Intro” rich-text embed template by removing the template-level ui.defaultItem configuration (which previously populated a hidden _hidden field), and updates the generated Tina schema lockfile accordingly.

Changes:

  • Removed ui.defaultItem from endIntroTemplate so new End Intro blocks no longer auto-populate _hidden.
  • Regenerated tina/tina-lock.json so the schema no longer includes ui.defaultItem for the endIntro template in rule/category bodies.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
components/embeds/endIntro.tsx Removes the template-level ui.defaultItem for the End Intro embed.
tina/tina-lock.json Updates generated Tina schema to reflect the template change (no ui.defaultItem on endIntro).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Aibono1225 Aibono1225 merged commit cf143c7 into main Mar 6, 2026
4 checks passed
@Aibono1225 Aibono1225 deleted the 2506-remove-extra-attribute branch March 6, 2026 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants