style: update greeting messages for improved user engagement and consistency

This commit is contained in:
Anish Sarkar 2025-12-23 00:35:08 +05:30
parent 3703487c59
commit 28985e6af4

View file

@ -210,14 +210,14 @@ const getTimeBasedGreeting = (userEmail?: string): string => {
"Good afternoon", "Good afternoon",
"Afternoon", "Afternoon",
"Hey there", "Hey there",
"Hope you're having a great day", "Hi there",
]; ];
const eveningGreetings = [ const eveningGreetings = [
"Good evening", "Good evening",
"Evening", "Evening",
"Hey there", "Hey there",
"Hope you had a great day", "Hi there",
]; ];
const nightGreetings = [ const nightGreetings = [
@ -228,10 +228,10 @@ const getTimeBasedGreeting = (userEmail?: string): string => {
]; ];
const lateNightGreetings = [ const lateNightGreetings = [
"Burning the midnight oil",
"Still up", "Still up",
"Night owl mode", "Night owl mode",
"The night is young", "The night is young",
"Hi there",
]; ];
// Select a random greeting based on time // Select a random greeting based on time
@ -358,9 +358,7 @@ const ConnectorIndicator: FC = () => {
"outline-none focus:outline-none focus-visible:outline-none", "outline-none focus:outline-none focus-visible:outline-none",
"border-0 ring-0 focus:ring-0 shadow-none focus:shadow-none", "border-0 ring-0 focus:ring-0 shadow-none focus:shadow-none",
"data-[state=open]:bg-transparent data-[state=open]:shadow-none data-[state=open]:ring-0", "data-[state=open]:bg-transparent data-[state=open]:shadow-none data-[state=open]:ring-0",
hasConnectors "text-muted-foreground"
? "text-muted-foreground"
: "text-muted-foreground/60"
)} )}
aria-label={hasConnectors ? "View connected sources" : "Add your first connector"} aria-label={hasConnectors ? "View connected sources" : "Add your first connector"}
onMouseEnter={handleMouseEnter} onMouseEnter={handleMouseEnter}