Fixed broken "Decisions Over Time" chart that wasn't displaying bars. Root cause: Empty divs with percentage heights collapsed in flex containers. Fixes applied: 1. **Pixel heights instead of percentages** - Calculate absolute pixel heights from h-48 container (192px) - Percentage heights don't work in flex containers with items-end 2. **Non-breaking space inside bars** - Added to prevent empty div collapse - Even with height set, empty divs can collapse in some layouts 3. **Decision count labels** - Display count above each bar for exact numbers - Shows both visual proportion (bar height) and exact value (label) 4. **Minimum 10px height** - Ensures small values are always visible - Prevents bars from disappearing for low counts 5. **Wider bars** - Changed from max-w-16 (64px) to w-3/4 (75% width) - More visible and easier to interact with Timeline modes working: - ✅ 6-Hourly (24h) - 4 bars showing last 24 hours in 6-hour buckets - ✅ Daily (7d) - 7 bars showing last 7 days - ✅ Weekly (4w) - 4 bars showing last 4 weeks All modes show current snapshot updated on refresh. Files changed: - public/js/admin/audit-analytics.js: Timeline rendering logic - public/admin/audit-analytics.html: Updated cache version - public/*.html: Cache version bump for consistency 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
439 B
JSON
12 lines
439 B
JSON
{
|
|
"version": "0.1.1",
|
|
"buildDate": "2025-10-24T23:01:02.497Z",
|
|
"changelog": [
|
|
"Mobile: Fixed calendar page loading issues with enhanced error handling",
|
|
"Cache: Service worker v0.1.2 - FORCE REFRESH for mobile cache fix",
|
|
"Admin: Improved API error reporting for calendar stats and tasks",
|
|
"Backend: DeepL translation API integrated for multilingual submissions"
|
|
],
|
|
"forceUpdate": true,
|
|
"minVersion": "0.1.2"
|
|
}
|