✅ Context for Designing a Product Activation Dashboard for “CaseFlow”
Browse filesCaseFlow is a legal case-management SaaS where customers (law firms, fiduciaries, accountants) create files (cases) such as Probate, Accounting, Trusts, etc. The dashboard’s purpose is to measure Product Activation, meaning how quickly and how deeply users begin engaging with the platform in meaningful ways.
✅ Atomic Unit
One row per file (case).
Every activation metric rolls up from the file level.
✅ Domains
There are two primary product domains, each with a different activation pattern:
1. Probate (workflow-based activation)
A file progresses through a sequence of actions:
Contacts added
Disbursements added
Documents generated
Documents downloaded
Activation is about tempo and progression.
2. Accounting (data-based activation)
A file becomes valuable as more data is added:
Inventory items
Transactions
Parser usage
Reports generated
Activation is about depth and data richness.
✅ Core Product Metrics to Include
A. Firm Activation (Pre-File Behavior)
Measures how long it takes an organization to start using the product:
Median days from signup → first file
% of firms creating a file within 7/14/30 days
Activation completion rate: file created + any activity
Cohort activation curves
Activation by plan tier or firm maturity
B. File-Level Domain Activation
Probate Activation
% of files with ≥1 contact
% with ≥1 disbursement
% with ≥1 generated document
% with ≥1 downloaded document
Median days to first document
% generating documents within 14 days
Avg disbursements per file
Activation depth score (milestones completed per file)
Accounting Activation
% of files with ≥1 inventory item
% with ≥1 transaction
% with parser usage
Median days to first transaction
Parser penetration within 14 days
Avg transactions per file
Depth score (# of modules engaged: inventory, transactions, parser)
C. Time-to-Value (Cross Domain)
Tracks how long it takes for any file to reach its first meaningful value event:
Time from file creation → first document, transaction, or parser event
% reaching value within 7/14/30 days
Value density (# of value events / total files)
% of firms with 75%+ active files
Distribution of days-to-value
D. Firm Maturity Segmentation
Bucket organizations by size or usage:
New (<3 files)
Emerging (3–10 files)
Mature (>10 files)
Use maturity to segment:
Activation rates
Time-to-value
Depth of use
Cohort improvements
✅ Cohort + Trend Analysis
Activation rate by cohort month
Median time-to-value by cohort
Parser/doc/transaction activity over time
Milestone completion rates across recent cohorts
✅ Recommended Dashboard Sections for AI to Design
1. Executive Overview
Total files
% of files with value events
Median time-to-value
Firm activation rate
Parser/document/transaction coverage
2. Firm Activation Section
Time-to-first-file curve
Cohort activation bar chart
Activation by plan tier or maturity
3. Probate Activation Panel
Funnel: file creation → contacts → disbursements → doc generated → doc downloaded
Median time-to-first-document
Cohort trends in document generation
Avg disbursements per file
4. Accounting Activation Panel
% using inventory / transactions / parser
Avg transactions per file
Median time-to-first-transaction
Parser usage heatmap
Depth-of-module-usage chart
5. Cross-Domain Time-to-Value
Median time-to-value
Histogram of value times
Cohort comparison
% reaching value within time windows
6. Firm Maturity Lens
Bubble chart by maturity segment
Activation depth vs time-to-value
% of active files by maturity
7. Activation Depth Summary
Avg milestones per file
Distribution of milestone completions
Comparison of Probate vs Accounting depth
✅ Narrative This Dashboard Should Answer
How quickly do customers start using the product meaningfully?
How fast do files reach their first “value event”?
Which domain activates faster or deeper, Probate or Accounting?
Are new cohorts improving?
Are mature firms behaving differently from new ones?
Are key features (parser, documents, transactions) being adopted?
Where are engagement gaps?
Files changed (8)
- README.md+8-5
- components/card.jsAdded+110
- components/header.jsAdded+82
- components/progress.jsAdded+74
- components/sidebar.jsAdded+126
- index.html+220-19
- script.jsAdded+59
- style.css+65-18
12345678910---title: Caseflow Activator Dashboardemoji: 💻colorFrom: redcolorTo: bluesdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference12345678910111213---title: CaseFlow Activator Dashboard ⚖️colorFrom: purplecolorTo: redemoji: 🐳sdk: staticpinned: falsetags:- deepsite-v3---# Welcome to your new DeepSite project!This project was created with [DeepSite](https://huggingface.co/deepsite).
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110class DashboardCard extends HTMLElement { static get observedAttributes() { return ['title', 'value', 'change', 'icon', 'color']; }
attributeChangedCallback(name, oldValue, newValue) { if (this.shadowRoot) { this.render(); } }
connectedCallback() { this.attachShadow({ mode: 'open' }); this.render(); }
render() { const title = this.getAttribute('title') || ''; const value = this.getAttribute('value') || ''; const change = this.getAttribute('change') || ''; const icon = this.getAttribute('icon') || 'activity'; const color = this.getAttribute('color') || 'primary'; const isPositive = change.startsWith('+'); this.shadowRoot.innerHTML = ` <style> .card { background-color: white; border-radius: 0.75rem; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); transition: transform 0.2s, box-shadow 0.2s; } .card:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .card-title { font-size: 0.875rem; color: #64748B; font-weight: 500; } .card-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; } .card-value { font-size: 1.5rem; font-weight: 600; color: #1E293B; margin-bottom: 0.25rem; } .card-change { font-size: 0.875rem; display: flex; align-items: center; } .card-change svg { width: 1rem; height: 1rem; margin-right: 0.25rem; } .positive { color: #10B981; } .negative { color: #EF4444; } </style> <div class="card slide-up"> <div class="card-header"> <div class="card-title">${title}</div> <div class="card-icon" style="background-color: var(--tw-${color}-100); color: var(--tw-${color}-600)"> <i data-feather="${icon}"></i> </div> </div> <div class="card-value">${value}</div> <div class="card-change ${isPositive ? 'positive' : 'negative'}"> <i data-feather="${isPositive ? 'trending-up' : 'trending-down'}"></i> <span>${change}</span> </div> </div> `; feather.replace(); }}
customElements.define('dashboard-card', DashboardCard);12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182class CustomHeader extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` <style> header { background-color: white; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); height: 64px; display: flex; align-items: center; padding: 0 24px; position: sticky; top: 0; z-index: 50; } .logo { font-weight: 700; font-size: 1.25rem; color: #4F46E5; display: flex; align-items: center; } .logo svg { margin-right: 8px; } .header-content { width: 100%; display: flex; justify-content: space-between; align-items: center; } .user-menu { display: flex; align-items: center; } .user-avatar { width: 36px; height: 36px; border-radius: 50%; background-color: #E0E7FF; display: flex; align-items: center; justify-content: center; color: #4F46E5; font-weight: 600; margin-left: 16px; cursor: pointer; } @media (max-width: 768px) { header { padding: 0 16px; } } </style> <header> <div class="header-content"> <a href="/" class="logo"> <i data-feather="activity"></i> <span>CaseFlow</span> </a> <div class="user-menu"> <div class="tooltip"> <i data-feather="bell"></i> <span class="tooltip-text">Notifications</span> </div> <div class="user-avatar">JD</div> </div> </div> </header> `; }}
customElements.define('custom-header', CustomHeader);1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374class ProgressItem extends HTMLElement { static get observedAttributes() { return ['label', 'value', 'progress']; }
attributeChangedCallback(name, oldValue, newValue) { if (this.shadowRoot) { this.render(); } }
connectedCallback() { this.attachShadow({ mode: 'open' }); this.render(); }
render() { const label = this.getAttribute('label') || ''; const value = this.getAttribute('value') || '0%'; const progress = parseInt(this.getAttribute('progress') || '0'); this.shadowRoot.innerHTML = ` <style> .progress-item { display: flex; flex-direction: column; } .progress-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; } .progress-label { font-size: 0.875rem; color: #64748B; } .progress-value { font-size: 0.875rem; font-weight: 600; color: #1E293B; } .progress-bar { height: 6px; background-color: #E2E8F0; border-radius: 3px; overflow: hidden; } .progress-fill { height: 100%; border-radius: 3px; background-color: #4F46E5; transition: width 0.5s ease-out; } </style> <div class="progress-item fade-in"> <div class="progress-header"> <span class="progress-label">${label}</span> <span class="progress-value">${value}</span> </div> <div class="progress-bar"> <div class="progress-fill" style="width: ${progress}%"></div> </div> </div> `; }}
customElements.define('progress-item', ProgressItem);123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126class CustomSidebar extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` <style> :host { display: block; width: 240px; background-color: white; box-shadow: 1px 0 3px rgba(0, 0, 0, 0.1); position: sticky; top: 64px; height: calc(100vh - 64px); flex-shrink: 0; } .sidebar-content { padding: 24px 0; } .nav-item { display: flex; align-items: center; padding: 10px 24px; color: #64748B; cursor: pointer; transition: all 0.2s; } .nav-item:hover { background-color: #F1F5F9; color: #4F46E5; } .nav-item.active { background-color: #EEF2FF; color: #4F46E5; border-right: 3px solid #4F46E5; } .nav-item svg { margin-right: 12px; width: 18px; height: 18px; } .nav-group { margin-bottom: 16px; } .nav-group-title { padding: 8px 24px; color: #94A3B8; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } @media (max-width: 1024px) { :host { position: fixed; left: -240px; z-index: 40; transition: transform 0.3s; } :host(.open) { transform: translateX(240px); } } </style> <div class="sidebar-content"> <div class="nav-group"> <div class="nav-group-title">Analytics</div> <div class="nav-item active"> <i data-feather="activity"></i> <span>Dashboard</span> </div> <div class="nav-item"> <i data-feather="bar-chart-2"></i> <span>Reports</span> </div> </div> <div class="nav-group"> <div class="nav-group-title">Management</div> <div class="nav-item"> <i data-feather="briefcase"></i> <span>Firms</span> </div> <div class="nav-item"> <i data-feather="file-text"></i> <span>Files</span> </div> <div class="nav-item"> <i data-feather="users"></i> <span>Users</span> </div> </div> <div class="nav-group"> <div class="nav-group-title">Settings</div> <div class="nav-item"> <i data-feather="settings"></i> <span>Preferences</span> </div> <div class="nav-item"> <i data-feather="help-circle"></i> <span>Help</span> </div> </div> </div> `; // Add click handlers for nav items this.shadowRoot.querySelectorAll('.nav-item').forEach(item => { item.addEventListener('click', function() { this.shadowRoot.querySelectorAll('.nav-item').forEach(i => i.classList.remove('active')); this.classList.add('active'); }); }); }}
customElements.define('custom-sidebar', CustomSidebar);12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>CaseFlow Activator Dashboard</title><link rel="stylesheet" href="style.css"><script src="https://cdn.tailwindcss.com"></script><script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script><script src="https://unpkg.com/feather-icons"></script><script>tailwind.config = {theme: {extend: {colors: {primary: '#4F46E5',secondary: '#10B981',dark: '#1E293B',light: '#F8FAFC'}}}}</script></head><body class="bg-gray-50"><div class="min-h-screen flex flex-col"><!-- Header Component --><custom-header></custom-header><div class="flex flex-1"><!-- Sidebar Component --><custom-sidebar></custom-sidebar><!-- Main Content --><main class="flex-1 p-6"><!-- Dashboard Overview --><section class="mb-8"><h1 class="text-3xl font-bold text-dark mb-6">Product Activation Dashboard</h1><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"><dashboard-cardtitle="Total Files"value="1,248"change="+12%"icon="folder"color="primary"></dashboard-card><dashboard-cardtitle="Active Firms"value="87%"change="+5%"icon="users"color="secondary"></dashboard-card><dashboard-cardtitle="Median Time-to-Value"value="4.2 days"change="-1.5 days"icon="clock"color="primary"></dashboard-card></div></section><!-- Firm Activation Section --><section class="mb-8"><div class="bg-white rounded-xl shadow-sm p-6"><div class="flex justify-between items-center mb-6"><h2 class="text-xl font-semibold text-dark">Firm Activation</h2><div class="flex items-center space-x-2"><button class="px-3 py-1 bg-primary-100 text-primary-600 rounded-md text-sm">7d</button><button class="px-3 py-1 bg-gray-100 text-gray-600 rounded-md text-sm">30d</button><button class="px-3 py-1 bg-gray-100 text-gray-600 rounded-md text-sm">90d</button></div></div><div class="h-80"><!-- Chart placeholder --><div class="w-full h-full bg-gray-100 rounded-lg flex items-center justify-center"><p class="text-gray-500">Activation curve chart</p></div></div></div></section><!-- Domain Performance --><section class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8"><!-- Probate Activation --><div class="bg-white rounded-xl shadow-sm p-6"><h2 class="text-xl font-semibold text-dark mb-4">Probate Activation</h2><div class="space-y-4"><progress-itemlabel="Files with contacts"value="78%"progress="78"></progress-item><progress-itemlabel="Files with disbursements"value="65%"progress="65"></progress-item><progress-itemlabel="Files with documents"value="52%"progress="52"></progress-item><progress-itemlabel="Files with downloads"value="43%"progress="43"></progress-item></div><div class="mt-6 h-48"><!-- Mini chart placeholder --><div class="w-full h-full bg-gray-100 rounded-lg flex items-center justify-center"><p class="text-gray-500">Time-to-document chart</p></div></div></div><!-- Accounting Activation --><div class="bg-white rounded-xl shadow-sm p-6"><h2 class="text-xl font-semibold text-dark mb-4">Accounting Activation</h2><div class="space-y-4"><progress-itemlabel="Files with inventory"value="82%"progress="82"></progress-item><progress-itemlabel="Files with transactions"value="76%"progress="76"></progress-item><progress-itemlabel="Files with parser"value="58%"progress="58"></progress-item><progress-itemlabel="Files with reports"value="39%"progress="39"></progress-item></div><div class="mt-6 h-48"><!-- Mini chart placeholder --><div class="w-full h-full bg-gray-100 rounded-lg flex items-center justify-center"><p class="text-gray-500">Parser adoption chart</p></div></div></div></section><!-- Time-to-Value --><section class="mb-8"><div class="bg-white rounded-xl shadow-sm p-6"><h2 class="text-xl font-semibold text-dark mb-6">Time-to-Value Analysis</h2><div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6"><div class="bg-primary-50 p-4 rounded-lg"><p class="text-sm text-primary-700 mb-1">Median Time-to-Value</p><p class="text-2xl font-bold text-dark">4.2 days</p></div><div class="bg-secondary-50 p-4 rounded-lg"><p class="text-sm text-secondary-700 mb-1">% Reaching Value in 7d</p><p class="text-2xl font-bold text-dark">68%</p></div><div class="bg-gray-50 p-4 rounded-lg"><p class="text-sm text-gray-700 mb-1">Value Density</p><p class="text-2xl font-bold text-dark">2.4 events/file</p></div></div><div class="h-64"><!-- Chart placeholder --><div class="w-full h-full bg-gray-100 rounded-lg flex items-center justify-center"><p class="text-gray-500">Time-to-value histogram</p></div></div></div></section><!-- Firm Maturity --><section><div class="bg-white rounded-xl shadow-sm p-6"><h2 class="text-xl font-semibold text-dark mb-6">Firm Maturity Segmentation</h2><div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6"><div class="p-4 border border-gray-200 rounded-lg"><p class="text-sm text-gray-600 mb-1">New Firms (<3 files)</p><p class="text-xl font-bold text-dark">34% active</p></div><div class="p-4 border border-gray-200 rounded-lg"><p class="text-sm text-gray-600 mb-1">Emerging (3-10 files)</p><p class="text-xl font-bold text-dark">76% active</p></div><div class="p-4 border border-gray-200 rounded-lg"><p class="text-sm text-gray-600 mb-1">Mature (>10 files)</p><p class="text-xl font-bold text-dark">91% active</p></div></div><div class="h-64"><!-- Chart placeholder --><div class="w-full h-full bg-gray-100 rounded-lg flex items-center justify-center"><p class="text-gray-500">Maturity bubble chart</p></div></div></div></section></main></div></div><!-- Import Components --><script src="components/header.js"></script><script src="components/sidebar.js"></script><script src="components/card.js"></script><script src="components/progress.js"></script><script src="script.js"></script><script>feather.replace();</script><script src="https://huggingface.co/deepsite/deepsite-badge.js"></script></body></html>
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859// Initialize tooltipsdocument.addEventListener('DOMContentLoaded', function() { // Initialize any tooltip libraries if needed feather.replace(); // Sample data fetching - would be replaced with real API calls async function fetchDashboardData() { try { // This would be replaced with actual API endpoint // const response = await fetch('/api/dashboard'); // const data = await response.json(); // return data; // Mock data for demonstration return { totalFiles: 1248, activeFirms: 87, medianTimeToValue: 4.2, probateMetrics: { withContacts: 78, withDisbursements: 65, withDocuments: 52, withDownloads: 43 }, accountingMetrics: { withInventory: 82, withTransactions: 76, withParser: 58, withReports: 39 } }; } catch (error) { console.error('Error fetching dashboard data:', error); return null; } } // Load data when page loads fetchDashboardData().then(data => { if (data) { console.log('Dashboard data loaded:', data); // Here you would update the DOM with the actual data } }); // Responsive menu toggle for mobile (handled by components)});
// Event delegation for dynamic elementsdocument.addEventListener('click', function(e) { // Handle clicks on dynamically added elements if (e.target.classList.contains('toggle-details')) { const details = e.target.nextElementSibling; details.classList.toggle('hidden'); e.target.querySelector('i').setAttribute('data-feather', details.classList.contains('hidden') ? 'chevron-down' : 'chevron-up'); feather.replace(); }});12345678910111213141516171819202122232425262728body {padding: 2rem;font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;}h1 {font-size: 16px;margin-top: 0;}p {color: rgb(107, 114, 128);font-size: 15px;margin-bottom: 10px;margin-top: 5px;}.card {max-width: 620px;margin: 0 auto;padding: 16px;border: 1px solid lightgray;border-radius: 16px;}.card p:last-child {margin-bottom: 0;}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');body {font-family: 'Inter', sans-serif;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}/* Custom scrollbar */::-webkit-scrollbar {width: 8px;height: 8px;}::-webkit-scrollbar-track {background: #f1f1f1;}::-webkit-scrollbar-thumb {background: #c1c1c1;border-radius: 4px;}::-webkit-scrollbar-thumb:hover {background: #a1a1a1;}/* Animation classes */.fade-in {animation: fadeIn 0.3s ease-in-out;}@keyframes fadeIn {from { opacity: 0; }to { opacity: 1; }}.slide-up {animation: slideUp 0.4s ease-out;}@keyframes slideUp {from { transform: translateY(20px); opacity: 0; }to { transform: translateY(0); opacity: 1; }}/* Custom tooltip style */.tooltip {position: relative;display: inline-block;}.tooltip .tooltip-text {visibility: hidden;width: 200px;background-color: #333;color: #fff;text-align: center;border-radius: 6px;padding: 8px;position: absolute;z-index: 1;bottom: 125%;left: 50%;transform: translateX(-50%);opacity: 0;transition: opacity 0.3s;font-size: 12px;font-weight: normal;}.tooltip:hover .tooltip-text {visibility: visible;opacity: 1;}