Commit Graph

47 Commits

Author SHA1 Message Date
Usman Baig
dd8e101f69 fix: resolve CSS var for chart PNG export background color
html-to-image cannot resolve CSS custom properties. Use
getComputedStyle to get the actual background color from the DOM.
2026-03-07 00:56:22 +01:00
Usman Baig
ece8cda334 style: remove avg reference line and badge from chart
Remove the dashed average line from the chart area and the Avg badge
from the toolbar for a cleaner look.
2026-03-07 00:54:11 +01:00
Usman Baig
74ee64a560 fix: remove tabular-nums causing font fallback on KPI numbers
Plus Jakarta Sans doesn't fully support the tnum OpenType feature,
causing browsers to fall back to system fonts for numeric glyphs.
2026-03-07 00:50:53 +01:00
Usman Baig
641a3deebb refactor: rebuild Chart component from scratch
- Remove sparklines from stat cards (redundant with main chart)
- Widen Y-axis to 40px, add allowDecimals=false for count metrics
- Move avg label from inside chart to toolbar badge
- Lighter grid lines, simpler gradient, thinner strokes
- Streamline toolbar: inline controls, icon-only export, no trailing separator
- Move live indicator from absolute to proper flow element
- Cleaner empty states without dashed border boxes
- Extract TrendBadge component, add tabular-nums for aligned numbers
2026-03-07 00:31:05 +01:00
Usman Baig
77dc61e7d0 fix: round chart average label, update changelog
Fix formatAxisValue to show 1 decimal place for floats instead of raw
floating-point numbers. Update changelog with all UI improvements from
this session.
2026-03-07 00:26:36 +01:00
Usman Baig
2aedc656d7 feat: implement site statistics fetching and display in SiteList component 2026-02-22 00:20:54 +01:00
Usman Baig
4dead4b399 style: standardize gap sizes across multiple components for improved visual consistency 2026-02-21 23:48:03 +01:00
Usman Baig
d08c8f00a0 style: add transition effects to shadow properties across multiple components for improved visual feedback 2026-02-21 23:42:12 +01:00
Usman Baig
0b68db58be style: standardize min-width values across multiple components for improved layout consistency 2026-02-21 23:39:29 +01:00
Usman Baig
f1e6d5a48e style: refactor chart color variables across multiple components to use CSS variables for improved theming consistency 2026-02-21 23:09:34 +01:00
Usman Baig
ae91147b6c chore: update @ciphera-net/ui dependency to version 0.0.57 in package.json and package-lock.json; refactor imports across multiple components for consistency 2026-02-17 20:49:55 +01:00
Usman Baig
213e337940 refactor: optimize data loading and auto-refresh logic in dashboard components, and enhance performance with useCallback for better efficiency 2026-02-12 08:50:10 +01:00
Usman Baig
fc56cbd661 refactor: update tick interval for real-time display in dashboard components and enhance live indicator in Chart component 2026-02-12 08:30:58 +01:00
Usman Baig
9b95ead6ba feat: implement last updated timestamp display in dashboard components for improved data freshness indication 2026-02-12 08:24:55 +01:00
Usman Baig
d25910ffc3 fix: update layout and styling in Chart component for improved readability and alignment 2026-02-11 21:27:23 +01:00
Usman Baig
9a2b3da8fd fix: refine layout and styling in Chart component for better visual alignment and consistency 2026-02-11 21:19:34 +01:00
Usman Baig
928d1571bd fix: adjust layout and styling in Chart component for improved visual consistency 2026-02-11 20:52:06 +01:00
Usman Baig
37257c40ad feat: add compact duration formatting for Y-axis ticks and improve trend display in Chart component 2026-02-11 20:16:07 +01:00
Usman Baig
c623ae1e9b chore: update CHANGELOG.md and bump version to 0.5.0-alpha, highlighting analytics chart improvements and new export functionality 2026-02-11 20:04:33 +01:00
Usman Baig
a1447e98d9 Phase 2: Border Radius & Card Standardization 2026-02-05 17:21:51 +01:00
Usman Baig
62904298b9 feat: integrate interval selection for dashboard charts based on date range 2026-01-30 14:28:26 +01:00
Usman Baig
e19d72ebb8 feat: enhance PDF export with top pages/referrers and move export button to page header 2026-01-30 14:16:26 +01:00
Usman Baig
c01b042254 feat: enhance PDF export with summary cards and improved styling 2026-01-30 14:09:29 +01:00
Usman Baig
35980d31e3 feat: integrate ExportModal for data export functionality in Chart component 2026-01-29 20:51:06 +01:00
Usman Baig
1af35b1b80 chore: update @ciphera-net/ui to version 0.0.26 and remove next-themes dependency 2026-01-27 22:41:56 +01:00
Usman Baig
5857a2ea15 chore: upgrade @ciphera-net/ui to v0.0.18 and refactor icon imports across components 2026-01-24 12:50:43 +01:00
Usman Baig
33779ebf77 chore: upgrade @ciphera-net/ui to v0.0.14 and refactor component imports 2026-01-24 11:42:19 +01:00
Usman Baig
aaf224a278 refactor: migrate UI components to @ciphera-net/ui v0.0.11 2026-01-23 18:35:17 +01:00
Usman Baig
14455e6a75 fix(dashboard): update comparison toggle in Chart component to default to false for improved user experience 2026-01-22 22:23:26 +01:00
Usman Baig
06a8120c68 fix(dashboard): update color for Bounce Rate metric in Chart component to use brand color for consistency 2026-01-22 21:59:38 +01:00
Usman Baig
a71ac45a7f fix(dashboard): update color for Visit Duration metric in Chart component to use brand color for consistency 2026-01-22 21:56:59 +01:00
Usman Baig
ac427597b3 feat(dashboard): extend Chart component to include bounce rate and average duration metrics for enhanced analytics 2026-01-22 21:53:25 +01:00
Usman Baig
81cef1b485 feat(dashboard): integrate Checkbox component for comparison toggle in Chart, enhancing user interaction 2026-01-22 21:46:35 +01:00
Usman Baig
479a6db688 feat(dashboard): update Chart component layout with improved toolbar and export button for enhanced user interaction 2026-01-22 21:42:39 +01:00
Usman Baig
e28baa5482 fix: update Chart component to display day ticks in daily view and optimize X-axis labels accordingly 2026-01-19 18:56:50 +01:00
Usman Baig
dfe415af40 fix: refine Chart component to display midnight timestamps correctly and optimize X-axis labels for hourly intervals 2026-01-19 18:52:41 +01:00
Usman Baig
2a51982c28 fix: update Chart component to display time correctly at midnight for hourly intervals 2026-01-19 18:44:57 +01:00
Usman Baig
43dd977c4c fix: update ChartTooltip to correctly display current metric values in tooltip based on payload order 2026-01-19 18:34:53 +01:00
Usman Baig
ecac8002ae fix: change Area component type from natural to monotone and add baseValue for improved chart rendering 2026-01-19 18:30:11 +01:00
Usman Baig
500310048a feat: enhance Chart component with theme-aware tooltip, comparison feature, and improved axis formatting 2026-01-19 18:25:49 +01:00
Usman Baig
5d867dd519 refactor: update application name and related identifiers from Analytics to Pulse for consistent branding across the codebase 2026-01-19 17:20:01 +01:00
Usman Baig
c69b263cdc feat: Add 1 min and 1 hour interval selection for Today view in analytics dashboard 2026-01-19 11:00:55 +01:00
Usman Baig
e7a123cea2 fix(analytics-ui): standardize branding, colors, and border radii 2026-01-18 19:37:36 +01:00
Usman Baig
84e7be1853 style(frontend): change unique visitors chart color to brand orange 2026-01-18 16:51:05 +01:00
Usman Baig
e6654fae6c fix(frontend): chart type error 2026-01-18 13:28:07 +01:00
Usman Baig
7d3c0d49f9 feat: implement advanced chart dashboard with trends and comparisons 2026-01-18 13:25:01 +01:00
Usman Baig
8e10a05eb1 Initial commit: Analytics frontend implementation 2026-01-16 13:14:19 +01:00