Introduce reading session tracking with visual insights (#1957)

* Introduce reading session tracking with visual insights (#1957)

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2025-12-21 21:14:42 -07:00
committed by GitHub
co-authored by acx10
parent b12fc82414
commit b5ada2fff0
39 changed files with 2526 additions and 406 deletions
@@ -31,7 +31,6 @@ import {TopSeriesChartService} from '../service/top-series-chart.service';
import {ReadingDNAChartService} from '../service/reading-dna-chart.service';
import {ReadingHabitsChartService} from '../service/reading-habits-chart.service';
import {ChartConfig, ChartConfigService} from '../service/chart-config.service';
import {ReadingHeatmapChartService} from '../service/reading-heatmap-chart.service';
@Component({
selector: 'app-stats-component',
@@ -71,7 +70,6 @@ export class StatsComponent implements OnInit, OnDestroy {
protected readonly readingDNAChartService = inject(ReadingDNAChartService);
protected readonly readingHabitsChartService = inject(ReadingHabitsChartService);
protected readonly chartConfigService = inject(ChartConfigService);
protected readonly readingHeatmapChartService = inject(ReadingHeatmapChartService);
private readonly pageTitle = inject(PageTitleService);
private readonly destroy$ = new Subject<void>();
@@ -100,7 +98,6 @@ export class StatsComponent implements OnInit, OnDestroy {
ngOnInit(): void {
Chart.register(...registerables, Tooltip, ChartDataLabels, MatrixController, MatrixElement);
// Register matrix chart - it's automatically registered when imported
Chart.defaults.plugins.legend.labels.font = {
family: "'Inter', sans-serif",
size: 11.5,