Commit graph

4,223 commits

Author SHA1 Message Date
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
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
Anthony Alaribe
5fe9cc181d Add touch/tablet support for resizers 2025-12-03 00:52:31 +01:00
Anthony Alaribe
ab80d7ce9a
Update README.md 2025-11-28 23:44:28 +01:00
github-actions[bot]
067fb1c4ea Auto-format code with fourmolu 2025-11-28 21:27:43 +00:00
Yussif Mohammed
96cdfb98e4 fix duplicate logs in log list trace 2025-11-28 21:26:53 +00:00
github-actions[bot]
657e4b50ac Auto-format code with fourmolu 2025-11-28 19:56:26 +00:00
Yussif Mohammed
c6f486b7df fix duplicate log list items 2025-11-28 19:55:31 +00:00
Yussif Mohammed
0bfde2a5fc increase kafka message size limits for rrweb events 2025-11-28 19:14:41 +00:00
Yussif Mohammed
5da41704f3 change pricing from 34 to 29 for bring nothing 2025-11-28 13:13:14 +00:00
Yussif Mohammed
03107e3adc fix tests and docker file 2025-11-28 10:28:18 +00:00
github-actions[bot]
7b0a9be91b Auto-format code with fourmolu 2025-11-28 10:12:43 +00:00
Yussif Mohammed
e76aef2f36 fix chart zoom 2025-11-28 10:12:05 +00:00
github-actions[bot]
4672273d35 Auto-format code with fourmolu 2025-11-28 09:45:03 +00:00
Yussif Mohammed
502c46e6d7 fix build and redundant imports 2025-11-28 09:44:32 +00:00
Anthony Alaribe
3f5ed0f22c .env.example update 2025-11-27 23:32:38 +01:00
Anthony Alaribe
01b585432d .env.example update 2025-11-27 23:32:05 +01:00
Anthony Alaribe
412d72dad4 make fmt 2025-11-27 23:29:55 +01: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
ba651f5040 Fix GHC 9.12 TypeAbstractions errors in test files
Replace type synonym Projects.ProjectId with UUIDId constructor
in all test files to fix "Illegal term-level use of type constructor"
errors that occur with GHC 9.12's TypeAbstractions extension.
2025-11-27 23:29:55 +01:00
Anthony Alaribe
0097b5fa64 Restore unified monitors page with Testing module 2025-11-27 23:29:55 +01:00
Anthony Alaribe
66b1f2666b Remove dead code and consolidate patterns (~620 lines) 2025-11-27 23:29:54 +01:00
Anthony Alaribe
4fe33fac2e Consolidate Telemetry, Anomalies, and Monitors modules
- Merged Pages/Telemetry/Metrics.hs and Trace.hs into Pages/Telemetry.hs
- Moved Pages/Anomalies/AnomalyList.hs to Pages/Anomalies.hs
- Moved Pages/Monitors/Alerts.hs to Pages/Monitors.hs
- Fixed FromRow type errors in several files (Only wrapper)
- Fixed import issues in Pages/Projects.hs
2025-11-27 23:29:54 +01:00
Anthony Alaribe
318b62d430 Consolidate Pages/Projects into single module
Merged CreateProject, Integrations, ListProjects, and ManageMembers
into Pages.Projects, reducing ~60 lines from import overhead.
2025-11-27 23:29:38 +01:00
Anthony Alaribe
ddf832f621 Consolidate modules to reduce codebase size
- Delete unused Pkg.Google (empty) and Models.Projects.ProjectsEmail (unused)
- Merge Pkg.Parser.Core into Pkg.Parser.Expr
- Merge Models.Apis.Fields.Query into Fields.Types, delete Fields.hs wrapper
- Merge Models.Projects.LemonSqueezy into Projects.hs
- Merge Pkg.Components.Modals into Pages.Components
- Merge Models.Apis.Formats into Models.Apis.Fields.Types

Reduces codebase from ~33k to ~32.8k lines by eliminating 9 modules.
2025-11-27 23:29:16 +01:00
github-actions[bot]
f58ccc173d Auto-format code with fourmolu 2025-11-27 11:58:33 +00:00
Yussif Mohammed
6ae7fc8985 fix: handling multiple TimePicker instances on the same page 2025-11-27 11:46:39 +00:00
github-actions[bot]
3eb4e04f12 Auto-format code with fourmolu 2025-11-27 02:28:03 +00:00
Anthony Alaribe
1ef5487eec Remove unused Pages.Monitors.Testing module 2025-11-27 03:14:59 +01:00
Anthony Alaribe
6b0c5c8111 remove unused code 2025-11-27 03:09:22 +01:00
Anthony Alaribe
9b21e17501 Remove unused functions from Utils.hs
Delete: getMethodColor, getMethodBorderColor, getStatusColor,
getStatusBorderColor, faIcon_, quoteTxt, textToBool, lookupMapText,
lookupMapInt, convertToDHMS
2025-11-26 22:45:35 +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
0f4e6f2c92 Add badge and color helpers, consolidate patterns across files
- Add badge_, badgeOutline_, badgeClass helpers in Utils.hs
- Add statusFillColor, statusFillColorText, methodFillColor, levelFillColor, changeTypeFillColor
- Replace verbose badge patterns in AnomalyList.hs with helper calls
- Replace local color functions in Log.hs with shared Utils functions
- Fix UUIDId constructor usages in AnomalyList.hs
2025-11-26 22:33:42 +01:00
Anthony Alaribe
f5131ea09b Consolidate UUID-based ID types using unified UUIDId newtype
- Add UUIDId phantom-typed newtype to Pkg.DeriveUtils
- Add idToText, idFromText, executeManyV helpers
- Migrate 9 ID types to type aliases:
  - ProjectId, QueryLibItemId, EndpointId
  - IssueId, AnomalyId
  - ShapeId, FormatId
  - ReportId, DashboardId
- Remove redundant HasField instances and helper functions
- Clean up unused imports across affected files
2025-11-26 22:10:19 +01:00
Anthony Alaribe
4791a652b7 Swap gRPC and HTTP order in example 2025-11-26 17:54:52 +01:00
Yussif Mohammed
28cacdd967 use hosturl from env var in backgroun jobs emails 2025-11-26 14:28:07 +00:00
dependabot[bot]
4ba2d3d2b7
chore(deps): bump workbox-cli from 6.6.0 to 7.4.0 (#222)
Bumps [workbox-cli](https://github.com/googlechrome/workbox) from 6.6.0 to 7.4.0.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/compare/v6.6.0...v7.4.0)

---
updated-dependencies:
- dependency-name: workbox-cli
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-26 14:18:26 +01:00
dependabot[bot]
6388bafce2
chore(deps): bump @types/node in /web-components (#223)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.32 to 24.10.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.10.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-26 14:18:15 +01:00
Anthony Alaribe
1ffd869dfe Improve logs+traces email copy with concrete example 2025-11-26 01:15:14 +01:00
Anthony Alaribe
eebed83cf6 Update email sequence URLs to monoscope.tech domain 2025-11-26 00:57:25 +01:00
Anthony Alaribe
39503d7be1 Add Monoscope logo assets for email sequence 2025-11-26 00:36:21 +01:00
Anthony Alaribe
ab4c029bcc Refine email sequence copy and update logos
- Replace em dashes with periods for more natural tone
- Add (n/6) numbering to all drip email subjects
- Broaden messaging to cover full observability (logs, traces, metrics, APIs)
- Update logo placeholders to monoscope.png
- Use colons instead of em dashes in bullet points
2025-11-26 00:28:00 +01:00
Anthony Alaribe
244152ae09 update email copy and add dependabot config 2025-11-26 00:01:03 +01:00
Anthony Alaribe
92bf68918d add playground link to README 2025-11-25 23:57:06 +01:00
Anthony Alaribe
8bd1c2621b email sequence initial trial 2025-11-25 23:45:12 +01:00
Anthony Alaribe
2b61520857 service worker regeneration 2025-11-25 23:45:12 +01:00
github-actions[bot]
3f3ff61db3 Auto-format code with fourmolu 2025-11-25 21:38:51 +00:00
Yussif Mohammed
585f73b005 feat: auto resize flamegraph chart 2025-11-25 21:38:12 +00:00
Yussif Mohammed
811b634ca4 fix zero duration and add more email temp vars 2025-11-25 15:19:16 +00:00
Anthony Alaribe
dad8c83e5b Fix release badge to include prereleases 2025-11-25 16:15:47 +01:00