chore(server): increase currently reading widget limit to 10

Adjust the currently reading cap to tune dashboard density without changing feature scope.
This commit is contained in:
neon
2026-05-17 22:11:03 -06:00
parent 69f69febb2
commit 2dea6915d4
2 changed files with 5 additions and 2 deletions
@@ -162,7 +162,10 @@ const statCards = computed(() => [
</script>
<template>
<div class="grid grid-cols-2 gap-2 sm:gap-3 transition-opacity md:grid-cols-8" :class="{ 'opacity-50 pointer-events-none': loading && stats !== null }">
<div
class="grid grid-cols-2 gap-2 sm:gap-3 transition-opacity md:grid-cols-8"
:class="{ 'opacity-50 pointer-events-none': loading && stats !== null }"
>
<template v-if="stats === null && loading">
<div v-for="i in CARD_COUNT" :key="i" :class="CARD_CLASS">
<div class="h-3 w-16 rounded bg-muted animate-shimmer mb-2" />
@@ -34,7 +34,7 @@ import { computeLongestStreak, computeStreakData, formatDay } from './dashboard-
type Db = NodePgDatabase<typeof schema>;
const CURRENTLY_READING_LIMIT = 3;
const CURRENTLY_READING_LIMIT = 10;
const DEFAULT_VIRTUAL_PAGE_COUNT = 300;
@Injectable()