* Revamp overview dashboard with Golden Signals, enhanced tabs, and Infra monitoring
- Add Golden Signals metrics (Traffic, P95 Latency, Error Rate, Apdex) as primary overview
- Add secondary System Overview row with service/endpoint counts
- Enhance Services table with Apdex score and improved error rate calculation
- Revamp Logs tab: timeseries for errors/warnings, error patterns table, service treemap
- Revamp Databases tab: query optimization targets, latency percentiles, operation breakdown
- Add new Infra tab: CPU/memory utilization, container metrics, Kafka/Redis monitoring
- Add WTServiceMap and WTHeatmap widget types for future visualizations
- Track dashboard YAML files as TH dependencies for automatic recompilation
* Improve group widget layout and collapse behavior
- Fix group header to use auto height instead of flex ratio
- Add CSS for collapsed state (header fills space, chevron rotates)
- Balance GridStack margins (1rem top/bottom) for better centering
- Remove h-full from grid-stack-item-content for proper margin support
- Remove paddingBtm from widgets (GridStack margins handle spacing)
- Reduce dashboard page top padding
* Auto-format code with fourmolu
* Add client-side variable interpolation for widget titles
- Add data-var-template attribute to title/subtitle elements containing {{var-*}}
- Add JS function to interpolate {{var-*}} placeholders from URL params
- Run interpolation on page load and when variables change (update-query event)
- Support both regular widget headers and group widget titles
This enables dynamic title updates without server round-trips when
dashboard variables are changed.
* Add dashboard skeleton loader and simplify widget code
- Add skeleton loader shown while GridStack initializes to prevent
layout flash where widgets appear squished in top-left corner
- Hide grid until initialized with CSS, fade in skeleton smoothly
- Simplify Widget.hs: isFullWidth, effectiveHeight, attrs using foldMap
- Add widget descriptions to overview dashboard
* Auto-format code with fourmolu
* Refactor dashboard code and fix performance issues
- Use System.FilePath (</>) instead of custom operator
- Simplify groupRequiredHeight fold with foldl'
- Use foldMap pattern for verbose boolean conditions
- Remove orphaned comments
- Fix race condition in collapse handler using widget-scoped flags
- Increase debounce from 200ms to 500ms
- Optimize compactGrid to only batch update when items moved
- Add 5s skeleton timeout fallback
- Replace setTimeout with requestAnimationFrame
* Fix Math.max -Infinity edge case and ensure skeleton cleanup
- Add guard Math.max(1, ...) to prevent -Infinity when array is empty
- Wrap GridStack.init in try-finally to ensure skeleton timeout cleanup
* Upgrade Node.js from 18 to 22 for Vite 7 compatibility
* Update ui-tests to Node.js 22 for consistency
* Fix widget title variable interpolation on initial load
- Make interpolateVarTemplates() globally accessible via window scope
- Call interpolation after GridStack initializes widgets
- Call interpolation after HTMX swaps tab content
Variables in widget titles now render correctly on page load and tab
switches, not just after taglist changes.
* Move interpolateVarTemplates definition outside DOMContentLoaded
* Add SQL syntax highlighting and lazy loading for dashboard widgets
- Add highlight.js with sql-formatter for SQL preview syntax highlighting
- Cache URL params in interpolateVarTemplates for efficiency
- Add HTMX update-query trigger for stat/table widgets to refresh on variable changes
- Refactor stat widget rendering with lazy loading support
- Remove eager flag from overview dashboard widgets
* Auto-format code with fourmolu
* Add .playwright-mcp to gitignore
* Clean up processWidget and add JS optimizations
- Remove unused replacePlaceholders parameters from processWidget
- Add requestAnimationFrame debouncing to interpolateVarTemplates
- Add null check to compactGrid function
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
The tailwindcss package (v4.1.13) in devDependencies is the correct CLI
for Tailwind v4. Using @tailwindcss/cli was unnecessarily specific and
may have caused issues in the Docker build environment.
This ensures the CSS with all custom utilities (surface-raised, etc.)
builds correctly in production.
The project uses Tailwind CSS v4 syntax (@import, @source, @plugin
directives) but the build commands were using the old v3 CLI which
doesn't process v4 syntax correctly, causing CSS changes to not appear
in deployed builds.
Updated Dockerfile and CI workflows to use @tailwindcss/cli instead of
the legacy tailwindcss command, and removed the obsolete -c config flag
since v4 uses @config directive in the CSS file.
* Enable tests and hlint in pull request workflow
- Add hlint job to run on all PRs
- Make test jobs run even if build fails (using if: always())
- Fix shadowing binding in Table.hs colAttrs function
- Fix LLM.hs type error by using langchain-hs standard pattern
- Fix TypeScript error in log-worker-functions.ts with optional chaining
This ensures CI checks run independently and provide feedback even when some jobs fail.
* Convert PR workflow from stack to cabal
- Replace stack with cabal commands throughout
- Update caching to use dist-newstyle and ~/.cabal/store
- Use awalsh128/cache-apt-pkgs-action for system deps
- Set OpenSSL env vars properly for GitHub Actions
- Add fail-fast: false to test matrix
- Add ::group:: annotations for better log organization
* Revert LLM.hs changes - they were stack-related, not actual bugs
* minor linting error
* run hlint refactor in prs
* Apply hlint fixes across codebase
Fixed 239 hlint warnings: use toText, simplify encoding chains, replace fromMaybe with maybe, use ordNub, convert to guards, use unless, eta reduction, list comprehensions, newtype conversions, and remove unused imports. Updated .hlint.yaml to allow flexible imports for Data.List and Data.Aeson.
* Auto-format code with fourmolu
* Fix UI test failures in GitHub Actions
Update Node.js version from 18 to 20 to satisfy happy-dom requirement
Add CSS.escape mock for Monaco Editor theme initialization
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>