StealThis .dev

Wiki — KB Dashboard (top articles · stale flags)

A polished knowledge-base admin dashboard with animated count-up KPI cards for total articles, monthly views, average helpfulness, and stale flags, each with trend deltas. An interactive CSS and SVG chart plots views and searches over time with a 7d, 30d, and 90d range toggle. Below sit a sortable top-articles table, a needs-attention panel that flags stale, low-rated, and broken-link pages with resolve or dismiss actions, and a live recent-edits activity feed. Built with clean white docs styling, semantic landmarks, and a responsive drawer sidebar.

Lab에서 열기
html css vanilla-js
Targets: JS HTML

Code

KB Dashboard (top articles · stale flags)

A knowledge-base admin dashboard for the fictional Aurora KB, built in the clean white docs aesthetic: a persistent left sidebar that lists spaces (Aurora DB, Project Nimbus, Verdant API, Onboarding), a sticky top bar with article search, and a centered content column. Four KPI stat cards animate a count-up on first view — total articles, monthly views, average helpfulness, and stale articles — each carrying a colored trend delta against the previous period.

The centerpiece is a hand-rolled SVG line chart of page views and on-site searches with a 7d / 30d / 90d segmented range toggle that re-renders the series, animates the stroke draw-in, and shows a tooltip on point hover. Underneath, a sortable Top articles table ranks pages by views, helpfulness (rendered as a mini progress bar), and last-updated recency, with stale rows flagged inline. A Needs attention panel surfaces stale, low-rated, and broken-link articles; each can be resolved or dismissed, which animates the item out, decrements the open-flag badge, and fires a toast.

A live Recent edits activity feed rounds out the view with edit, publish, revert, and archive events. Everything is vanilla JS — no frameworks, no build step. Keyboard support includes / to focus search and Esc to dismiss, the sidebar collapses to a drawer under 820px, and all controls keep visible focus rings for WCAG AA accessibility.

Illustrative UI only — fictional articles, products, and data.