Commit graph

6 commits

Author SHA1 Message Date
Anthony Alaribe
e212df0b96
Tests in prs. And fix hlint warnings and failing UI tests (#230)
* 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>
2025-12-17 00:34:01 +01:00
Anthony Alaribe
5d9ca23155 expand time widget logic fixes and suggestions dropdown test fixes 2025-10-26 16:00:13 +01:00
Anthony Alaribe
e54d7eeda2 improving the search editor test cases 2025-10-26 00:58:12 +02:00
Anthony Alaribe
00a2cad7c7 use a background worker to fetch data to prevent freezing the dashboard on weaker systems 2025-10-26 00:43:15 +02:00
Anthony Alaribe
b9a2e120d8
summarize by, query langauge support to match the kql language (#176)
* fix completion issue on query editor

* swap agg and by

* checkpoint agg works

* checkpoint group by

* group by with functinoing binning ui

* checkpoint: figure out sort by input

* checkpoint

* checkpoint

* checkpoint

* checkpoint

* show and hide sort by limit and more correctly

* generating new sumamrize by syntax

* support sumamry by

* checkpoint

* checkpoint

* modify dash temps

* anomaly list

* page chart widgets

* stick to kql as much as possible

* sumarize

* sumarize

* sumarize

* sorta functional

* functioning aggs
2025-06-04 05:33:23 +02:00
Anthony Alaribe
e482436075
New editor and AI query support (#172)
* checpoint working editor. need to submit query and actually search

* working handleAddQuery impl

* ask ai btn

* llm search checkpoint before integrate langchain

* working ai search checkpoint

* chekcpoint not overlapping suggestions and can search

* checkpoint

* flatter schemas support

* prettier config

* use ? for ai queries

* checkpoint. TODO: include schema to ai search with a schema resolution endpoint

* move schema to backend

* widget fixes to explorer

* register popular queries
2025-05-25 07:53:20 +02:00