Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/CommitTimeChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default function CommitTimeChart() {
<div className="rounded-xl border border-[var(--border)] bg-[var(--card)] p-6 shadow-sm flex flex-col h-full transition-all duration-300 hover:shadow-md hover:-translate-y-1">
<div className="flex items-center justify-between mb-2">
<h2 className="text-lg font-semibold text-[var(--card-foreground)]">
Commits by Time of Day
Activity Overview
</h2>
<select
value={days}
Expand Down
4 changes: 2 additions & 2 deletions src/components/PRBreakdownChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function PRBreakdownChart() {
if (error) {
return (
<div className="rounded-xl border border-[var(--border)] bg-[var(--card)] p-6 shadow-sm transition-all duration-300 hover:shadow-md hover:-translate-y-1">
<h2 className="mb-4 text-lg font-semibold text-[var(--card-foreground)]">PR Breakdown</h2>
<h2 className="mb-4 text-lg font-semibold text-[var(--card-foreground)]">PR Analytics — Breakdown</h2>
<div className="rounded-lg border border-[var(--destructive)]/20 bg-[var(--destructive)]/10 p-4 text-sm text-[var(--destructive)]">
<p>{error}</p>
<button
Expand All @@ -97,7 +97,7 @@ export default function PRBreakdownChart() {

return (
<div className="rounded-xl border border-[var(--border)] bg-[var(--card)] p-6 shadow-sm transition-all duration-300 hover:shadow-md hover:-translate-y-1">
<h2 className="mb-4 text-lg font-semibold text-[var(--card-foreground)]">PR Breakdown</h2>
<h2 className="mb-4 text-lg font-semibold text-[var(--card-foreground)]">PR Analytics — Breakdown</h2>
{total === 0 ? (
<p className="flex h-[200px] items-center justify-center text-sm text-[var(--muted-foreground)]">
No pull requests found.
Expand Down
2 changes: 1 addition & 1 deletion src/components/PRReviewTrendChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default function PRReviewTrendChart() {
<div className="mb-5 flex items-start justify-between gap-4">
<div>
<h2 className="text-lg font-semibold text-[var(--card-foreground)]">
PR Review Time Trend
PR Analytics — Review Trend
</h2>
<p className="mt-1 text-sm text-[var(--muted-foreground)]">
Average time from PR open to merge over the last 12 weeks.
Expand Down
2 changes: 1 addition & 1 deletion src/components/TopRepos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ export default function TopRepos() {
<div className="flex items-center justify-between mb-4">
<div className="flex items-center gap-3">
<SectionHeader
title={`Top Repositories${!loading && repos.length > 0 ? ` (${repos.length})` : ""}`}
title={`Repo Analytics${!loading && repos.length > 0 ? ` (${repos.length})` : ""}`}
/>

{pinError && (
Expand Down
12 changes: 6 additions & 6 deletions src/lib/dashboard-layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@ export const DASHBOARD_WIDGET_LABELS: Record<DashboardWidgetId, string> = {
"streak-tracker": "Streak Tracker",
"local-coding-time": "Local Coding Time",
"coding-time": "Coding Time",
"commit-time": "Commit Time",
"commit-time": "Activity Overview",
"productive-hours": "Productive Hours",
"repo-analytics": "Repository Analytics",
"pr-metrics": "PR Metrics",
"pr-breakdown": "PR Breakdown",
"pr-review-trend": "PR Review Trend",
"pr-metrics": "PR Analytics",
"pr-breakdown": "PR Analytics (Breakdown)",
"pr-review-trend": "PR Analytics (Review Trend)",
discussions: "Discussions",
"community-metrics": "Community Metrics",
"pinned-repos": "Pinned Repositories",
"top-repos": "Top Repositories",
"top-repos": "Repo Analytics",
"inactive-repos": "Inactive Repositories",
"issue-metrics": "Issue Metrics",
"issue-metrics": "Issue Analytics",
"goal-tracker": "Goal Tracker",
"daily-note": "Daily Note",
"recent-activity": "Recent Activity",
Expand Down