Skip to content

improvement(blocks): name the integration in every suggested-action template title#5775

Merged
waleedlatif1 merged 5 commits into
stagingfrom
worktree-suggested-actions-integration-names
Jul 20, 2026
Merged

improvement(blocks): name the integration in every suggested-action template title#5775
waleedlatif1 merged 5 commits into
stagingfrom
worktree-suggested-actions-integration-names

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Home-screen Suggested actions rows render only an icon + the block template title, so titles that didn't name their integration (e.g. "Refund pattern monitor", "Fireflies CRM updater") were unidentifiable — you couldn't tell what the suggestion was for.
  • Audited all 1,563 template titles: ~76% already named their integration ("Ahrefs keyword tracker"). Rewrote the 234 that didn't, across 63 block files, so each names its integration naturally in that block's existing "Brand + phrase" style ("Refund pattern monitor" → "Square refund pattern monitor").
  • Fixed at the data layer, not with a display-side prefix: a prefix would double-name the 76% that already read correctly, and the catalog surfaces (integration detail page, landing /integrations/[slug]) already show the integration as page context. This keeps all three surfaces consistent.
  • Titles-only change — no code, contract, or prompt changes. Titles that already identify the integration via a known abbreviation (JSM, PDL, Postgres) were left as-is.

Type of Change

  • Bug fix

Testing

Tested manually — re-scanned all titles (0 genuinely-nameless remain), tsc --noEmit clean, verified only title: lines changed and every rewrite reads accurately against its prompt.

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

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Jul 20, 2026 9:23pm

Request Review

@cursor

cursor Bot commented Jul 20, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Copy-only metadata changes to template titles and icons; no auth, APIs, or workflow execution behavior.

Overview
Suggested actions on the home screen show only an icon and the template title, so generic titles like "Refund pattern monitor" did not make the integration obvious. This PR updates 234 BlockMeta.templates[].title strings across 63 block files so each names its integration in the existing "Brand + phrase" style (e.g. "Product analytics digest" → Amplitude product analytics digest).

The fix is titles only in block metadata—no prompts, runtime logic, or display-layer prefixing. A few templates also use the block’s own icon instead of another product’s icon (e.g. GitHub, Gmail, Linear, Stripe), with matching unused icon imports removed.

Reviewed by Cursor Bugbot for commit 2ba526f. Configure here.

@greptile-apps

greptile-apps Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR makes suggested-action titles identify their associated integrations. The main changes are:

  • Renames integration templates across 63 block files.
  • Aligns several template icons with their owning integrations.
  • Renames the cross-listed incident workflow for its PagerDuty trigger.

Confidence Score: 5/5

This looks safe to merge.

  • The updated incident title matches its PagerDuty trigger across the affected integration pages.
  • No blocking issues were found in the changed code.

Important Files Changed

Filename Overview
apps/sim/blocks/blocks/confluence.ts Renames the cross-listed incident template to identify its PagerDuty trigger.
apps/sim/blocks/blocks/greptile.ts Uses the Greptile icon for the Greptile-owned Slack Q&A template and removes the unused icon import.

Reviews (5): Last reviewed commit: "fix(blocks): align Greptile Slack Q&A bo..." | Re-trigger Greptile

Comment thread apps/sim/blocks/blocks/confluence.ts Outdated
…emplate title

Home-screen "Suggested actions" rows render only an icon + the block
template title, so titles that did not name their integration (e.g.
"Refund pattern monitor") were unidentifiable. Rewrite the 234 titles
that omitted their integration so each names it naturally, matching
each block's existing "Brand + phrase" style. Titles-only change; the
catalog surfaces that already show the integration as page context are
unaffected.
…n, not owner

The Confluence-owned incident template uses a PagerDutyIcon, is triggered
by PagerDuty, and is cross-listed to notion/pagerduty/datadog/slack, so
prefixing the owner name misidentified it on those surfaces and fought
its own icon. Name it after the icon + trigger integration instead.
@waleedlatif1
waleedlatif1 force-pushed the worktree-suggested-actions-integration-names branch from f923fe9 to ab92e2a Compare July 20, 2026 20:57
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

Comment thread apps/sim/blocks/blocks/github.ts
Comment thread apps/sim/blocks/blocks/firecrawl.ts Outdated
…ecrawl names

For rows where the owner-prefixed title named a different integration than
the row's icon (github/Notion, stripe/Sheets, calendar/Twilio, gmail/Lemlist,
slack/Linear, linear/Slack), swap the icon to the owner integration the title
already names so the icon-only home row is coherent; drop the now-unused icon
imports. Differentiate two Firecrawl titles that collided with existing
near-duplicate templates.
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

Comment thread apps/sim/blocks/blocks/google_translate.ts Outdated
Comment thread apps/sim/blocks/blocks/sentry.ts Outdated
…llided

Renamed a handful of titles whose brand prefix made them near-identical to a
sibling template: google_translate (Intercom replier / ticket auto-reply),
sentry (on-call triage agent), google_drive (personal notes assistant), sqs
(alert enricher), typeform (survey summarizer). Swept every renamed block for
the same near-duplicate class.
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

Comment thread apps/sim/blocks/blocks/greptile.ts
The renamed title leads with Greptile but the row kept icon: SlackIcon,
conflicting on the icon-only home surface. Swap to GreptileIcon (matching
the block's sibling templates) and drop the orphaned SlackIcon import.
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 2ba526f. Configure here.

@waleedlatif1
waleedlatif1 merged commit 6e5356b into staging Jul 20, 2026
20 checks passed
@waleedlatif1
waleedlatif1 deleted the worktree-suggested-actions-integration-names branch July 20, 2026 22:01
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