Commit graph

4,239 commits

Author SHA1 Message Date
github-actions[bot]
c1d2c33f30 Auto-format code with fourmolu 2025-12-18 14:56:09 +00:00
Yussif Mohammed
6efec824f3 fix tables and compilation 2025-12-18 14:55:22 +00:00
Yussif Mohammed
5a4bc9d140 fix typo 2025-12-17 20:27:11 +00:00
github-actions[bot]
e655da259f Auto-format code with fourmolu 2025-12-17 15:43:05 +00:00
Yussif Mohammed
01e550616c Merge remote-tracking branch 'origin/master' into teams 2025-12-17 15:42:34 +00:00
Yussif Mohammed
bd089af324 package yaml 2025-12-17 15:40:11 +00:00
Anthony Alaribe
579840850f Use npx tailwindcss instead of @tailwindcss/cli for v4 compatibility
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.
2025-12-17 14:17:04 +01:00
Anthony Alaribe
07187039d6 Fix CSS build in deployment by using correct Tailwind v4 CLI
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.
2025-12-17 13:17:40 +01:00
Anthony Alaribe
ef37ea9efc Optimize CI caching strategy to reduce disk usage
Use separate caches per test suite and cache only essential build
artifacts instead of entire dist-newstyle directory. This reduces
disk usage while maintaining fast compilation through effective caching.
2025-12-17 12:10:21 +01:00
Anthony Alaribe
5f990ba6eb Fix CI disk space exhaustion by cleaning up unnecessary files and build artifacts 2025-12-17 12:09:06 +01:00
Anthony Alaribe
2d893b8520
Fix Platform colors to reduce eye strain (#231)
* Fix badge-neutral contrast for better readability

* Remove unused CSS utilities and variables

* Adjust dark mode to premium blue aesthetic

- Darker backgrounds (15-18% vs 18-22%) for high-quality look
- Maintains visible blue tint with 0.020 chroma
- Improved text contrast ratios (textStrong: 14.58:1)
- All combinations pass WCAG AA standards

* Add surface-raised utility class for elevated surfaces

- Created .surface-raised class with bgRaised, border, and shadow
- Applied to project cards for better contrast against background
- Applied to all tables (API Catalog, Issues, etc.) via Table component
- Fixed monitor alert icons padding for uniform appearance
- Provides consistent raised platform aesthetic across the app

* revert color

* Enhance surface-raised with dimensional lighting effects

Add subtle gradient and inset shadows for 3D depth, update background
to use fillWeaker color, and apply surface-raised utility to widgets.

* Replace card-round with surface-raised for consistency

Apply surface-raised styling to all cards including stat boxes, list items,
and anomalies widget. Remove unused card-round CSS class.
2025-12-17 11:51:37 +01:00
Yussif Mohammed
83ac8ca0a3 Merge remote-tracking branch 'origin/master' into teams 2025-12-17 06:38:46 +00:00
Anthony Alaribe
9527fa7571 Reorganize project structure
Move config files to config/ directory (tailwind.config.js, workbox-config.js, weeder.toml). Move documentation to docs/ (DEVELOPMENT.md, DOCKER_COMPOSE_README.md). Update all references in Dockerfile, Makefile, tailwind.css, and documentation.
2025-12-17 00:49:42 +01:00
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
e9f828e866
Attempt at a versatile table component (#229)
* attempt at a versatile table component

* Auto-format code with fourmolu

* pr updates based on feedback

* Auto-format code with fourmolu

* refactor

* fix ui differences in the tables

* Auto-format code with fourmolu

* remove redundancies

* Auto-format code with fourmolu

* remove redundancies

* Auto-format code with fourmolu

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-16 22:38:46 +01:00
github-actions[bot]
fca7b70d16 Auto-format code with fourmolu 2025-12-16 20:23:19 +00:00
Yussif Mohammed
3e4d782b23 background changes and fixes 2025-12-16 20:16:04 +00:00
Yussif Mohammed
8d39cace22 simplifications and other changes 2025-12-16 20:16:04 +00:00
Yussif Mohammed
856050ccee updates 2025-12-16 20:16:04 +00:00
github-actions[bot]
57ff8c782a Auto-format code with fourmolu 2025-12-16 13:41:46 +00:00
Yussif Mohammed
f0b6b01570 feat: tagify consolidation 2025-12-16 13:41:25 +00:00
github-actions[bot]
b82e7298bc Auto-format code with fourmolu 2025-12-16 12:37:38 +00:00
Yussif Mohammed
be9dce2f1b fix: review change requests 2025-12-16 12:36:56 +00:00
Anthony Alaribe
c19e253b6d
Merge branch 'master' into teams 2025-12-15 23:40:20 +01:00
Anthony Alaribe
9e5462c016
Add Claude Code GitHub Workflow (#226)
* "Claude PR Assistant workflow"

* "Claude Code Review workflow"

* Update .github/workflows/claude-code-review.yml
2025-12-15 23:38:00 +01:00
Yussif Mohammed
ce094734bb fix pull request workflow 2025-12-10 21:22:01 +00:00
github-actions[bot]
1c5b87fd1c Auto-format code with fourmolu 2025-12-08 11:22:19 +00:00
Yussif Mohammed
2bfc2abfb5 add dashboards spec 2025-12-08 11:21:44 +00:00
Yussif Mohammed
351d12a641 add more tests 2025-12-07 21:45:35 +00:00
github-actions[bot]
371a95e0d3 Auto-format code with fourmolu 2025-12-07 19:52:07 +00:00
Yussif Mohammed
0cdf4f961c fix and passing tests 2025-12-07 19:51:44 +00:00
github-actions[bot]
41a8a9c47f Auto-format code with fourmolu 2025-12-07 16:58:26 +00:00
Yussif Mohammed
aebae50bef remove stack files and configure hie.yaml for better IDE support 2025-12-07 16:57:43 +00:00
github-actions[bot]
011985c637 Auto-format code with fourmolu 2025-12-07 16:24:02 +00:00
Yussif Mohammed
97c8f753e2 feat: add title field & teams to dashboard modal 2025-12-07 16:23:35 +00:00
github-actions[bot]
c696210129 Auto-format code with fourmolu 2025-12-07 11:45:09 +00:00
Yussif Mohammed
8bb61d74f2 feat: teams bulk actions delete 2025-12-07 11:44:05 +00:00
Yussif Mohammed
7461ea9be3 fix table 2025-12-06 21:22:47 +00:00
github-actions[bot]
427aa715e6 Auto-format code with fourmolu 2025-12-06 21:08:09 +00:00
Yussif Mohammed
cd675db2ed team dashboard 2025-12-06 21:07:43 +00:00
Yussif Mohammed
b4bc93fea5 dashboards with teams 2025-12-06 21:07:43 +00:00
Yussif Mohammed
192c789dd9 dashbaord bulk actions delete 2025-12-06 21:07:43 +00:00
github-actions[bot]
b7571048bd Auto-format code with fourmolu 2025-12-05 22:42:04 +00:00
Yussif Mohammed
14b2c12600 towards table component 2025-12-05 22:41:42 +00:00
Yussif Mohammed
f2d55ab047 add teams column to dashboards table 2025-12-05 22:41:42 +00:00
github-actions[bot]
f057b61855 Auto-format code with fourmolu 2025-12-05 07:28:30 +00:00
Yussif Mohammed
148e16149a fix errs and slack install 2025-12-05 07:27:53 +00:00
github-actions[bot]
6fb62eeb0d Auto-format code with fourmolu 2025-12-04 17:40:33 +00:00
Yussif Mohammed
940ed48825 send notifications 2025-12-04 17:39:15 +00:00
Yussif Mohammed
b727212828 feat: alerts section, teams. 2025-12-04 17:39:15 +00:00