Add Web Vitals performance tracking (LCP, INP, CLS, FCP, TTFB)
End-to-end performance metrics tracking: dedicated database table with percentile aggregation, tracker collection behind data-perf attribute, /api/send handling, report API endpoints, and Performance dashboard page with threshold-based metric cards, time-series chart, and per-page breakdown. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
8cd3c03702
commit
ce9e2416fb
24 files changed
+1028
-8
No files matched your search
@@ -340,6 +340,16 @@ export const labels: Record<string, string> = {
|
||||
support: 'label.support',
|
||||
documentation: 'label.documentation',
|
||||
switchAccount: 'label.switch-account',
|
||||
performance: 'label.performance',
|
||||
lcp: 'label.lcp',
|
||||
inp: 'label.inp',
|
||||
cls: 'label.cls',
|
||||
fcp: 'label.fcp',
|
||||
ttfb: 'label.ttfb',
|
||||
good: 'label.good',
|
||||
needsImprovement: 'label.needs-improvement',
|
||||
poor: 'label.poor',
|
||||
sampleSize: 'label.sample-size',
|
||||
};
|
||||
|
||||
export const messages: Record<string, string> = {
|
||||
|
||||
Reference in new issue
Block a user