Skip to content

fix(templates): show description tagline on template cards#3335

Merged
waleedlatif1 merged 1 commit intostagingfrom
waleedlatif1/fix-template-desc
Feb 25, 2026
Merged

fix(templates): show description tagline on template cards#3335
waleedlatif1 merged 1 commit intostagingfrom
waleedlatif1/fix-template-desc

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

  • Show template description (tagline) on template cards between the title and author/stats row
  • Applied to both public and workspace template cards

Type of Change

  • Bug fix

Testing

Tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel
Copy link

vercel bot commented Feb 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Feb 25, 2026 7:53pm

Request Review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 25, 2026

Greptile Summary

This PR adds template description (tagline) display to template cards in both public and workspace template views. The description is rendered between the title and author/stats row using a truncated paragraph element.

  • Added description prop (string | null) to both TemplateCard components
  • Renders description conditionally with truncate, text-[12px], and muted text styling
  • Passed template.details?.tagline from parent components

Minor style consideration: The two template card variants use different text color tokens (--text-muted vs --text-tertiary), but this pre-existing inconsistency is maintained in the new description rendering.

Confidence Score: 5/5

  • Safe to merge - straightforward UI enhancement with consistent implementation
  • Simple, focused change that adds a visual feature without affecting logic or introducing breaking changes. The implementation is consistent across both template views, properly handles null values, and follows existing patterns.
  • No files require special attention

Important Files Changed

Filename Overview
apps/sim/app/templates/components/template-card.tsx Added description prop and rendering, minor text color inconsistency with workspace variant
apps/sim/app/workspace/[workspaceId]/templates/components/template-card.tsx Added description prop and rendering with --text-tertiary color token

Last reviewed commit: 3c73aa8

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

4 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@waleedlatif1 waleedlatif1 force-pushed the waleedlatif1/fix-template-desc branch from 3c73aa8 to 4599542 Compare February 25, 2026 19:53
@waleedlatif1 waleedlatif1 merged commit 870d4b5 into staging Feb 25, 2026
12 checks passed
@waleedlatif1 waleedlatif1 deleted the waleedlatif1/fix-template-desc branch February 25, 2026 20:10
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.

1 participant