mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 08:21:39 -06:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user