- Add Errors module with error fingerprinting and tracking
- Add error events table and triggers for spike detection
- Add error-related issue types and creation functions
- Add error baseline calculation and spike detection jobs
- Update Issues module with error escalation and regression tracking
- Add error notification support in Mail module
Migrations: 0026, 0028, 0030, 0032
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add virtual parent placeholders for orphaned spans in tree view
Remove automatic child span fetching and instead create virtual parent
nodes when child spans are loaded before their parents. This shows a
'Parent span pending' indicator with a dashed border in tree view.
* Replace browser preload with early JS fetch for log explorer
Browser preload used Accept: */* which returned HTML-wrapped JSON.
Early fetch uses Accept: application/json and stores promise on window
for the web component to await, eliminating duplicate request.
* Refactor: simplify code in log explorer components
- Use pattern match in toHtml for LogsGetJson to avoid repeating parameters
- Simplify worker timeout callback using && short-circuit
- Add tooltip with full parent ID on virtual parent spans
- Use nullish coalescing for cleaner startNs fallback
- Simplify orphan span grouping with spread operator
* Fix Monaco editor test mocks for jsdom environment
Add missing document.queryCommandSupported and document.execCommand mocks
for Monaco clipboard support, and add addEventListener/removeEventListener
to Worker mock.
- Add w-full class to yaml-editor element to fix width rendering
- Register YAML language in Monaco using official language definition
- Simplify yaml-editor.ts to use global Monaco instance
* 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 ERROR badge is redundant when the HTTP status code badge (badge-4xx,
badge-5xx) already conveys the failure. This reduces visual noise and
makes actual application exceptions more prominent.
ERROR badges still appear for non-HTTP errors (database, RPC, exceptions).
Wrap division expressions in COALESCE(..., 0) to return 0 instead of
NULL when dividing by zero. Fixes dashboard crash when querying empty
data ranges.
- Always process invitations during onboarding regardless of plan
- On Free plan, disable non-owner members instead of blocking/deleting
- Show disabled members in UI with clear badge and warning banner
- Auto-enable all members when upgrading from Free to paid plan
- Fix queries to exclude inactive members from notifications and sessions
- Add deactivateNonOwnerMembers and activateAllMembers helpers
The query used resource ->> 'telemetry.sdk.language' which looks for a
top-level JSONB key, but the resource column stores nested JSON. This
always returned NULL, causing "No events found yet" even when events
existed.
Simplified to detect any events for the project regardless of SDK
language, since users may select the wrong language or the SDK might
not set this attribute.
* Add KQL scalar functions, SQL preview, and dashboard YAML editing
- Add scalar function support: coalesce, iff, isnull, isnotnull, toint, tofloat, tostring, round
- Fix extend column resolution for GROUP BY clauses
- Separate aggregations from extended columns in query components
- Add SQL debug preview endpoint for widgets
- Add dashboard YAML get/put endpoints for editing
- Show empty constants warning on dashboard pages
- Fix ORDER BY to use GROUP BY column when timestamp not in GROUP BY
- Add yaml-editor web component
* Auto-format code with fourmolu
* Refactor Widget.hs and DashboardUtils.hs for cleaner code
- Hoist V.toList dataRows conversion in renderTableWithDataAndParams
- Simplify KQL remapping using mapMaybe in variablePresetsKQL
- Replace forM_ (zip xs [0..]) with ifor_ for indexed iteration
- Add TODO comments for rawQuery/rawSql Phase 4 removal
- Add doctests for replacePlaceholders, constantToSQLList, constantToKQLList
* Auto-format code with fourmolu
* switch list to table in dashboard
* Add KQL arithmetic expressions and fix parser issues
- Add arithmetic support in summarize: count() / 5.0, count() * 100 / sum(x)
- Fix by-clause parsing to distinguish subjects from scalar functions
- Add ByClauseItem type for proper by-clause item representation
- Fix non-bin summarize queries to use aggregations in SELECT
- Fix extend operator to append columns to defaults (not replace)
- Add extendSelect field to QueryComponents for proper extend semantics
- Forward dashboard constants via data-constants attribute in HTMX
- Use variablePresetsKQL for KQL query expansion in chart endpoint
* Fix KQL arithmetic parsing and refactor SQL generation
- Fix arithmetic operator precedence using makeExprParser
- Fix numeric literal parsing order (try pNumericOnly before aggFunctionParser)
- Add try to arithmetic operators for proper backtracking with 'by' clause
- Add NormalizedQuery type for cleaner SQL generation
- Add transformAST for AST normalization (combineWheres, reorderSections)
- Add unit test for arithmetic division with bin_auto()
- Add doctest for percentiles with by clause regression
* Auto-format code with fourmolu
* Fix hlint warnings in Parser modules
* Performance and safety improvements for KQL parser and dashboards
- Fix KQL remapping bug: filter out -kql suffix entries from output
- Add time interval bounds checking (max 1 year) to prevent DoS
- Use Map.lookup instead of list lookup in resolveExtendedColumn (O(log n))
- Use Set for flattenedOtelAttributes for O(log n) membership checks
- Pre-compute replacement maps once in mkWidgetProcessor for efficiency
* Auto-format code with fourmolu
* Fix regex recompilation and restore rawQuery for Monaco editor
- Pre-compile placeholder regex at module load for performance
- Restore rawQuery field in Widget to preserve original query with placeholders
- Use rawQuery in widget editor for Monaco to display original KQL query
* Improve dashboard widget search and test assertions
- Fix findWidgetInDashboard to recursively search into children
- Process dashboard constants concurrently with pooledForConcurrently
- Simplify variablePresetsKQL using list comprehension
- Update ParserSpec tests to compare full SQL and error messages
- Remove T.isInfixOf partial matches in favor of exact comparisons
* Fix regex type safety and add argument validation to KQL functions
- Use Text instead of String in placeholder regex for type consistency
- Add argument count validation for iff, isnull, isnotnull, isempty, isnotempty
- Fix round() decimal validation logic (was inverted)
- Update doctest expected output for percentiles with by clause
* Optimize Widget rendering and add placeholder DoS protection
- Use Vector operations directly instead of converting to lists
- Add 1MB size limit to placeholder replacement to prevent DoS
- Refactor scalar function SQL generation to use Maps
- Fix empty constants check to include Nothing case
* simplify
* Fix widget query loss and SQL preview not loading
- Fix SQL preview: use 'toggle from:closest details' trigger since toggle
event fires on parent details element, not child divs
- Fix SQL preview: use raw_query || query (snake_case JSON field names)
- Fix query loss: add mergeWidgetPreservingQuery to preserve original query
and rawQuery fields when updating widgets instead of replacing entirely
* Fix stat widget color and add variable defaults to constants
- Fix timeseries_stat widgets showing green instead of blue by using
default palette color for generic column names (value, count, etc.)
- Add addVariableDefaults to ensure dashboard constants can reference
variables like {{var-resource}} even when not in URL params
* Fix widget duplication and deletion in dashboards
- Fix widget duplication to properly initialize charts and scripts
- Use template element to extract widget HTML and re-query DOM after GridStack adds it
- Process htmx, hyperscript, and scripts on the live DOM element
- Fix widget deletion to use closest grid-stack instead of global instance
- Fix hyperscript syntax for drawer close event
* Auto-format code with fourmolu
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add KQL operators: extend, project, round, tofloat, toint, tostring
New KQL features:
- extend operator: adds computed columns to results
- project operator: selects and renames specific columns
- round(value, decimals): round to N decimal places
- tofloat/todouble: convert to float
- toint/tolong: convert to integer
- tostring: convert to text
Updated documentation with examples and usage notes.
* Fix ToQueryText for AggFunction to produce KQL instead of SQL
- ToQueryText AggFunction now produces valid KQL syntax that can be
parsed back, fixing query round-trip for extend/project commands
- Add ToQueryText instance for SubjectExpr
- Consolidate type casting parsers (pToFloat, pToInt, pToString) with
pTypeCast helper, reducing duplication
- Consolidate extend/project parsers with pColumnCommand helper
* Reduce parser duplication and add round() validation
- Unify pColumnAssignment and namedAggregation into pNamedExpr helper
- namedAggregation now delegates to pNamedExpr (snd <$> pNamedExpr)
- Add validation that round() decimals parameter must be numeric
- Remove outdated doctest for round with arithmetic expression
* Improve parser robustness and add error validation tests
- Add eof to parseQuery to require consuming all input
- Remove try from pCoalesce and pRound to propagate validation errors
- Add sanitizeAlias to replace dots with underscores in SQL aliases
- Add error tests for dcount accuracy, coalesce args, round decimals
- Update test expectations to match new alias output format
* Support nested aggregations in type-casting functions
Add ScalarExpr type to enable patterns like round(countif(...), 2) or
tofloat(sum(field)). Type-casting functions (round, tofloat, toint,
tostring) now accept either values or nested aggregations.
- Add ScalarExpr (SVal | SAgg) with Display/ToQueryText instances
- Add aggToSqlNoAlias for SQL generation without AS alias
- Extract baseAggParsers for reuse in nested parsing
- Add pScalarExprNested parser for nested expressions
- Add getAlias helper to extract explicit aliases
* Improve Stats parser: generic-lens, helpers, validation, tests
- Extract simpleAggSQL and percentileSQL helpers to reduce duplication
- Replace getAlias/setAlias with generic-lens typed accessors
- Allow dots in pNamedExpr names (sanitized to underscores)
- Add round() decimals validation (0-15 per PostgreSQL limit)
- Add tests for nested aggregations, project SQL, round validation
* Add integration tests for nested aggregation SQL generation
- Full SQL verification for round(countif(...), N)
- Tests for tofloat(sum()), toint(count()) nested patterns
- Tests for extend/project with nested aggregations
- Tests for named nested aggregations preserving aliases
- Minor cleanup: use {} pattern syntax in defaultAlias
* Auto-format code with fourmolu
* Support negative numbers in parser for round() validation
Use L.signed wrapper for L.float and L.decimal to parse negative
numbers like -1, enabling round() decimals validation to properly
reject negative values.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
The chart query was generating invalid SQL like `(count(*) AS count_)::float`
because the float cast wrapped the entire expression including the alias.
Fixed by adding ::float cast directly in Count/CountIf/DCount Display instances,
so the alias is correctly placed after the cast: `count(*)::float AS count_`
Add missing SLTrace case to severityStyle and severityText functions
in SummaryGenerator.hs. This fixes the CI build failure caused by
-Werror=incomplete-patterns.
* Add comprehensive KQL reference documentation
Document all KQL operators and functions supported in Monoscope:
- Comparison, string, membership, and logical operators
- Pipe operators (where, summarize, sort, take)
- Aggregation functions including percentiles and conditional counts
- Scalar functions (strcat, coalesce, iff, case)
- Date/time functions (now, ago, bin, bin_auto)
- Field reference syntax including nested JSON and OTel attributes
- Extensive query examples for common use cases
* Add KQL-standard default column aliases for aggregations
- Generate default aliases like count_, sum_field when no explicit alias provided
- Update Display instance to include AS alias clause in generated SQL
- Document default column naming conventions in KQL reference
- Clarify matches/=~ as syntax variants for regex matching
* Improve KQL documentation clarity and completeness
- Clarify has vs contains operators with examples
- Fix bin_auto() time range table notation
- Add Limitations & Notes section covering:
- Unsupported KQL features
- Null handling behavior
- Type coercion rules
- Performance tips
---------
Co-authored-by: Claude <noreply@anthropic.com>
* Validate and normalize log severity levels on ingestion
Invalid severity values (e.g., metric units like "ms", "{vacuums}") are
now stored as NULL instead of polluting log level facets. Valid levels
are normalized to uppercase, and common aliases are mapped:
- WARNING -> WARN
- INFORMATION -> INFO
- CRITICAL -> FATAL
- TRACE -> DEBUG
* Add SLTrace level and consolidate severity parsing functions
- Add TRACE as first-class severity level per OpenTelemetry spec
- Consolidate parseSeverityLevel and normalizeSeverityLevel using shared lookup table
- Reduce 24 lines of case statements to 8 lines
* Auto-format code with fourmolu
* Use Map for O(log n) severity lookup and reduce redundancy
- Replace list with Map.Map for efficient lookup
- Separate canonical levels from aliases to avoid repetition
- Add INLINE pragmas for hot path functions
- Clearer non-point-free style for readability
* Auto-format code with fourmolu
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Optimize query editor performance with aggressive Monaco settings
- Add schema resolution caching (nestedCache, valueCache) to avoid
redundant field lookups on every keystroke
- Add completion request cancellation via version counter to abandon
stale requests when user types faster than completions resolve
- Add character-based pre-checks before running expensive regex patterns
- Disable Monaco features that add per-keystroke overhead:
- accessibilitySupport, matchBrackets, links, contextmenu
- hover, parameterHints, inlayHints, codeLens, lightbulb
- occurrencesHighlight, selectionHighlight, colorDecorators
- Use requestIdleCallback in onDidChangeModelContent to defer
non-critical work off the main thread
- Remove showSuggestions state update from keystroke path to
reduce Lit component re-renders
* Fix query editor performance issues from code review
- Add cache invalidation to setDynamicResolver to prevent stale results
- Add fast-path includes('.') check before regex in updateSuggestions/insertCompletion
- Precompile whitespace and word boundary regexes used in hot loop
- Fix redundant mouseover re-renders by checking if selectedIndex changed
- Clean up global resize/keydown event listeners in disconnectedCallback
* Simplify filterAndSlice and fix requestIdleCallback fallback
- Revert filterAndSlice to simpler filter().slice(0,5) pattern
- Fix requestIdleCallback fallback - setTimeout doesn't accept options object
* Add widget-integrated alerts feature
Enable creating and managing alerts directly from dashboard widget details:
- Add widget_id, dashboard_id, and recovery threshold columns to query_monitors
- Add Alerts tab to widget expand view with full configuration form
- Render threshold marklines on charts (configurable: always/on_breach/never)
- Show alert status indicator on widget headers (bell icon with colors)
- Add source column to Alerts page showing Widget vs Log Explorer origin
- Sync widget query changes to linked alerts automatically
- Delete alerts when widgets are removed from dashboards
- Support recovery thresholds (hysteresis) to prevent alert flapping
- Populate widget alert status at render time for real-time indicators
* Auto-format code with fourmolu
* Fix widget alerts: clone on duplicate, sync queries, persist status
- Clone alerts when duplicating widgets with new alert ID tied to new widget
- Sync widget query changes to associated alert's logQuery and logQueryAsSql
- Prevent direct query modification for widget-tied alerts
- Add current_status column to track alert state (migration 0026)
- Extract normalizeWidgetId, alertActiveWindow, mkMarkLine helpers
- Use stored current_status in getWidgetAlertStatuses instead of computing
* Auto-format code with fourmolu
* Fix widget alerts: add missing current_status field and lowercase status values
- Add current_status to SQL queries in getAlertsByTeamHandle, getActiveQueryMonitors,
queryMonitorByWidgetId, queryMonitorsByDashboardId
- Fix case sensitivity: use lowercase status values to match SQL constraint
- Remove redundant pass statement, simplify wasAlerting/wasWarning with helper
* Cache current_value to avoid eval() on every dashboard load
- Add current_value column to query_monitors table
- Store evaluated value during background job instead of computing on read
- Replace eval(log_query_as_sql) with cached current_value in getWidgetAlertStatuses
- Remove unnecessary null guard from deleteMonitorsByWidgetIds
- Use foldMap for statusMap construction
* Simplify monitor status logic and extract updateTabBySlug helper
- Refactor monitorStatus to use breached/recovered predicates instead of
duplicated comparison logic for triggerLessThan
- Use currentStatus field directly instead of time-based alerting checks
- Extract updateTabBySlug helper in Dashboards to reduce code duplication
* Auto-format code with fourmolu
* Consolidate widget alert migrations into single file
* Move showThresholdLines from monitor to widget configuration
showThresholdLines is a display setting that belongs in the widget JSON,
not the monitor database table. This change:
- Removes show_threshold_lines column from query_monitors table
- Updates widgetAlertUpsertH to save showThresholdLines to the widget
- Widget already has this field in its JSON schema
* Use DOUBLE PRECISION for threshold and metric values
Support decimal values (e.g., 0.5, 32.5°C) in monitor thresholds:
- Migration: Convert alert_threshold, warning_threshold to DOUBLE PRECISION
- Migration: New columns use DOUBLE PRECISION (recovery thresholds, current_value)
- Haskell: Update all threshold/value fields from Int to Double
- Remove fromIntegral conversions in BackgroundJobs
* Code cleanup: simplify BackgroundJobs and add NOT NULL constraints
- Simplify sum/map to list comprehension: sum [v | Only v <- results]
- Inline wasAlerting/wasWarning in monitorStatus call
- Use void consistently instead of _ <- pattern
- Simplify breached/recovered predicates in monitorStatus
- Use && instead of , in guards for clarity
- Add NOT NULL to current_status and current_value columns
* Auto-format code with fourmolu
* Fix: remove stale show_threshold_lines from SELECT queries
* Fix: rename 'first' variable to avoid shadowing Bifunctor.first
* Refactor: use _select from pg-entity instead of manual column lists
* Refactor: address code review feedback for alerts-in-widgets
- Add MonitorStatus ADT (MSNormal/MSWarning/MSAlerting) replacing string literals
- Simplify applyAlertStatus using fromMaybe/do pattern
- Add warning log when widget alert query parsing fails
- Fix race condition by deleting monitors before dashboard update
- Normalize widgetId once at function entry in dashboardWidgetPutH
* Auto-format code with fourmolu
* Fix: format threshold values with thousand separators
* Refactor: extract formatWithCommas to Utils.hs
* Refactor: extract shared alert UI helpers to Pages/Monitors.hs
- Add thresholdInput_, recoveryInput_, directionSelect_, frequencySelect_, collapsibleSection_
- Update Dashboards.hs widgetAlertConfig_ to use shared helpers
- Update Log.hs alertConfigurationForm_ to use shared helpers
- Net reduction of ~37 lines through DRY refactoring
* Auto-format code with fourmolu
* Style: use surface-raised for alert form in Log.hs
* Add integration tests and doctests for alert monitoring
- Add doctests to monitorStatus for hysteresis logic validation
- Add widget alert cascade deletion test
- Add widget alert query sync test
- Add monitor with recovery thresholds integration test
- Export checkTriggeredQueryMonitors and monitorStatus from BackgroundJobs
- Fix missing AlertUpsertForm fields in MonitorsSpec
* Refactor: extract functions and fix hlint warnings
- Extract syncWidgetAlert, normalizeWidget, updateDashboardWidgets from dashboardWidgetPutH
- Extract evaluateQueryMonitor with error handling for SQL failures
- Fix hlint warnings: use toText, one, and function composition
* Auto-format code with fourmolu
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Update doctest expected outputs to include ::text casts for text operators
(Has, NotHas, Contains, NotContains, StartsWith, NotStartsWith, EndsWith, NotEndsWith)
- Fix ambiguous record update warning in Pages/Api.hs by using explicit record construction
- Add !important to hover/active styles to override library defaults
- Change dropdown position from 'text' to 'input' for proper alignment
- Consolidate hover and active selectors
- Fix span overflow bug by using actual time range (maxEndTime - minStartTime)
instead of max duration for rootVal calculation
- Add getContrastTextColor that returns tinted text colors instead of pure
white/black for softer, more visually pleasing appearance
- Add left padding (ml-1) to span text for better readability
- Simplify buildHierarchy function and fix serviceName type in WaterfallItem
When switching tabs via HTMX, the widget-order-trigger form retained
its original hx-patch URL pointing to the initially loaded tab. This
caused widget reorder operations on other tabs to incorrectly update
the original tab's widget order, making it appear empty.
Added OOB swap in dashboardTabContentGetH to update the form's hx-patch
URL to the current tab whenever a tab switch occurs.
When using contains/has/startswith/endswith operators on columns without
field keys (like `body contains "value"`), cast to ::text to support
JSONB columns. Previously this generated invalid SQL like
`body ILIKE '%value%'` which fails with "operator does not exist: jsonb ~~* text".
Now generates `body::text ILIKE '%value%'` which works for both text and
JSONB columns.
- Add legendSize field to Widget (xs, sm, md, lg) with sm as default
- Fix bug where empty widget reorder patch would wipe all widgets
- Set Log.hs widgets to use xs legend size
- Add support for compound legend positions (top-right, top-left, bottom-right, bottom-left)
- Make legend items smaller: 6x6 indicator, font size 10
- Reduce chart-to-legend gap from 18% to 14%
- Add negative padding to reduce icon-to-text gap
- Update Log Explorer charts to use top-right legend position
* Refactor enums to use deriving via WrappedEnumSC
- Fix WrappedEnumSC FromField to use toPascal/fromSnake instead of T.toTitle
(was breaking multi-word snake_case like "runtime_exception")
- Add FromHttpApiData instance to WrappedEnumSC
- Refactor AnomalyTypes, AnomalyActions, ConversationType, FieldCategoryEnum,
and Permissions to derive ToField/FromField/Display via WrappedEnumSC
- Remove manual instance boilerplate (~100 lines)
- Update RequestMessages.hs to use display instead of fieldCategoryEnumToText
* Auto-format code with fourmolu
* Derive more ToField/FromField instances
- Add WrappedEnumShow wrapper for Show/Read-based enums
- Derive SDKTypes and RequestTypes via WrappedEnumShow
- Derive PGTextArray via newtype deriving
- Derive ProjectS3Bucket via Aeson
* Auto-format code with fourmolu
* Replace Unsafe.read with readMaybe for safe enum parsing
FromField instances now return ConversionFailed error with details
instead of crashing on invalid database values.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* system logs
* Auto-format code with fourmolu
* Simplify SystemLogs to use existing SeverityLevel type
Remove redundant SystemLogSeverity type and use SeverityLevel
(SLInfo, SLWarn, SLError) from Telemetry module directly.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Make entire row clickable for "Check for recent data", "Load more", and
"Expand time range" actions instead of just the text link
- Fix row heights to match virtualizer's 28px item size to prevent overlaps
- Add CSS rule to prevent clicks on closed popovers