fix: update styles of charts on /insights (#22557)

* fix: update styles of charts on /insights

* clean up

* clean up

* share the same styles with ChartCardItem

* margin for event trends

* fix type error
This commit is contained in:
Eunjae Lee authored and GitHub committed 2025-07-17 14:42:35 +00:00
1 parent 9cfc74a74f
commit 1878802213
18 files changed
+271 -251

No files matched your search

+7 -7
View File
@@ -71,22 +71,22 @@ function InsightsPageContent() {
<BookingStatusLineChart />
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2">
<PopularEventsTable />
<AverageEventDurationChart />
</div>
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-4">
<MostBookedTeamMembersTable />
<LeastBookedTeamMembersTable />
</div>
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
<MostCancelledBookingsTables />
</div>
<RecentFeedbackTable />
<div className="grid grid-cols-1 gap-4 md:grid-cols-2">
<HighestNoShowHostTable />
</div>
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-4">
<HighestRatedMembersTable />
<LowestRatedMembersTable />
<div className="sm:col-span-2">
<RecentFeedbackTable />
</div>
</div>
<small className="text-default block text-center">
{t("looking_for_more_insights")}{" "}
@@ -2167,12 +2167,14 @@
"popular_events": "Popular Events",
"no_event_types_found": "No event types found",
"average_event_duration": "Average Event Duration",
"most_booked_members": "Most Booked Members",
"least_booked_members": "Least Booked Members",
"most_booked_members": "Most Booked",
"least_booked_members": "Least Booked",
"events_created": "Events Created",
"events_completed": "Events Completed",
"events_cancelled": "Events Cancelled",
"events_rescheduled": "Events Rescheduled",
"events": "Events",
"performance": "Performance",
"from_last_period": "from last period",
"from_to_date_period": "From: {{startDate}} To: {{endDate}}",
"redirect_url_warning": "Adding a redirect will disable the success page. Make sure to mention \"Booking Confirmed\" on your custom success page.",
@@ -2720,10 +2722,12 @@
"event_ratings": "Average Ratings",
"event_no_show": "No-Show (Host)",
"event_no_show_guest": "No-Show (Guest)",
"recent_ratings": "Recent ratings",
"recent_ratings": "Recent Ratings",
"no_ratings": "No ratings submitted",
"no_ratings_description": "Add a workflow with 'Rating' to collect ratings after meetings",
"most_no_show_host": "Most No Show Members",
"most_no_show_host": "Most No-Show",
"highest_rated": "Highest Rated",
"lowest_rated": "Lowest Rated",
"highest_rated_members": "Members with highest rated meetings",
"lowest_rated_members": "Members with lowest rated meetings",
"csat_score": "CSAT Score",
@@ -3143,7 +3147,7 @@
"display": "Display",
"could_not_find_slug_to_publish_org": "Could not find slug to publish the organization",
"picklist": "Picklist",
"most_cancelled_bookings": "Most Cancelled Bookings",
"most_cancelled_bookings": "Most Cancelled",
"interface_language": "Interface Language",
"visitors_browser_language": "Visitor's browser language",
"name_or_email": "Name or Email",