Commit graph

1,122 commits

Author SHA1 Message Date
Yussif Mohammed
01e550616c Merge remote-tracking branch 'origin/master' into teams 2025-12-17 15:42:34 +00: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
Yussif Mohammed
8d39cace22 simplifications and other changes 2025-12-16 20:16:04 +00:00
Yussif Mohammed
8bb61d74f2 feat: teams bulk actions delete 2025-12-07 11:44:05 +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
Yussif Mohammed
fb7e6dfc43 alerts page improvements bug fixes and teams link 2025-12-04 09:12:45 +00:00
Yussif Mohammed
2053dc64b9 more tests cases 2025-12-03 18:28:45 +00:00
Yussif Mohammed
66b5fe2571 tiny details improvments 2025-12-01 17:15:04 +00:00
Yussif Mohammed
84d6fa71eb validation checks and fixes 2025-12-01 08:57:11 +00:00
Yussif Mohammed
d80b0c0dc4 fix htmx json encoder extension 2025-11-30 21:49:53 +00:00
Yussif Mohammed
7aa3cb3453 towards supporting teams in projects. 2025-11-30 12:25:56 +00:00
Anthony Alaribe
638df4392b Add visualization type support for alerts
- Add visualization_type column to query_monitors table

- Store and load visualization type when creating/editing alerts

- Update alert edit links to include query and viz_type parameters

- Fix alert form POST endpoint path (/p/<pid>/monitors/alerts)

- Fix visualizationTabs_ to respect vizTypeM when in alert mode

- Add getVizType() JS helper function
2025-11-27 23:29:55 +01:00
Anthony Alaribe
229f0d7e2d Use CSS @apply for badge classes instead of Haskell helpers
- Add .badge and .badge-outline CSS classes with @apply in tailwind.css
- Remove badge_, badgeOutline_, badgeClass from Utils.hs (-19 lines)
- Update AnomalyList.hs to use CSS classes directly
2025-11-26 22:39:13 +01:00
Anthony Alaribe
2b61520857 service worker regeneration 2025-11-25 23:45:12 +01:00
Anthony Alaribe
ffed69147d sprite changes 2025-11-23 19:52:40 +01:00
Anthony Alaribe
0e08e7fea7 Simplify telemetrygen banner by removing icon 2025-11-23 19:52:40 +01:00
Anthony Alaribe
6a9ec7dcc8
Support the has_all and has_any operators, then Remove flamegraph widget and increase recent traces height (#209)
* Support the has_all and has_any operators

* Remove flamegraph widget and increase recent traces height in overview dashboard
2025-11-23 14:25:27 +01:00
Yussif Mohammed
9ec59274f4 minor fixes 2025-11-21 19:43:34 +00:00
Anthony Alaribe
d024a55a2d Improve dark mode consistency and fix UI elements
- Convert all text colors to oklch with blue saturation for consistent theming
- Update DaisyUI theme colors to use solid oklch values for better visibility
- Fix progress bar transparency issues in both light and dark modes
- Add missing SVG sprite icons: alert-circle, activity, route, routes
- Update base colors to use oklch with proper blue tint
2025-11-18 22:40:41 +01:00
Anthony Alaribe
a1a9f8a371 Adjust dark mode background colors for better contrast
Update dark mode background to 14% lightness with increased blue saturation for improved visual comfort and brand consistency.
2025-11-18 22:40:41 +01:00
Yussif Mohammed
6034559e31 towards trace shape flame graph 2025-11-17 18:58:24 +00:00
Anthony Alaribe
ad12dbf927 Fix issues table constraint to allow multiple query alerts
The previous unique constraint was too restrictive, preventing multiple
query alert issues for the same project and preventing new api_change
issues after acknowledging old ones.

Changes:
- Add migration to drop overly restrictive table-level constraint
- Update insertIssue to use partial unique index instead
- Partial index only applies to open api_change issues per endpoint

The partial unique index unique_open_api_change_issue_per_endpoint
already enforces the correct business logic: only one open (unacknowledged,
unarchived) api_change issue per (project_id, endpoint_hash).
2025-11-15 05:59:08 +00:00
Yussif Mohammed
60aa4ae653
New Reports UI (#207)
* checkpoint

* span overview checkpoint

* reports checkpoint, slow queries

* empty state

* auto load first report

* format

* fetch and save neccesary chart data for report

* feat: issues breakdown

* touches

* issues id

* format
2025-11-13 07:45:20 +00:00
Yussif Mohammed
2b129af05e towards traces widget 2025-11-04 21:18:20 +00:00
Anthony Alaribe
7d4d27e15c reduce the paddings of the tabs 2025-11-02 13:57:50 +01:00
Anthony Alaribe
42a7a30261 fix the cursor handling logic for query logs. And add performance logic and checks so we can find out whats making the query-editor sluggish 2025-10-31 18:11:11 +01:00
Anthony Alaribe
5b8c6ca5b0 fix rendering of the latency charts to calculate units. also fix select dropdowns which were transparent across the app. etc 2025-10-26 23:45:16 +01:00
Anthony Alaribe
614715b313 fix tests and reduce default limit to 500 for weaker conections 2025-10-26 23:10:32 +01:00
Anthony Alaribe
b774d51c69 fix chart and timepicker dropdown behavior to collapse after use. 2025-10-26 00:43:15 +02:00
Anthony Alaribe
a3b60fa71b increatse the query limits on the overview dashboard chart queries 2025-10-26 00:43:15 +02:00
Anthony Alaribe
ed97da7594 fixes for integration tests 2025-10-18 02:17:33 +02:00
Anthony Alaribe
e4bec5a3c3 checkpoint to tables where you can select a row variable 2025-10-12 15:34:58 +02:00
Yussif Mohammed
49c6e6f9aa generate patterns for summary 2025-10-12 05:58:08 +00:00
Anthony Alaribe
3e6e79d97d improve queries for the databases tab 2025-10-11 22:53:44 +02:00
Anthony Alaribe
8c9fd7ed12 pretty render column calues and progress in table widgets 2025-10-11 21:53:01 +02:00
Anthony Alaribe
4eaa7eceb1 introduce progress column in tables, with column variant 2025-10-11 16:47:38 +02:00
Anthony Alaribe
f2ce25cd77 limit the resoruce charts to top 20 2025-10-11 16:08:18 +02:00
Anthony Alaribe
496f914bd5 correctly identify the resource columsn 2025-10-11 15:53:03 +02:00
Anthony Alaribe
3717c9f823 update overview dash 2025-10-11 13:24:50 +02:00
Yussif Mohammed
8cb6acc723 configure endoins and error alerts 2025-10-02 10:40:45 +00:00
Anthony Alaribe
738cc0937f fix the events by endpoints query in overview dashboard 2025-09-29 21:58:15 +02:00
Yussif Mohammed
481e206117 fix log pattern extraction memory usage 2025-09-29 10:12:42 +00:00
Anthony Alaribe
7ad4c233d2
support trace summaries and resources in dashbaords (#198)
* support trace summaries and resources in dashbaords

* temporarily comment out most widgets

* checkpoint

* render the overview page

* improve dash

* only calculate duration stats on rows with none null durations

* improve dashboard overview tab behavior

* checkpoint

* checkpoint

* make fmt
2025-09-27 18:09:38 +02:00
Yussif Mohammed
420f1a3ceb
Log patterns (#200)
* df

* feat: drain implementation and background job for log pattern extraction

* feat: add log patterns visualization

* df

* feat: drain implementation and background job for log pattern extraction

* feat: add log patterns visualization

* fix: chart toggle visibility for logs and patterns

* bg for log patterns

* schedule 15 minute span pattern processing

* remove redundant imports

* remove redundant imports

* preload extracted patterns for higher accuracy

* extract for past hour instead of 15 minutes chunks

* reloading of pattern list

* fmt

* drain improvements

* drain improvements

* perf improve log pattern extraction

* reduce log extraction interval to 10 minutes
2025-09-27 10:58:23 +00:00
Anthony Alaribe
3ee92fe140 regen service worker file with hash in the dockerfile 2025-09-20 12:49:24 +02:00
Anthony Alaribe
2f32accb97
Performance optimization (#196)
* use details and summary for presets dropdown.

* tiny query lib improvements

* improve the list better

* allow deletes remove and update list via htmx

* x

* reduce dom count of the facets elements.

* checkpoint

* fix not collapsing parent without children

* remove codemirrow

* enable source maps, update echarts, update tailwind, etc

* cleanup listeners and be more lazy in session reploay

* onboarding
2025-09-20 02:07:33 +02:00
Anthony Alaribe
c6fbc3af27 remove old monaco files so their no loaded, incase they impact performance. and remove step-assertions 2025-09-17 18:42:57 +02:00