Skip to content

Commit b5a8f2a

Browse files
committed
fix (sidebar): added public beta banner + welcome panel tasks page prompts update
1 parent e40d72f commit b5a8f2a

2 files changed

Lines changed: 30 additions & 5 deletions

File tree

src/client/components/Sidebar.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,11 @@ const SidebarContent = ({
449449
const [isUpgradeModalOpen, setUpgradeModalOpen] = useState(false)
450450
const router = useRouter()
451451

452+
const fadeInUp = {
453+
hidden: { opacity: 0, y: 10 },
454+
visible: { opacity: 1, y: 0, transition: { duration: 0.3 } }
455+
}
456+
452457
// CHANGED: Use the environment variable for the namespace
453458
const { isPro } = usePlan()
454459

@@ -765,6 +770,26 @@ const SidebarContent = ({
765770
</span>
766771
)}
767772
</a>
773+
<AnimatePresence>
774+
{!isCollapsed && (
775+
<motion.div
776+
variants={fadeInUp}
777+
initial="hidden"
778+
animate="visible"
779+
exit={{ opacity: 0, y: 10 }}
780+
className="relative z-20 w-full"
781+
>
782+
<div className="group relative cursor-default rounded-full border border-brand-orange/50 bg-brand-gray/30 px-4 py-1 text-sm font-mono uppercase tracking-wider text-brand-white/80 transition-colors duration-300 hover:border-brand-orange text-center">
783+
<span className="transition-opacity duration-300 group-hover:opacity-0">
784+
We are in Public Beta
785+
</span>
786+
<span className="absolute inset-0 flex items-center justify-center text-center opacity-0 transition-opacity duration-300 group-hover:opacity-100 px-2">
787+
SORRY 4 BUGS
788+
</span>
789+
</div>
790+
</motion.div>
791+
)}
792+
</AnimatePresence>
768793
<UserProfileSection isCollapsed={isCollapsed} user={user} />
769794
</div>
770795
</div>

src/client/components/tasks/WelcomePanel.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const exampleWorkflows = [
3232
title: "Daily Briefing",
3333
description:
3434
"Get a summary of your unread emails and today's calendar events.",
35-
prompt: "Give me a daily briefing of my unread important emails and today's schedule.",
35+
prompt: "Every morning at 8 AM, send me a summary of unread emails and my upcoming calendar events for the day on WhatsApp.",
3636
tools: ["gmail", "gcalendar"]
3737
},
3838
{
@@ -45,28 +45,28 @@ const exampleWorkflows = [
4545
{
4646
title: "Schedule a Follow-up",
4747
description: "Find a time and schedule a meeting with a contact.",
48-
prompt: "Find a time to schedule a 30-minute follow-up call with jane.doe@example.com for next week.",
48+
prompt: "Find a free slot on my Google Calendar for next week and schedule a follow-up call with jane.doe@example.com now.",
4949
tools: ["gcalendar", "gpeople"]
5050
},
5151
{
5252
title: "Weekly Lead Nurturing",
5353
description:
5454
"Draft personalized follow-up emails for new leads from Google Contacts.",
55-
prompt: "Every Monday morning, find all contacts in my Google Contacts with the label 'Q3-Leads'. For each contact, check my Gmail to see if we've communicated in the last 10 days. If not, draft a friendly, personalized follow-up email asking if they have any questions about our last conversation and suggesting a brief call.",
55+
prompt: "Every Monday morning, find all contacts in my Google Contacts with the label 'Q3-Leads'. For each contact, search my gmail to see if we have discussed anything before. If not, draft a friendly, personalized outreach email asking if they would be open to collaborating and suggest a brief call.",
5656
tools: ["gpeople", "gmail"]
5757
},
5858
{
5959
title: "Content Idea Generation",
6060
description:
6161
"Research trends and populate your Notion database with new content ideas.",
62-
prompt: "Every Friday, find the top 5 news articles from the past week in the 'technology' category. Also, perform an internet search for 'latest trends in AI productivity tools'. Summarize the key findings and add them as new ideas to my 'Content Ideas' database in Notion.",
62+
prompt: "Every Friday, find the top 5 news articles from the past week in the 'technology' category. Also, perform an internet search for 'latest trends in AI productivity tools'. Summarize the key findings and add them as new ideas to the 'Content Ideas for The Week' Page under the Getting Started page in Notion.",
6363
tools: ["internet_search", "notion"]
6464
},
6565
{
6666
title: "Automated Meeting Agenda",
6767
description:
6868
"Generate a meeting agenda by summarizing recent activity from GitHub and Slack.",
69-
prompt: "An hour before our weekly 'Project Phoenix Sync' meeting, prepare the agenda. Summarize all new commits and closed issues in the 'Project-Phoenix' GitHub repo from the last 7 days. Check the '#project-phoenix' Slack channel for any messages containing 'blocker' or 'help'. Create a new Google Doc with this summary and a template for meeting notes.",
69+
prompt: "We have a project sync meeting every Friday at 5PM. Every Friday at 4 PM, summarize all closed issues in the 'Project-Sentient' GitHub repo from the last 7 days. Check the Trello board for Project-Sentient and see what the remaining cards on the 'To-Do' board are. Create a new Google Doc with this summary and outline what we can discuss in the meeting. Share this document with the team on Slack. Add a Google Calendar event for the meeting with the agenda attached.",
7070
tools: ["gcalendar", "github", "slack", "gdocs"]
7171
}
7272
]

0 commit comments

Comments
 (0)