Skip to content

feat: explain empty AI CoC page views and add per-tab deep links - #139

Merged
dosteinacher merged 1 commit into
mainfrom
feat/dashboard-aicoc-views-hint
Jul 22, 2026
Merged

feat: explain empty AI CoC page views and add per-tab deep links#139
dosteinacher merged 1 commit into
mainfrom
feat/dashboard-aicoc-views-hint

Conversation

@dosteinacher

Copy link
Copy Markdown
Collaborator

Why

Two things on the claps analytics dashboard:

  1. Empty AI CoC page views looked like a bug. Session write-ups under /en/aicoc/ get very little direct web traffic, so they almost never surface in the heavily sampled AEM RUM data (the whole site currently reports only a few hundred weighted views). The result was a bare in the Page views column and KPI, with no explanation — indistinguishable from an error or from missing live attendance.
  2. No way to share a direct link to a specific tab. Only the top-level dashboard URL existed; the Blog and AI CoC views couldn't be linked separately.

What changed

  • Explanatory hint instead of a bare :
    • Persistent note under the AI CoC table explaining page views come from (sampled) RUM and that means no sampled traffic, not an error — and that it's separate from live attendance.
    • Tooltips on the empty per-session cells and the "Session Page Views" KPI card that distinguish "RUM not loaded yet" from "loaded, but no sampled traffic".
  • Per-tab deep links: the active tab is reflected in the URL hash and applied on load:
    • Blog — …/admin/claps-analytics.html#blog
    • AI CoC Sessions — …/admin/claps-analytics.html#aicoc

Testing

Verified locally: #aicoc / #blog open the correct tab on load, tab clicks update the URL hash, and the hint text renders. No behavior change for the blog metrics.

🤖 Generated with Claude Code

Session write-ups under /en/aicoc/ rarely appear in the heavily sampled
RUM data, so the Page views column/KPI showed a bare "—" that read like
a bug. Add a persistent hint under the table plus tooltips on the empty
cells and KPI card that distinguish "RUM not loaded yet" from "loaded,
but no sampled traffic" and clarify it is separate from live attendance.

Also reflect the active tab in the URL hash (#blog / #aicoc) and apply it
on load, so the Blog and AI CoC views can be linked/shared directly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@aem-code-sync

aem-code-sync Bot commented Jul 22, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@dosteinacher
dosteinacher merged commit 9bf12da into main Jul 22, 2026
2 of 4 checks passed
@dosteinacher
dosteinacher deleted the feat/dashboard-aicoc-views-hint branch July 22, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant