fleetlens 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/apps/web/.next/BUILD_ID +1 -1
- package/app/apps/web/.next/app-path-routes-manifest.json +16 -7
- package/app/apps/web/.next/build-manifest.json +7 -7
- package/app/apps/web/.next/prerender-manifest.json +3 -3
- package/app/apps/web/.next/required-server-files.json +2 -1
- package/app/apps/web/.next/routes-manifest.json +86 -24
- package/app/apps/web/.next/server/app/_global-error/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/_global-error/page.js +1 -1
- package/app/apps/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/_global-error.html +1 -1
- package/app/apps/web/.next/server/app/_global-error.rsc +7 -7
- package/app/apps/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/app/apps/web/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/app/apps/web/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/app/apps/web/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/app/apps/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/apps/web/.next/server/app/_not-found/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/_not-found/page.js +5 -4
- package/app/apps/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/api/digest/day/[date]/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/digest/day/[date]/route.js +9 -0
- package/app/apps/web/.next/server/app/api/{insights/saved/[key] → digest/day/[date]}/route.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/api/digest/day/[date]/route_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/api/digest/month/[yearMonth]/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/digest/month/[yearMonth]/route.js +9 -0
- package/app/apps/web/.next/server/app/api/digest/month/[yearMonth]/route.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/api/digest/month/[yearMonth]/route_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/api/digest/month-index/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/digest/month-index/route.js +7 -0
- package/app/apps/web/.next/server/app/api/{insights/months-index → digest/month-index}/route.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/api/{insights/pdf/[key] → digest/month-index}/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/api/digest/week/[startDate]/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/digest/week/[startDate]/route.js +9 -0
- package/app/apps/web/.next/server/app/api/digest/week/[startDate]/route.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/api/digest/week/[startDate]/route_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/api/digest/week-index/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/digest/week-index/route.js +7 -0
- package/app/apps/web/.next/server/app/api/{insights/weeks-index → digest/week-index}/route.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/api/digest/week-index/route_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/api/jobs/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/jobs/route.js +6 -0
- package/app/apps/web/.next/server/app/api/jobs/route.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/api/jobs/route_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/api/runs/[runId]/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/runs/[runId]/route/build-manifest.json +9 -0
- package/app/apps/web/.next/server/app/api/runs/[runId]/route.js +6 -0
- package/app/apps/web/.next/server/app/api/{insights/saved → runs/[runId]}/route.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/api/runs/[runId]/route_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/api/runs/[runId]/stream/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/runs/[runId]/stream/route/build-manifest.json +9 -0
- package/app/apps/web/.next/server/app/api/runs/[runId]/stream/route/server-reference-manifest.json +4 -0
- package/app/apps/web/.next/server/app/api/runs/[runId]/stream/route.js +6 -0
- package/app/apps/web/.next/server/app/api/runs/[runId]/stream/route.js.map +5 -0
- package/app/apps/web/.next/server/app/api/{insights/pdf/[key] → runs/[runId]/stream}/route.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/api/runs/[runId]/stream/route_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/api/runs/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/runs/route/build-manifest.json +9 -0
- package/app/apps/web/.next/server/app/api/runs/route/server-reference-manifest.json +4 -0
- package/app/apps/web/.next/server/app/api/runs/route.js +6 -0
- package/app/apps/web/.next/server/app/api/runs/route.js.map +5 -0
- package/app/apps/web/.next/server/app/api/{insights → runs}/route.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/api/runs/route_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/api/settings/route/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/api/settings/route/build-manifest.json +9 -0
- package/app/apps/web/.next/server/app/api/settings/route/server-reference-manifest.json +4 -0
- package/app/apps/web/.next/server/app/api/settings/route.js +10 -0
- package/app/apps/web/.next/server/app/api/settings/route.js.map +5 -0
- package/app/apps/web/.next/server/app/api/settings/route.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/api/{insights → settings}/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/day/[date]/page/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/{insights/print/[key] → day/[date]}/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/day/[date]/page/server-reference-manifest.json +4 -0
- package/app/apps/web/.next/server/app/day/[date]/page.js +18 -0
- package/app/apps/web/.next/server/app/day/[date]/page.js.map +5 -0
- package/app/apps/web/.next/server/app/day/[date]/page.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/day/[date]/page_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/day/page/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/day/page/build-manifest.json +17 -0
- package/app/apps/web/.next/server/app/day/page/next-font-manifest.json +6 -0
- package/app/apps/web/.next/server/app/day/page/react-loadable-manifest.json +1 -0
- package/app/apps/web/.next/server/app/day/page/server-reference-manifest.json +4 -0
- package/app/apps/web/.next/server/app/{insights/print/[key] → day}/page.js +11 -10
- package/app/apps/web/.next/server/app/day/page.js.map +5 -0
- package/app/apps/web/.next/server/app/day/page.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/day/page_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/digest/[date]/page/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/digest/[date]/page/build-manifest.json +17 -0
- package/app/apps/web/.next/server/app/digest/[date]/page/next-font-manifest.json +6 -0
- package/app/apps/web/.next/server/app/digest/[date]/page/react-loadable-manifest.json +1 -0
- package/app/apps/web/.next/server/app/digest/[date]/page/server-reference-manifest.json +4 -0
- package/app/apps/web/.next/server/app/digest/[date]/page.js +17 -0
- package/app/apps/web/.next/server/app/digest/[date]/page.js.map +5 -0
- package/app/apps/web/.next/server/app/digest/[date]/page.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/digest/[date]/page_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/digest/page/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/digest/page/build-manifest.json +17 -0
- package/app/apps/web/.next/server/app/digest/page/next-font-manifest.json +6 -0
- package/app/apps/web/.next/server/app/digest/page/react-loadable-manifest.json +1 -0
- package/app/apps/web/.next/server/app/digest/page/server-reference-manifest.json +4 -0
- package/app/apps/web/.next/server/app/digest/page.js +17 -0
- package/app/apps/web/.next/server/app/digest/page.js.map +5 -0
- package/app/apps/web/.next/server/app/digest/page.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/digest/page_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/insights/[key]/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/insights/[key]/page.js +7 -5
- package/app/apps/web/.next/server/app/insights/[key]/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/insights/[key]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/insights/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/insights/page.js +7 -5
- package/app/apps/web/.next/server/app/insights/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/insights/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/page.js +7 -6
- package/app/apps/web/.next/server/app/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/parallelism/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/parallelism/page.js +6 -5
- package/app/apps/web/.next/server/app/parallelism/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/parallelism/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/projects/[slug]/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/projects/[slug]/page.js +6 -5
- package/app/apps/web/.next/server/app/projects/[slug]/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/projects/[slug]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/projects/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/projects/page.js +5 -4
- package/app/apps/web/.next/server/app/projects/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/runs/page/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/runs/page/build-manifest.json +17 -0
- package/app/apps/web/.next/server/app/runs/page/next-font-manifest.json +6 -0
- package/app/apps/web/.next/server/app/runs/page/react-loadable-manifest.json +1 -0
- package/app/apps/web/.next/server/app/runs/page/server-reference-manifest.json +4 -0
- package/app/apps/web/.next/server/app/runs/page.js +17 -0
- package/app/apps/web/.next/server/app/runs/page.js.map +5 -0
- package/app/apps/web/.next/server/app/runs/page.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/runs/page_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/sessions/[id]/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/sessions/[id]/page.js +5 -4
- package/app/apps/web/.next/server/app/sessions/[id]/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/sessions/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/sessions/page.js +5 -4
- package/app/apps/web/.next/server/app/sessions/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/sessions/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app/settings/page/app-paths-manifest.json +3 -0
- package/app/apps/web/.next/server/app/settings/page/build-manifest.json +17 -0
- package/app/apps/web/.next/server/app/settings/page/next-font-manifest.json +6 -0
- package/app/apps/web/.next/server/app/settings/page/react-loadable-manifest.json +1 -0
- package/app/apps/web/.next/server/app/settings/page/server-reference-manifest.json +4 -0
- package/app/apps/web/.next/server/app/settings/page.js +18 -0
- package/app/apps/web/.next/server/app/settings/page.js.map +5 -0
- package/app/apps/web/.next/server/app/settings/page.js.nft.json +1 -0
- package/app/apps/web/.next/server/app/settings/page_client-reference-manifest.js +3 -0
- package/app/apps/web/.next/server/app/usage/page/build-manifest.json +4 -4
- package/app/apps/web/.next/server/app/usage/page.js +6 -5
- package/app/apps/web/.next/server/app/usage/page.js.nft.json +1 -1
- package/app/apps/web/.next/server/app/usage/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/app-paths-manifest.json +16 -7
- package/app/apps/web/.next/server/chunks/02dz_web__next-internal_server_app_api_digest_week_[startDate]_route_actions_0klqqsh.js +3 -0
- package/app/apps/web/.next/server/chunks/09og__next-internal_server_app_api_digest_month_[yearMonth]_route_actions_0i4ielu.js +3 -0
- package/app/apps/web/.next/server/chunks/[externals]__0o43ejh._.js +3 -0
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0-vgrh1._.js +3 -0
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__00n3f9y._.js +3 -0
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__02zukjw._.js +3 -0
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__067~im1._.js +6 -0
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__06b4cj-._.js +3 -0
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0_8zh-i._.js +9 -0
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0e8n_x4._.js +3 -0
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0ej_p3s._.js +9 -0
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0jprdks._.js +9 -0
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_digest_day_[date]_route_actions_09sxie5.js +3 -0
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_digest_month-index_route_actions_0wldpbu.js +3 -0
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_digest_week-index_route_actions_12c2wj2.js +3 -0
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_jobs_route_actions_08kx~8-.js +3 -0
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_runs_[runId]_route_actions_0dfcghc.js +3 -0
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_runs_[runId]_stream_route_actions_0.8e8-k.js +3 -0
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_runs_route_actions_0xyx82f.js +3 -0
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_settings_route_actions_0.xv7sx.js +3 -0
- package/app/apps/web/.next/server/chunks/node_modules_next_036my~r._.js +49 -0
- package/app/apps/web/.next/server/chunks/packages_0e7q9u_._.js +3 -0
- package/app/apps/web/.next/server/chunks/packages_0n6p2ot._.js +3 -0
- package/app/apps/web/.next/server/chunks/packages_entries_dist_node_0bckr7-.js +379 -0
- package/app/apps/web/.next/server/chunks/packages_parser_dist_fs_0bc7ptm.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0-1_njm._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0-94ji~._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/{[root-of-the-server]__13xpdx0._.js → [root-of-the-server]__03uoeiw._.js} +2 -2
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0_6.inc._.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0d~2~le._.js +8 -0
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0gio_ck._.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/{[root-of-the-server]__08.d5ia._.js → [root-of-the-server]__0jdyefm._.js} +10 -10
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0ln9jsw._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/{[root-of-the-server]__0z45d0g._.js → [root-of-the-server]__0lz4a~g._.js} +2 -48
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0o1_g.~._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0r4tks8._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0rvzdnx._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/{[root-of-the-server]__0euu8sa._.js → [root-of-the-server]__0u39afl._.js} +2 -2
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0u5d7de._.js +12 -0
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0w52fbc._.js +3 -3
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0wwa6gh._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0xy1qim._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0~_8vff._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__10srpu0._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__11v.eqw._.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/_02s1n-x._.js +8 -0
- package/app/apps/web/.next/server/chunks/ssr/_0fjbf--._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/_0jw2sm7._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/_0wj750k._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/_0woap-3._.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/{_0xies90._.js → _0xu2pvc._.js} +2 -2
- package/app/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_day_[date]_page_actions_0u2kxb..js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_day_page_actions_1042maj.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_digest_[date]_page_actions_0olu967.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_digest_page_actions_0bl.eil.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_runs_page_actions_0485qy7.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_settings_page_actions_0f6epye.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web_app_day_[date]_day-view_tsx_0wjoe1u._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web_app_settings_ai-features-form_tsx_01p699p._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_0b-4-4j._.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_0ly1xes._.js +6 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_0txtsv5._.js +16 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_0xs658s._.js +10 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_runs-live-board_tsx_0r6dkdq._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_usage-charts-dashboard_tsx_0bgr_uv._.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/apps_web_lib_usage-data_ts_0xtv99n._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/node_modules_0i2xw~e._.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/node_modules_next_dist_0e1izl_._.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0d3d4wn.js +4 -0
- package/app/apps/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0edz1ko.js +4 -0
- package/app/apps/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0eq.n-n.js +4 -0
- package/app/apps/web/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0vz7_px.js → node_modules_next_dist_esm_build_templates_app-page_0hcvt-s.js} +3 -3
- package/app/apps/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0nd5zu0.js +4 -0
- package/app/apps/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_11j1qy0.js +4 -0
- package/app/apps/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_12n1lw_.js +1 -1
- package/app/apps/web/.next/server/chunks/ssr/packages_entries_dist_node_0_271yr.js +3 -0
- package/app/apps/web/.next/server/chunks/ssr/packages_parser_dist_0-jvt~a._.js +1 -1
- package/app/apps/web/.next/server/functions-config-manifest.json +11 -6
- package/app/apps/web/.next/server/middleware-build-manifest.js +7 -7
- package/app/apps/web/.next/server/pages/500.html +1 -1
- package/app/apps/web/.next/server/server-reference-manifest.js +1 -1
- package/app/apps/web/.next/server/server-reference-manifest.json +1 -1
- package/app/apps/web/.next/static/chunks/0-yc2_pjxwwuq.js +1 -0
- package/app/apps/web/.next/static/chunks/0257pdz1-imal.js +2 -0
- package/app/apps/web/.next/static/chunks/05m.oz3kmf1p7.js +1 -0
- package/app/apps/web/.next/static/chunks/{0pqt~8bl3ukh4.js → 073081qv4uyn8.js} +1 -1
- package/app/apps/web/.next/static/chunks/{0018dy-m-kusj.js → 07lbm-sdh9c2j.js} +1 -1
- package/app/apps/web/.next/static/chunks/0858bgw2i4vob.js +1 -0
- package/app/apps/web/.next/static/chunks/0_7303jr0sf0w.js +10 -0
- package/app/apps/web/.next/static/chunks/0byz8fqw.exef.js +1 -0
- package/app/apps/web/.next/static/chunks/0coa1800xqgfj.js +1 -0
- package/app/apps/web/.next/static/chunks/0fs3gxea5h0s3.css +1 -0
- package/app/apps/web/.next/static/chunks/0k1psab.bybh9.js +14 -0
- package/app/apps/web/.next/static/chunks/0k9pksi_i.odf.js +1 -0
- package/app/apps/web/.next/static/chunks/0m62vx92~0_0d.js +1 -0
- package/app/apps/web/.next/static/chunks/0mc8aa8z.0-5l.js +8 -0
- package/app/apps/web/.next/static/chunks/0mykrrv810ra-.js +31 -0
- package/app/apps/web/.next/static/chunks/0o9ayt8sknubd.js +1 -0
- package/app/apps/web/.next/static/chunks/0osdgl2.9cl1q.js +6 -0
- package/app/apps/web/.next/static/chunks/0xfu09fn_358k.js +4 -0
- package/app/apps/web/.next/static/chunks/171za22fv684..js +6 -0
- package/app/apps/web/.next/static/chunks/17u2ww8ya5dv1.js +6 -0
- package/app/apps/web/.next/static/chunks/{turbopack-169w-1._23ra_.js → turbopack-0_p36yduv.waj.js} +1 -1
- package/app/apps/web/app/api/digest/day/[date]/route.ts +152 -0
- package/app/apps/web/app/api/digest/month/[yearMonth]/route.ts +147 -0
- package/app/apps/web/app/api/digest/month-index/route.ts +103 -0
- package/app/apps/web/app/api/digest/week/[startDate]/route.ts +149 -0
- package/app/apps/web/app/api/{insights/weeks-index → digest/week-index}/route.ts +45 -33
- package/app/apps/web/app/api/jobs/route.ts +8 -0
- package/app/apps/web/app/api/runs/[runId]/route.ts +64 -0
- package/app/apps/web/app/api/runs/[runId]/stream/route.ts +154 -0
- package/app/apps/web/app/api/runs/route.ts +266 -0
- package/app/apps/web/app/api/settings/route.ts +35 -0
- package/app/apps/web/app/day/[date]/day-view.tsx +193 -0
- package/app/apps/web/app/day/[date]/page.tsx +175 -0
- package/app/apps/web/app/day/page.tsx +8 -0
- package/app/apps/web/app/digest/[date]/page.tsx +15 -0
- package/app/apps/web/app/digest/page.tsx +7 -0
- package/app/apps/web/app/insights/[key]/page.tsx +106 -48
- package/app/apps/web/app/insights/page.tsx +133 -3
- package/app/apps/web/app/layout.tsx +23 -3
- package/app/apps/web/app/page.tsx +33 -4
- package/app/apps/web/app/parallelism/gantt-chart.tsx +67 -1
- package/app/apps/web/app/parallelism/page.tsx +8 -278
- package/app/apps/web/app/projects/[slug]/page.tsx +153 -0
- package/app/apps/web/app/projects/page.tsx +49 -4
- package/app/apps/web/app/projects/projects-view.tsx +79 -68
- package/app/apps/web/app/runs/page.tsx +21 -0
- package/app/apps/web/app/sessions/[id]/page.tsx +12 -1
- package/app/apps/web/app/sessions/[id]/session-view.tsx +569 -21
- package/app/apps/web/app/sessions/page.tsx +19 -3
- package/app/apps/web/app/sessions/sessions-grid.tsx +172 -131
- package/app/apps/web/app/settings/ai-features-form.tsx +45 -0
- package/app/apps/web/app/settings/page.tsx +20 -0
- package/app/apps/web/app/usage/page.tsx +45 -3
- package/app/apps/web/components/auto-generate-yesterday.tsx +96 -0
- package/app/apps/web/components/backfill-drawer.tsx +309 -0
- package/app/apps/web/components/dashboard-view.tsx +4 -2
- package/app/apps/web/components/date-nav.tsx +385 -0
- package/app/apps/web/components/day-digest-view.tsx +180 -0
- package/app/apps/web/components/day-digest.tsx +489 -0
- package/app/apps/web/components/flag-chip.tsx +54 -0
- package/app/apps/web/components/goal-bar.tsx +63 -0
- package/app/apps/web/components/heatmap.tsx +78 -1
- package/app/apps/web/components/helpfulness-sparkline.tsx +82 -0
- package/app/apps/web/components/insights-history.tsx +211 -0
- package/app/apps/web/components/insights-top-bar.tsx +216 -0
- package/app/apps/web/components/job-queue-widget.tsx +274 -0
- package/app/apps/web/components/live-sessions-widget.tsx +38 -3
- package/app/apps/web/components/month-digest-view.tsx +138 -0
- package/app/apps/web/components/month-digest.tsx +216 -0
- package/app/apps/web/components/outcome-mix-row.tsx +37 -0
- package/app/apps/web/components/outcome-pill.tsx +101 -0
- package/app/apps/web/components/previous-cycles-trend.tsx +155 -0
- package/app/apps/web/components/recent-days-panel.tsx +83 -0
- package/app/apps/web/components/runs-live-board.tsx +513 -0
- package/app/apps/web/components/sidebar.tsx +38 -4
- package/app/apps/web/components/usage-chart-range.tsx +58 -6
- package/app/apps/web/components/usage-chart.tsx +94 -7
- package/app/apps/web/components/usage-charts-dashboard.tsx +20 -1
- package/app/apps/web/components/week-digest-view.tsx +226 -0
- package/app/apps/web/components/week-digest.tsx +2128 -0
- package/app/apps/web/components/yesterday-hero.tsx +110 -0
- package/app/apps/web/lib/auto-week-fire.ts +37 -0
- package/app/apps/web/lib/calibration-data.ts +171 -0
- package/app/apps/web/lib/entries-index.ts +174 -0
- package/app/apps/web/lib/entries.ts +72 -0
- package/app/apps/web/lib/inflight-coalesce.test.ts +43 -0
- package/app/apps/web/lib/inflight-coalesce.ts +19 -0
- package/app/apps/web/lib/jobs.ts +170 -0
- package/app/apps/web/lib/usage-data.ts +37 -0
- package/app/apps/web/lib/validate-settings.test.ts +25 -0
- package/app/apps/web/lib/validate-settings.ts +9 -0
- package/app/apps/web/next.config.ts +1 -1
- package/app/apps/web/package.json +4 -2
- package/app/apps/web/server.js +1 -1
- package/app/apps/web/tsconfig.tsbuildinfo +1 -1
- package/app/apps/web/vitest.config.ts +9 -0
- package/dist/daemon-worker.js +1758 -713
- package/dist/index.js +11308 -1888
- package/package.json +4 -1
- package/app/apps/web/.next/server/app/api/insights/months-index/route/app-paths-manifest.json +0 -3
- package/app/apps/web/.next/server/app/api/insights/months-index/route.js +0 -7
- package/app/apps/web/.next/server/app/api/insights/months-index/route_client-reference-manifest.js +0 -3
- package/app/apps/web/.next/server/app/api/insights/pdf/[key]/route/app-paths-manifest.json +0 -3
- package/app/apps/web/.next/server/app/api/insights/pdf/[key]/route.js +0 -6
- package/app/apps/web/.next/server/app/api/insights/route/app-paths-manifest.json +0 -3
- package/app/apps/web/.next/server/app/api/insights/route.js +0 -8
- package/app/apps/web/.next/server/app/api/insights/saved/[key]/route/app-paths-manifest.json +0 -3
- package/app/apps/web/.next/server/app/api/insights/saved/[key]/route.js +0 -6
- package/app/apps/web/.next/server/app/api/insights/saved/[key]/route_client-reference-manifest.js +0 -3
- package/app/apps/web/.next/server/app/api/insights/saved/route/app-paths-manifest.json +0 -3
- package/app/apps/web/.next/server/app/api/insights/saved/route.js +0 -6
- package/app/apps/web/.next/server/app/api/insights/saved/route_client-reference-manifest.js +0 -3
- package/app/apps/web/.next/server/app/api/insights/weeks-index/route/app-paths-manifest.json +0 -3
- package/app/apps/web/.next/server/app/api/insights/weeks-index/route.js +0 -7
- package/app/apps/web/.next/server/app/api/insights/weeks-index/route_client-reference-manifest.js +0 -3
- package/app/apps/web/.next/server/app/insights/print/[key]/page/app-paths-manifest.json +0 -3
- package/app/apps/web/.next/server/app/insights/print/[key]/page.js.nft.json +0 -1
- package/app/apps/web/.next/server/app/insights/print/[key]/page_client-reference-manifest.js +0 -3
- package/app/apps/web/.next/server/chunks/02dz_web__next-internal_server_app_api_insights_months-index_route_actions_0~h~zci.js +0 -3
- package/app/apps/web/.next/server/chunks/02dz_web__next-internal_server_app_api_insights_saved_[key]_route_actions_0a5j9yw.js +0 -3
- package/app/apps/web/.next/server/chunks/02dz_web__next-internal_server_app_api_insights_weeks-index_route_actions_0hh-1c7.js +0 -3
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0.hmj0z._.js +0 -3
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__01h_g-p._.js +0 -3
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0nh-z10._.js +0 -3
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0ri7q~r._.js +0 -3
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0rr1~~x._.js +0 -3
- package/app/apps/web/.next/server/chunks/[root-of-the-server]__0s0gv.0._.js +0 -3
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_insights_pdf_[key]_route_actions_0lu-lnx.js +0 -3
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_insights_route_actions_0h8l5lz.js +0 -3
- package/app/apps/web/.next/server/chunks/apps_web__next-internal_server_app_api_insights_saved_route_actions_13rlblw.js +0 -3
- package/app/apps/web/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_00t2xj6.js +0 -68
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0.tsxpj._.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__00z7zlm._.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__08pen0k._.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0b323~k._.js +0 -8
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0gx-4qa._.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0wv27wt._.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/[root-of-the-server]__13itnvx._.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/_09n75_5._.js +0 -8
- package/app/apps/web/.next/server/chunks/ssr/_0r~__0v._.js +0 -12
- package/app/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_insights_print_[key]_page_actions_0a853fw.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/apps_web_app_parallelism_08vub.0._.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_06j3c.0._.js +0 -8
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_0bbo_pd._.js +0 -8
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_insight-report_tsx_13q2a-c._.js +0 -12
- package/app/apps/web/.next/server/chunks/ssr/apps_web_components_insights-view_tsx_11730ta._.js +0 -6
- package/app/apps/web/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0nqz8dw._.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/node_modules_next_dist_0t-hj0x._.js +0 -3
- package/app/apps/web/.next/server/chunks/ssr/packages_parser_dist_analytics_0k4dgst.js +0 -3
- package/app/apps/web/.next/static/chunks/028_pmk40b69_.js +0 -6
- package/app/apps/web/.next/static/chunks/03.mv4y4.w-vb.js +0 -6
- package/app/apps/web/.next/static/chunks/03_7xtpi9sv4g.js +0 -4
- package/app/apps/web/.next/static/chunks/03g5dw5eskotd.js +0 -6
- package/app/apps/web/.next/static/chunks/063oimt30jeo9.js +0 -10
- package/app/apps/web/.next/static/chunks/08c1pcrocqq5s.js +0 -6
- package/app/apps/web/.next/static/chunks/0e-wrhqh4h3r5.js +0 -2
- package/app/apps/web/.next/static/chunks/0fc6dk2qtokwh.js +0 -1
- package/app/apps/web/.next/static/chunks/0i7er7_bfab36.js +0 -10
- package/app/apps/web/.next/static/chunks/0ipytyi01h0ta.js +0 -1
- package/app/apps/web/.next/static/chunks/0lsznd4_avzhv.js +0 -6
- package/app/apps/web/.next/static/chunks/0lty3v_i9mde7.js +0 -1
- package/app/apps/web/.next/static/chunks/0vekjjj4pidlz.css +0 -1
- package/app/apps/web/.next/static/chunks/137uw2-qbro07.js +0 -31
- package/app/apps/web/app/api/insights/months-index/route.ts +0 -80
- package/app/apps/web/app/api/insights/pdf/[key]/route.ts +0 -45
- package/app/apps/web/app/api/insights/route.ts +0 -508
- package/app/apps/web/app/api/insights/saved/[key]/route.ts +0 -11
- package/app/apps/web/app/api/insights/saved/route.ts +0 -9
- package/app/apps/web/app/insights/print/[key]/page.tsx +0 -73
- package/app/apps/web/components/insight-report.tsx +0 -1031
- package/app/apps/web/components/insights-view.tsx +0 -647
- package/app/apps/web/lib/ai/insights-prompt.ts +0 -71
- package/app/apps/web/lib/ai/saved-reports.ts +0 -83
- /package/app/apps/web/.next/server/app/api/{insights/months-index → digest/day/[date]}/route/build-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/months-index → digest/day/[date]}/route/server-reference-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/months-index → digest/day/[date]}/route.js.map +0 -0
- /package/app/apps/web/.next/server/app/api/{insights → digest/month/[yearMonth]}/route/build-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights → digest/month/[yearMonth]}/route/server-reference-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights → digest/month/[yearMonth]}/route.js.map +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/pdf/[key] → digest/month-index}/route/build-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/pdf/[key] → digest/month-index}/route/server-reference-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/pdf/[key] → digest/month-index}/route.js.map +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/saved → digest/week/[startDate]}/route/build-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/saved → digest/week/[startDate]}/route/server-reference-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/saved → digest/week/[startDate]}/route.js.map +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/saved/[key] → digest/week-index}/route/build-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/saved/[key] → digest/week-index}/route/server-reference-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/saved/[key] → digest/week-index}/route.js.map +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/weeks-index → jobs}/route/build-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/weeks-index → jobs}/route/server-reference-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/api/{insights/weeks-index → jobs}/route.js.map +0 -0
- /package/app/apps/web/.next/server/app/{insights/print/[key]/page → api/runs/[runId]/route}/server-reference-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/{insights/print/[key]/page.js.map → api/runs/[runId]/route.js.map} +0 -0
- /package/app/apps/web/.next/server/app/{insights/print/[key] → day/[date]}/page/next-font-manifest.json +0 -0
- /package/app/apps/web/.next/server/app/{insights/print/[key] → day/[date]}/page/react-loadable-manifest.json +0 -0
- /package/app/apps/web/.next/static/{G_4ofKI9v9ARC_lb9JILZ → 8tTWPvUhtatZEoocIhamh}/_buildManifest.js +0 -0
- /package/app/apps/web/.next/static/{G_4ofKI9v9ARC_lb9JILZ → 8tTWPvUhtatZEoocIhamh}/_clientMiddlewareManifest.js +0 -0
- /package/app/apps/web/.next/static/{G_4ofKI9v9ARC_lb9JILZ → 8tTWPvUhtatZEoocIhamh}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { useRouter } from "next/navigation";
|
|
4
|
+
import { useMemo, useState } from "react";
|
|
5
|
+
import Link from "next/link";
|
|
6
|
+
|
|
7
|
+
export type DayInfo = {
|
|
8
|
+
date: string;
|
|
9
|
+
sessions: number;
|
|
10
|
+
/** Total airtime across sessions that started this day. */
|
|
11
|
+
airTimeMs: number;
|
|
12
|
+
/** Total parallel burst time on this day. */
|
|
13
|
+
parallelMs: number;
|
|
14
|
+
/** Number of bursts on this day. */
|
|
15
|
+
burstCount: number;
|
|
16
|
+
/** Peak concurrency on this day (max across all its bursts). */
|
|
17
|
+
peakConcurrency: number;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** Compact duration like "45m", "2h", "3h 20m". */
|
|
21
|
+
function fmtShortDur(ms: number): string {
|
|
22
|
+
if (ms < 60_000) return `${Math.round(ms / 1000)}s`;
|
|
23
|
+
const totalMin = Math.round(ms / 60_000);
|
|
24
|
+
if (totalMin < 60) return `${totalMin}m`;
|
|
25
|
+
const h = Math.floor(totalMin / 60);
|
|
26
|
+
const m = totalMin % 60;
|
|
27
|
+
return m ? `${h}h ${m}m` : `${h}h`;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Custom date picker with a mini-calendar popover. Each cell tints with
|
|
32
|
+
* intensity proportional to the day's airtime; days with concurrency
|
|
33
|
+
* bursts get a small purple corner dot. URL pattern is parameterized so
|
|
34
|
+
* the same widget works on /day/[date] and any future day-scoped surface.
|
|
35
|
+
*/
|
|
36
|
+
export function DateNav({
|
|
37
|
+
date,
|
|
38
|
+
today,
|
|
39
|
+
prevDay,
|
|
40
|
+
nextDay,
|
|
41
|
+
dayStats,
|
|
42
|
+
hrefForDate = (d) => `/day/${d}`,
|
|
43
|
+
}: {
|
|
44
|
+
date: string;
|
|
45
|
+
today: string;
|
|
46
|
+
prevDay?: string;
|
|
47
|
+
nextDay?: string;
|
|
48
|
+
/** Per-day session counts for the calendar heatmap. */
|
|
49
|
+
dayStats: DayInfo[];
|
|
50
|
+
/** Build the navigation URL for a given YYYY-MM-DD date. */
|
|
51
|
+
hrefForDate?: (date: string) => string;
|
|
52
|
+
}) {
|
|
53
|
+
const router = useRouter();
|
|
54
|
+
const [calOpen, setCalOpen] = useState(false);
|
|
55
|
+
|
|
56
|
+
const [selY, selM] = useMemo(() => {
|
|
57
|
+
const [y, m] = date.split("-").map(Number) as [number, number, number];
|
|
58
|
+
return [y, m];
|
|
59
|
+
}, [date]);
|
|
60
|
+
|
|
61
|
+
const [viewY, setViewY] = useState(selY);
|
|
62
|
+
const [viewM, setViewM] = useState(selM);
|
|
63
|
+
const [hoverDay, setHoverDay] = useState<string | null>(null);
|
|
64
|
+
const [hoverPos, setHoverPos] = useState<{ x: number; y: number } | null>(null);
|
|
65
|
+
|
|
66
|
+
const statsMap = useMemo(() => {
|
|
67
|
+
const map = new Map<string, DayInfo>();
|
|
68
|
+
for (const d of dayStats) map.set(d.date, d);
|
|
69
|
+
return map;
|
|
70
|
+
}, [dayStats]);
|
|
71
|
+
|
|
72
|
+
const calDays = useMemo(() => {
|
|
73
|
+
const firstOfMonth = new Date(viewY, viewM - 1, 1);
|
|
74
|
+
const startDow = firstOfMonth.getDay();
|
|
75
|
+
const daysInMonth = new Date(viewY, viewM, 0).getDate();
|
|
76
|
+
const cells: (string | null)[] = [];
|
|
77
|
+
for (let i = 0; i < startDow; i++) cells.push(null);
|
|
78
|
+
for (let d = 1; d <= daysInMonth; d++) {
|
|
79
|
+
const mm = String(viewM).padStart(2, "0");
|
|
80
|
+
const dd = String(d).padStart(2, "0");
|
|
81
|
+
cells.push(`${viewY}-${mm}-${dd}`);
|
|
82
|
+
}
|
|
83
|
+
return cells;
|
|
84
|
+
}, [viewY, viewM]);
|
|
85
|
+
|
|
86
|
+
const maxAirTimeMs = useMemo(() => {
|
|
87
|
+
let max = 0;
|
|
88
|
+
for (const d of dayStats) if (d.airTimeMs > max) max = d.airTimeMs;
|
|
89
|
+
return max;
|
|
90
|
+
}, [dayStats]);
|
|
91
|
+
|
|
92
|
+
const monthLabel = new Date(viewY, viewM - 1).toLocaleString(undefined, {
|
|
93
|
+
month: "long", year: "numeric",
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
const goMonth = (delta: number) => {
|
|
97
|
+
let m = viewM + delta;
|
|
98
|
+
let y = viewY;
|
|
99
|
+
if (m < 1) { m = 12; y--; }
|
|
100
|
+
if (m > 12) { m = 1; y++; }
|
|
101
|
+
setViewM(m);
|
|
102
|
+
setViewY(y);
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const pickDay = (d: string) => {
|
|
106
|
+
setCalOpen(false);
|
|
107
|
+
router.push(hrefForDate(d));
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
return (
|
|
111
|
+
<div style={{ display: "flex", alignItems: "center", gap: 8, flexWrap: "wrap", position: "relative" }}>
|
|
112
|
+
{prevDay ? (
|
|
113
|
+
<Link
|
|
114
|
+
href={hrefForDate(prevDay)}
|
|
115
|
+
style={{
|
|
116
|
+
padding: "5px 10px",
|
|
117
|
+
border: "1px solid var(--af-border-subtle)",
|
|
118
|
+
borderRadius: 6,
|
|
119
|
+
fontSize: 11,
|
|
120
|
+
color: "var(--af-text-secondary)",
|
|
121
|
+
}}
|
|
122
|
+
>←</Link>
|
|
123
|
+
) : (
|
|
124
|
+
<span style={{ padding: "5px 10px", opacity: 0.3, fontSize: 11, color: "var(--af-text-tertiary)" }}>←</span>
|
|
125
|
+
)}
|
|
126
|
+
|
|
127
|
+
<button
|
|
128
|
+
type="button"
|
|
129
|
+
onClick={() => {
|
|
130
|
+
setViewY(selY);
|
|
131
|
+
setViewM(selM);
|
|
132
|
+
setCalOpen((p) => !p);
|
|
133
|
+
}}
|
|
134
|
+
style={{
|
|
135
|
+
padding: "5px 12px",
|
|
136
|
+
fontSize: 12,
|
|
137
|
+
fontFamily: "var(--font-mono)",
|
|
138
|
+
border: "1px solid var(--af-border-subtle)",
|
|
139
|
+
borderRadius: 6,
|
|
140
|
+
background: calOpen ? "var(--af-accent-subtle)" : "transparent",
|
|
141
|
+
color: calOpen ? "var(--af-accent)" : "var(--af-text)",
|
|
142
|
+
cursor: "pointer",
|
|
143
|
+
fontWeight: 500,
|
|
144
|
+
minWidth: 120,
|
|
145
|
+
textAlign: "center",
|
|
146
|
+
}}
|
|
147
|
+
>
|
|
148
|
+
{date}
|
|
149
|
+
</button>
|
|
150
|
+
|
|
151
|
+
{nextDay ? (
|
|
152
|
+
<Link
|
|
153
|
+
href={hrefForDate(nextDay)}
|
|
154
|
+
style={{
|
|
155
|
+
padding: "5px 10px",
|
|
156
|
+
border: "1px solid var(--af-border-subtle)",
|
|
157
|
+
borderRadius: 6,
|
|
158
|
+
fontSize: 11,
|
|
159
|
+
color: "var(--af-text-secondary)",
|
|
160
|
+
}}
|
|
161
|
+
>→</Link>
|
|
162
|
+
) : (
|
|
163
|
+
<span style={{ padding: "5px 10px", opacity: 0.3, fontSize: 11, color: "var(--af-text-tertiary)" }}>→</span>
|
|
164
|
+
)}
|
|
165
|
+
|
|
166
|
+
<Link
|
|
167
|
+
href={hrefForDate(today)}
|
|
168
|
+
style={{
|
|
169
|
+
padding: "5px 12px",
|
|
170
|
+
border: "1px solid var(--af-border-subtle)",
|
|
171
|
+
borderRadius: 6,
|
|
172
|
+
fontSize: 11,
|
|
173
|
+
color: date === today ? "var(--af-accent)" : "var(--af-text-secondary)",
|
|
174
|
+
background: date === today ? "var(--af-accent-subtle)" : "transparent",
|
|
175
|
+
fontWeight: 500,
|
|
176
|
+
}}
|
|
177
|
+
>
|
|
178
|
+
Today
|
|
179
|
+
</Link>
|
|
180
|
+
|
|
181
|
+
{calOpen && (
|
|
182
|
+
<div
|
|
183
|
+
style={{
|
|
184
|
+
position: "absolute",
|
|
185
|
+
top: "calc(100% + 8px)",
|
|
186
|
+
left: 0,
|
|
187
|
+
zIndex: 60,
|
|
188
|
+
background: "var(--af-surface)",
|
|
189
|
+
border: "1px solid var(--af-border-subtle)",
|
|
190
|
+
borderRadius: 10,
|
|
191
|
+
padding: "12px 14px",
|
|
192
|
+
boxShadow: "0 8px 28px rgba(0,0,0,0.18)",
|
|
193
|
+
minWidth: 300,
|
|
194
|
+
}}
|
|
195
|
+
>
|
|
196
|
+
<div style={{
|
|
197
|
+
display: "flex", alignItems: "center", justifyContent: "space-between",
|
|
198
|
+
marginBottom: 10,
|
|
199
|
+
}}>
|
|
200
|
+
<button
|
|
201
|
+
type="button"
|
|
202
|
+
onClick={() => goMonth(-1)}
|
|
203
|
+
style={{
|
|
204
|
+
background: "transparent", border: "none", cursor: "pointer",
|
|
205
|
+
color: "var(--af-text-secondary)", fontSize: 14, padding: "2px 8px", borderRadius: 4,
|
|
206
|
+
}}
|
|
207
|
+
>‹</button>
|
|
208
|
+
<span style={{ fontSize: 13, fontWeight: 600, color: "var(--af-text)" }}>{monthLabel}</span>
|
|
209
|
+
<button
|
|
210
|
+
type="button"
|
|
211
|
+
onClick={() => goMonth(1)}
|
|
212
|
+
style={{
|
|
213
|
+
background: "transparent", border: "none", cursor: "pointer",
|
|
214
|
+
color: "var(--af-text-secondary)", fontSize: 14, padding: "2px 8px", borderRadius: 4,
|
|
215
|
+
}}
|
|
216
|
+
>›</button>
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
<div style={{ display: "grid", gridTemplateColumns: "repeat(7, 1fr)", gap: 2, marginBottom: 4 }}>
|
|
220
|
+
{["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map((d) => (
|
|
221
|
+
<div key={d} style={{
|
|
222
|
+
textAlign: "center", fontSize: 9, color: "var(--af-text-tertiary)",
|
|
223
|
+
fontWeight: 600, padding: "2px 0",
|
|
224
|
+
}}>{d}</div>
|
|
225
|
+
))}
|
|
226
|
+
</div>
|
|
227
|
+
|
|
228
|
+
<div style={{ display: "grid", gridTemplateColumns: "repeat(7, 1fr)", gap: 2 }}>
|
|
229
|
+
{calDays.map((day, i) => {
|
|
230
|
+
if (!day) return <div key={`blank-${i}`} />;
|
|
231
|
+
const info = statsMap.get(day);
|
|
232
|
+
const airTimeMs = info?.airTimeMs ?? 0;
|
|
233
|
+
const burstCount = info?.burstCount ?? 0;
|
|
234
|
+
const isSelected = day === date;
|
|
235
|
+
const isToday = day === today;
|
|
236
|
+
const isFuture = day > today;
|
|
237
|
+
const intensity = airTimeMs > 0 && maxAirTimeMs > 0
|
|
238
|
+
? Math.min(1, airTimeMs / maxAirTimeMs) : 0;
|
|
239
|
+
const dayNum = parseInt(day.split("-")[2]!, 10);
|
|
240
|
+
|
|
241
|
+
return (
|
|
242
|
+
<button
|
|
243
|
+
key={day}
|
|
244
|
+
type="button"
|
|
245
|
+
onClick={() => pickDay(day)}
|
|
246
|
+
disabled={isFuture}
|
|
247
|
+
onMouseEnter={(e) => {
|
|
248
|
+
if (isFuture) return;
|
|
249
|
+
const rect = e.currentTarget.getBoundingClientRect();
|
|
250
|
+
const parentRect = e.currentTarget.offsetParent?.getBoundingClientRect() ?? rect;
|
|
251
|
+
setHoverDay(day);
|
|
252
|
+
setHoverPos({
|
|
253
|
+
x: rect.left - parentRect.left + rect.width / 2,
|
|
254
|
+
y: rect.bottom - parentRect.top + 6,
|
|
255
|
+
});
|
|
256
|
+
}}
|
|
257
|
+
onMouseLeave={() => { setHoverDay(null); setHoverPos(null); }}
|
|
258
|
+
style={{
|
|
259
|
+
position: "relative",
|
|
260
|
+
width: 40, height: 40,
|
|
261
|
+
display: "flex", flexDirection: "column",
|
|
262
|
+
alignItems: "center", justifyContent: "center", gap: 1,
|
|
263
|
+
border: isSelected ? "2px solid var(--af-accent)"
|
|
264
|
+
: isToday ? "1px solid var(--af-text-tertiary)"
|
|
265
|
+
: "1px solid transparent",
|
|
266
|
+
borderRadius: 6,
|
|
267
|
+
background: intensity > 0
|
|
268
|
+
? `rgba(45, 212, 191, ${0.08 + intensity * 0.35})`
|
|
269
|
+
: "transparent",
|
|
270
|
+
color: isFuture ? "var(--af-text-tertiary)"
|
|
271
|
+
: isSelected ? "var(--af-accent)"
|
|
272
|
+
: "var(--af-text)",
|
|
273
|
+
cursor: isFuture ? "not-allowed" : "pointer",
|
|
274
|
+
fontSize: 11,
|
|
275
|
+
fontWeight: isSelected ? 700 : 400,
|
|
276
|
+
fontFamily: "var(--font-mono)",
|
|
277
|
+
padding: 0,
|
|
278
|
+
opacity: isFuture ? 0.4 : 1,
|
|
279
|
+
}}
|
|
280
|
+
>
|
|
281
|
+
<span style={{ lineHeight: 1 }}>{dayNum}</span>
|
|
282
|
+
{airTimeMs > 0 && (
|
|
283
|
+
<span style={{
|
|
284
|
+
fontSize: 8,
|
|
285
|
+
color: isSelected ? "var(--af-accent)" : "var(--af-text-tertiary)",
|
|
286
|
+
lineHeight: 1, fontWeight: 600, marginTop: 2,
|
|
287
|
+
}}>{fmtShortDur(airTimeMs)}</span>
|
|
288
|
+
)}
|
|
289
|
+
{burstCount > 0 && (
|
|
290
|
+
<span style={{
|
|
291
|
+
position: "absolute", top: 3, right: 3,
|
|
292
|
+
width: 5, height: 5, borderRadius: "50%",
|
|
293
|
+
background: "rgba(167, 139, 250, 0.95)",
|
|
294
|
+
boxShadow: "0 0 0 1px var(--af-surface)",
|
|
295
|
+
}} />
|
|
296
|
+
)}
|
|
297
|
+
</button>
|
|
298
|
+
);
|
|
299
|
+
})}
|
|
300
|
+
</div>
|
|
301
|
+
|
|
302
|
+
<div style={{
|
|
303
|
+
display: "flex", alignItems: "center", justifyContent: "space-between",
|
|
304
|
+
gap: 10, marginTop: 10, paddingTop: 8,
|
|
305
|
+
borderTop: "1px solid var(--af-border-subtle)",
|
|
306
|
+
fontSize: 9, color: "var(--af-text-tertiary)",
|
|
307
|
+
}}>
|
|
308
|
+
<div style={{ display: "flex", alignItems: "center", gap: 5 }}>
|
|
309
|
+
<span>less</span>
|
|
310
|
+
<div style={{ display: "flex", gap: 2 }}>
|
|
311
|
+
{[0, 0.15, 0.3, 0.5, 0.8].map((v, i) => (
|
|
312
|
+
<span key={i} style={{
|
|
313
|
+
width: 10, height: 10, borderRadius: 2,
|
|
314
|
+
background: v === 0 ? "var(--af-border-subtle)" : `rgba(45, 212, 191, ${0.08 + v * 0.35})`,
|
|
315
|
+
}} />
|
|
316
|
+
))}
|
|
317
|
+
</div>
|
|
318
|
+
<span>more active</span>
|
|
319
|
+
</div>
|
|
320
|
+
<div style={{ display: "flex", alignItems: "center", gap: 5 }} title="Days with at least one concurrency burst">
|
|
321
|
+
<span style={{ width: 5, height: 5, borderRadius: "50%", background: "rgba(167, 139, 250, 0.95)" }} />
|
|
322
|
+
parallel
|
|
323
|
+
</div>
|
|
324
|
+
</div>
|
|
325
|
+
|
|
326
|
+
{hoverDay && hoverPos && (() => {
|
|
327
|
+
const info = statsMap.get(hoverDay);
|
|
328
|
+
const sessions = info?.sessions ?? 0;
|
|
329
|
+
const airTimeMs = info?.airTimeMs ?? 0;
|
|
330
|
+
const parallelMs = info?.parallelMs ?? 0;
|
|
331
|
+
const burstCount = info?.burstCount ?? 0;
|
|
332
|
+
const peakConcurrency = info?.peakConcurrency ?? 0;
|
|
333
|
+
return (
|
|
334
|
+
<div style={{
|
|
335
|
+
position: "absolute",
|
|
336
|
+
left: Math.max(10, Math.min(hoverPos.x - 110, 290)),
|
|
337
|
+
top: hoverPos.y,
|
|
338
|
+
width: 220,
|
|
339
|
+
pointerEvents: "none",
|
|
340
|
+
background: "var(--af-surface-elevated)",
|
|
341
|
+
border: "1px solid var(--af-border-subtle)",
|
|
342
|
+
borderRadius: 8, padding: "9px 12px",
|
|
343
|
+
boxShadow: "0 6px 22px rgba(0,0,0,0.22)",
|
|
344
|
+
fontSize: 11, color: "var(--af-text)",
|
|
345
|
+
zIndex: 65, lineHeight: 1.5,
|
|
346
|
+
}}>
|
|
347
|
+
<div style={{ fontFamily: "var(--font-mono)", fontWeight: 700, fontSize: 11, marginBottom: 4 }}>
|
|
348
|
+
{hoverDay}
|
|
349
|
+
</div>
|
|
350
|
+
{sessions === 0 && airTimeMs === 0 && parallelMs === 0 ? (
|
|
351
|
+
<div style={{ color: "var(--af-text-tertiary)", fontSize: 10 }}>no activity</div>
|
|
352
|
+
) : (
|
|
353
|
+
<>
|
|
354
|
+
<Stat label="sessions" value={String(sessions)} />
|
|
355
|
+
<Stat label="active time" value={airTimeMs > 0 ? fmtShortDur(airTimeMs) : "—"} />
|
|
356
|
+
{parallelMs > 0 && (
|
|
357
|
+
<>
|
|
358
|
+
<div style={{ marginTop: 4, paddingTop: 4, borderTop: "1px dashed var(--af-border-subtle)" }} />
|
|
359
|
+
<Stat label="parallel time" value={fmtShortDur(parallelMs)} />
|
|
360
|
+
<Stat label="peak concurrency" value={`×${peakConcurrency}`} accent />
|
|
361
|
+
<Stat label="bursts" value={String(burstCount)} />
|
|
362
|
+
</>
|
|
363
|
+
)}
|
|
364
|
+
</>
|
|
365
|
+
)}
|
|
366
|
+
</div>
|
|
367
|
+
);
|
|
368
|
+
})()}
|
|
369
|
+
</div>
|
|
370
|
+
)}
|
|
371
|
+
</div>
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
function Stat({ label, value, accent }: { label: string; value: string; accent?: boolean }) {
|
|
376
|
+
return (
|
|
377
|
+
<div style={{
|
|
378
|
+
display: "flex", justifyContent: "space-between",
|
|
379
|
+
color: "var(--af-text-secondary)", fontSize: 10,
|
|
380
|
+
}}>
|
|
381
|
+
<span>{label}</span>
|
|
382
|
+
<strong style={{ color: accent ? "rgba(167, 139, 250, 1)" : "var(--af-text)" }}>{value}</strong>
|
|
383
|
+
</div>
|
|
384
|
+
);
|
|
385
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useState, useCallback, useMemo, type ReactNode } from "react";
|
|
3
|
+
import { DayDigest as DayDigestRender } from "./day-digest";
|
|
4
|
+
import type { DayDigest as DayDigestType, Entry } from "@claude-lens/entries";
|
|
5
|
+
|
|
6
|
+
type Status = "idle" | "streaming" | "done" | "error";
|
|
7
|
+
|
|
8
|
+
export function DayDigestView({
|
|
9
|
+
initial, entries, date, aiEnabled,
|
|
10
|
+
}: {
|
|
11
|
+
initial: DayDigestType | null;
|
|
12
|
+
entries: Entry[];
|
|
13
|
+
date: string;
|
|
14
|
+
aiEnabled: boolean;
|
|
15
|
+
}) {
|
|
16
|
+
const [digest, setDigest] = useState<DayDigestType | null>(initial);
|
|
17
|
+
const [status, setStatus] = useState<Status>("idle");
|
|
18
|
+
const [progress, setProgress] = useState<string>("");
|
|
19
|
+
|
|
20
|
+
const generate = useCallback(async (force = false) => {
|
|
21
|
+
setStatus("streaming");
|
|
22
|
+
setProgress("Starting...");
|
|
23
|
+
const url = `/api/digest/day/${date}${force ? "?force=1" : ""}`;
|
|
24
|
+
const res = await fetch(url, { method: "POST" });
|
|
25
|
+
if (!res.ok || !res.body) {
|
|
26
|
+
setStatus("error");
|
|
27
|
+
setProgress(`Error ${res.status}`);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const reader = res.body.getReader();
|
|
31
|
+
const decoder = new TextDecoder();
|
|
32
|
+
let buf = "";
|
|
33
|
+
while (true) {
|
|
34
|
+
const { done, value } = await reader.read();
|
|
35
|
+
if (done) break;
|
|
36
|
+
buf += decoder.decode(value, { stream: true });
|
|
37
|
+
const lines = buf.split("\n\n");
|
|
38
|
+
buf = lines.pop() ?? "";
|
|
39
|
+
for (const frame of lines) {
|
|
40
|
+
const dataLine = frame.split("\n").find(l => l.startsWith("data: "));
|
|
41
|
+
if (!dataLine) continue;
|
|
42
|
+
try {
|
|
43
|
+
const ev = JSON.parse(dataLine.slice(6));
|
|
44
|
+
if (ev.type === "status") setProgress(ev.text);
|
|
45
|
+
else if (ev.type === "entry") setProgress(`Enriching ${ev.index}/${ev.total}${ev.cost_usd ? ` · $${ev.cost_usd.toFixed(4)}` : ""}...`);
|
|
46
|
+
else if (ev.type === "progress") {
|
|
47
|
+
const sec = Math.round(ev.elapsed_ms / 1000);
|
|
48
|
+
const kb = (ev.bytes / 1024).toFixed(1);
|
|
49
|
+
setProgress(`Claude composing… ${ev.bytes.toLocaleString()} chars (${kb} KB · ${sec}s)`);
|
|
50
|
+
}
|
|
51
|
+
else if (ev.type === "digest") { setDigest(ev.digest); setProgress("Rendering..."); }
|
|
52
|
+
else if (ev.type === "saved") setProgress(`Saved.`);
|
|
53
|
+
else if (ev.type === "error") { setStatus("error"); setProgress(ev.message); return; }
|
|
54
|
+
} catch { /* skip */ }
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
setStatus("done");
|
|
58
|
+
setProgress("");
|
|
59
|
+
}, [date]);
|
|
60
|
+
|
|
61
|
+
const isStreaming = status === "streaming";
|
|
62
|
+
|
|
63
|
+
// A digest with a headline means synthesis ran — trust that as "fresh"
|
|
64
|
+
// even when a few entries are stuck in `pending` (e.g. rate-limited
|
|
65
|
+
// retries that didn't increment retry_count). Otherwise stuck entries
|
|
66
|
+
// would trap the user clicking "Generate" forever, since the pipeline
|
|
67
|
+
// short-circuits to the cached digest without re-enriching anyway.
|
|
68
|
+
// Users who want to recover stuck entries can use Re-roll narrative
|
|
69
|
+
// (which forces a fresh pipeline run that retries the pending capsules).
|
|
70
|
+
const narrativeIsFresh = !!digest?.headline;
|
|
71
|
+
const allTrivial = useMemo(() => {
|
|
72
|
+
if (entries.length === 0) return false;
|
|
73
|
+
return entries.every((e) => e.enrichment.status === "skipped_trivial");
|
|
74
|
+
}, [entries]);
|
|
75
|
+
const isEmpty = entries.length === 0;
|
|
76
|
+
const hasMissingWork = !isEmpty && !allTrivial && !narrativeIsFresh;
|
|
77
|
+
|
|
78
|
+
// Build the actions slot for the digest hero meta-row. Returns null
|
|
79
|
+
// when there's nothing actionable (empty / all-trivial days).
|
|
80
|
+
let actions: ReactNode = null;
|
|
81
|
+
if (!isEmpty && !allTrivial) {
|
|
82
|
+
if (hasMissingWork) {
|
|
83
|
+
actions = (
|
|
84
|
+
<button
|
|
85
|
+
onClick={() => generate(false)}
|
|
86
|
+
disabled={isStreaming}
|
|
87
|
+
style={{
|
|
88
|
+
padding: "4px 10px",
|
|
89
|
+
background: "var(--af-accent)",
|
|
90
|
+
color: "white",
|
|
91
|
+
border: "none",
|
|
92
|
+
borderRadius: 5,
|
|
93
|
+
cursor: isStreaming ? "default" : "pointer",
|
|
94
|
+
fontSize: 11,
|
|
95
|
+
fontWeight: 600,
|
|
96
|
+
opacity: isStreaming ? 0.6 : 1,
|
|
97
|
+
}}
|
|
98
|
+
>
|
|
99
|
+
{isStreaming ? "Generating..." : digest ? "Generate (catch up)" : "Generate digest"}
|
|
100
|
+
</button>
|
|
101
|
+
);
|
|
102
|
+
} else {
|
|
103
|
+
actions = (
|
|
104
|
+
<span
|
|
105
|
+
style={{
|
|
106
|
+
fontSize: 10,
|
|
107
|
+
color: "var(--af-text-tertiary)",
|
|
108
|
+
display: "inline-flex",
|
|
109
|
+
alignItems: "center",
|
|
110
|
+
gap: 6,
|
|
111
|
+
}}
|
|
112
|
+
>
|
|
113
|
+
✓ Up to date
|
|
114
|
+
<button
|
|
115
|
+
onClick={() => generate(true)}
|
|
116
|
+
disabled={isStreaming}
|
|
117
|
+
title="Re-roll the narrative without re-enriching capsules"
|
|
118
|
+
style={{
|
|
119
|
+
padding: "2px 7px",
|
|
120
|
+
background: "transparent",
|
|
121
|
+
border: "1px solid var(--af-border-subtle)",
|
|
122
|
+
borderRadius: 4,
|
|
123
|
+
fontSize: 10,
|
|
124
|
+
color: "var(--af-text-secondary)",
|
|
125
|
+
cursor: isStreaming ? "default" : "pointer",
|
|
126
|
+
opacity: isStreaming ? 0.6 : 1,
|
|
127
|
+
}}
|
|
128
|
+
>
|
|
129
|
+
{isStreaming ? "..." : "Re-roll"}
|
|
130
|
+
</button>
|
|
131
|
+
</span>
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
if (progress) {
|
|
135
|
+
actions = (
|
|
136
|
+
<>
|
|
137
|
+
{actions}
|
|
138
|
+
<span style={{ fontSize: 10, color: "var(--af-text-tertiary)" }}>{progress}</span>
|
|
139
|
+
</>
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (digest) {
|
|
145
|
+
return <DayDigestRender digest={digest} entries={entries} aiEnabled={aiEnabled} actions={actions} />;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// No digest yet — render a slim row with whatever action applies, then
|
|
149
|
+
// a one-line empty-state hint.
|
|
150
|
+
return (
|
|
151
|
+
<>
|
|
152
|
+
{actions && (
|
|
153
|
+
<div
|
|
154
|
+
style={{
|
|
155
|
+
display: "flex",
|
|
156
|
+
gap: 10,
|
|
157
|
+
padding: "14px 40px 0",
|
|
158
|
+
alignItems: "center",
|
|
159
|
+
flexWrap: "wrap",
|
|
160
|
+
}}
|
|
161
|
+
>
|
|
162
|
+
{actions}
|
|
163
|
+
</div>
|
|
164
|
+
)}
|
|
165
|
+
{isEmpty ? (
|
|
166
|
+
<div style={{ padding: 28, textAlign: "center", color: "var(--af-text-tertiary)", fontSize: 13 }}>
|
|
167
|
+
No entries on this day.
|
|
168
|
+
</div>
|
|
169
|
+
) : allTrivial ? (
|
|
170
|
+
<div style={{ padding: 28, textAlign: "center", color: "var(--af-text-tertiary)", fontSize: 13 }}>
|
|
171
|
+
💤 Warm-up only — every session was under a minute. No narrative needed.
|
|
172
|
+
</div>
|
|
173
|
+
) : (
|
|
174
|
+
<div style={{ padding: 28, textAlign: "center", color: "var(--af-text-secondary)", fontSize: 13 }}>
|
|
175
|
+
No digest generated yet — click Generate above.
|
|
176
|
+
</div>
|
|
177
|
+
)}
|
|
178
|
+
</>
|
|
179
|
+
);
|
|
180
|
+
}
|