From 66b6629abbeeb583ad75b9ac6e210766155ecbf2 Mon Sep 17 00:00:00 2001 From: Tushar <47842976+tusharmagar@users.noreply.github.com> Date: Mon, 15 Sep 2025 14:31:06 +0530 Subject: [PATCH] Add eisenhower email organiser (#253) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add Eisenhower Email Organiser prebuilt card - Added new eisenhower-email-organiser.json prebuilt workflow template - Updated index.ts to include the new template in exports - Template helps users organize emails using the Eisenhower Matrix (urgent/important quadrants) * fix: update to American spelling - organizer instead of organiser - Updated import statement to use 'eisenhower-email-organizer.json' - Updated export key to 'Eisenhower Email Organizer' - Maintains consistency with American English throughout the codebase * change name of Tweet Assistant * fix: remove duplicate file and fix American spelling in description - Removed duplicate eisenhower-email-organiser.json (British spelling) - Fixed description in eisenhower-email-organizer.json: 'Organises' → 'Organizes' - Now only one file exists with consistent American spelling throughout * fix: update Support category header in prebuilt cards UI - Changed 'Customer Support' to 'Support' in build-assistant-section.tsx - Now matches the category field in customer-support.json - Ensures Support section displays properly in the prebuilt cards UI --- apps/rowboat/app/lib/prebuilt-cards/customer-support.json | 2 +- ...r-email-organiser.json => eisenhower-email-organizer.json} | 4 ++-- apps/rowboat/app/lib/prebuilt-cards/index.ts | 4 ++-- .../app/lib/prebuilt-cards/tweet-with-generated-image.json | 2 +- .../app/projects/components/build-assistant-section.tsx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) rename apps/rowboat/app/lib/prebuilt-cards/{eisenhower-email-organiser.json => eisenhower-email-organizer.json} (98%) diff --git a/apps/rowboat/app/lib/prebuilt-cards/customer-support.json b/apps/rowboat/app/lib/prebuilt-cards/customer-support.json index f4234f01..dd17f608 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/customer-support.json +++ b/apps/rowboat/app/lib/prebuilt-cards/customer-support.json @@ -107,6 +107,6 @@ "lastUpdatedAt": "2025-09-11T18:51:15.548Z", "name": "Customer Support", "description": "Answers product information (RAG) and delivery status (MCP) questions.", - "category": "Customer Support", + "category": "Support", "copilotPrompt": "Give me a brief explanation of this assistant." } diff --git a/apps/rowboat/app/lib/prebuilt-cards/eisenhower-email-organiser.json b/apps/rowboat/app/lib/prebuilt-cards/eisenhower-email-organizer.json similarity index 98% rename from apps/rowboat/app/lib/prebuilt-cards/eisenhower-email-organiser.json rename to apps/rowboat/app/lib/prebuilt-cards/eisenhower-email-organizer.json index 715d683f..b005f498 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/eisenhower-email-organiser.json +++ b/apps/rowboat/app/lib/prebuilt-cards/eisenhower-email-organizer.json @@ -118,8 +118,8 @@ ], "startAgent": "Eisenhower Email Pipeline", "lastUpdatedAt": "2025-09-13T20:34:42.747Z", - "name": "Eisenhower Email Organiser", - "description": "Organises emails into the four Eisenhower Matrix categories.", + "name": "Eisenhower Email Organizer", + "description": "Organizes emails into the four Eisenhower Matrix categories.", "category": "Work Productivity", "copilotPrompt": "Give me a brief explanation of this assistant. Also briefly tell me about how to setup a trigger for this assistant." } \ No newline at end of file diff --git a/apps/rowboat/app/lib/prebuilt-cards/index.ts b/apps/rowboat/app/lib/prebuilt-cards/index.ts index 16f2305f..1d2e9dd3 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/index.ts +++ b/apps/rowboat/app/lib/prebuilt-cards/index.ts @@ -10,7 +10,7 @@ import tweetWithGeneratedImage from './tweet-with-generated-image.json'; import customerSupport from './customer-support.json'; import githubIssueToSlack from './github-issue-to-slack.json'; import githubPrToSlack from './github-pr-to-slack.json'; -import eisenhowerEmailOrganiser from './eisenhower-email-organiser.json'; +import eisenhowerEmailOrganizer from './eisenhower-email-organizer.json'; // Keep keys consistent with prior file basenames to avoid breaking links. export const prebuiltTemplates = { @@ -23,6 +23,6 @@ export const prebuiltTemplates = { 'Customer Support': customerSupport, 'GitHub Issue to Slack': githubIssueToSlack, 'GitHub PR to Slack': githubPrToSlack, - 'Eisenhower Email Organiser': eisenhowerEmailOrganiser, + 'Eisenhower Email Organizer': eisenhowerEmailOrganizer, }; diff --git a/apps/rowboat/app/lib/prebuilt-cards/tweet-with-generated-image.json b/apps/rowboat/app/lib/prebuilt-cards/tweet-with-generated-image.json index 7cd371c5..b68d2e34 100644 --- a/apps/rowboat/app/lib/prebuilt-cards/tweet-with-generated-image.json +++ b/apps/rowboat/app/lib/prebuilt-cards/tweet-with-generated-image.json @@ -293,7 +293,7 @@ "pipelines": [], "startAgent": "Tweet Assistant", "lastUpdatedAt": "2025-09-11T18:02:35.880Z", - "name": "Viral Tweet Assistant", + "name": "Tweet Assistant", "description": "Research topics and create a tweet including generated images.", "category": "News & Social", "copilotPrompt": "Give me a brief explanation of this assistant." diff --git a/apps/rowboat/app/projects/components/build-assistant-section.tsx b/apps/rowboat/app/projects/components/build-assistant-section.tsx index b6c51b69..9247343d 100644 --- a/apps/rowboat/app/projects/components/build-assistant-section.tsx +++ b/apps/rowboat/app/projects/components/build-assistant-section.tsx @@ -489,7 +489,7 @@ export function BuildAssistantSection() { const workTemplates = templates.filter((t) => (t.category || '').toLowerCase() === 'work productivity'); const devTemplates = templates.filter((t) => (t.category || '').toLowerCase() === 'developer productivity'); const newsTemplates = templates.filter((t) => (t.category || '').toLowerCase() === 'news & social'); - const customerSupportTemplates = templates.filter((t) => (t.category || '').toLowerCase() === 'customer support'); + const customerSupportTemplates = templates.filter((t) => (t.category || '').toLowerCase() === 'support'); const renderGrid = (items: any[]) => (