1068a4a5f7
- Tracked items get the same isSpillover flag as categories: a per-item "More" checkbox collapses it into the "More »" nav tab instead of its own top-level tab, mirroring Category.isSpillover end to end (schema, CRUD, public API, nav partitioning, /more page). - Renamed user-facing "Tracked events" text to "Tracked items" (admin tab, toolbar, buttons, placeholders, /event/:id subtitle) — the underlying TrackedEvent/events data model and routes are unchanged. - Locked the per-item recap cadence dropdown (previously a live Continuous/Daily/Hourly picker) and moved it to its own labeled section with an explanatory hint: reading eventsRecap.ts confirmed Continuous and Hourly currently behave identically, so the live choice was more confusing than useful. New items are fixed to Continuous; existing items show their real cadence read-only.
31 lines
644 B
Svelte
31 lines
644 B
Svelte
<script lang="ts">
|
|
import type { PageData } from './$types';
|
|
import InfiniteFeed from '$lib/components/InfiniteFeed.svelte';
|
|
|
|
let { data }: { data: PageData } = $props();
|
|
</script>
|
|
|
|
<div class="head">
|
|
<span class="title">{data.name}</span>
|
|
<span class="sub">Tracked item — periodically recapped by AI</span>
|
|
</div>
|
|
|
|
<InfiniteFeed initial={data.initial} filters={data.filters} pageSize={data.pageSize} />
|
|
|
|
<style>
|
|
.head {
|
|
margin: 24px 0 8px;
|
|
}
|
|
.title {
|
|
font-family: var(--font-voice);
|
|
font-size: 26px;
|
|
font-weight: 500;
|
|
}
|
|
.sub {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
margin-top: 2px;
|
|
}
|
|
</style>
|