Commit graph

444 commits

Author SHA1 Message Date
nick-delirium
13e83fa774
ui: fix double metric selection in list 2025-06-06 16:18:37 +02:00
nick-delirium
51b838a2b4
ui: change default options for granularity 2025-06-04 15:27:11 +02:00
nick-delirium
85f6551b32
ui: recreate period on db visit 2025-06-03 10:58:21 +02:00
Alexander
3c249b2b5a
Add incident event (#3380)
* add incindent messages

* feat(proto): regenerated proto files

* feat(proto): insert incident message to CH

* added incidents

* genereate mobs

* feat(db): added incident event insertion to PG

* add incidents to session config

* fixed activity incident highlight

* fixed incidents search

---------

Co-authored-by: Андрей Бабушкин <andreybabushkin2000@gmail.com>
2025-05-28 14:42:06 +02:00
nick-delirium
1098f877e6 ui: rm console log 2025-05-19 14:01:02 +02:00
nick-delirium
8e0b30ece4 ui: delete deprecated components, fix widgetchart props, fix dashboard page reload check 2025-05-19 14:01:02 +02:00
nick-delirium
b8f97ad15b test fix for charts 2025-05-19 14:01:02 +02:00
nick-delirium
b7028ff131
ui: remove scope setup, fix spot capitalization 2025-05-19 11:01:35 +02:00
nick-delirium
9fec22319b
ui: adjust styling and rm logs 2025-05-13 14:59:12 +02:00
Delirium
dca5e54811
Kai UI (#3336)
* ui: kai ui thing

ui: fixes for picking existing chat, feedback and retry buttons

ui: connect finding, creating threads

ui: more ui tuning for chat window, socket manager

ui: get/delete chats logic, create testing socket

ui: testing

ui: use on click query

ui: minor fixed for chat display, rebase

ui: start kai thing

* ui: add logs, add threadid

* ui: feedback methods and ui

* ui: store, replacing messages and giving feedback

* ui: move retry btn to right corner

* ui: move kai service out for ease of code splitting

* ui: add thread id to socket connection

* ui: support state messages

* ui: cancel response generation method

* ui: fix toast str

* ui: add gfm plugin

* ui: ensure md table has max sizes to prevent overflow

* ui: revert tailwind styles on markdown block layer

* ui: export as pdf, copy text contents of a message

* ui: try to save text with formatting in secure contexts

* ui: fix types

* ui: fixup dark mode colors

* ui: add duration for msgs

* ui: take out custom jwt

* ui: removing hardcode...

* ui: change endpoints to prod

* ui: swap socket path

* ui: flip vis toggle

* ui: lock file regenerate
2025-05-13 14:00:09 +02:00
Delirium
b1b21937ed
ui, tracker, backend: support long animation metrics (#3262)
* ui, tracker, backend: support long animation metrics

* ui: fix LAT mapping

* ui: change jump button display, longTask time definition

* ui: border for rows

* ui: refine LAT design

* tracker: regenerate messages
2025-05-13 12:04:14 +02:00
nick-delirium
55d435be87
ui: fix widget setData -> create new ref 2025-05-13 11:20:45 +02:00
Delirium
500fb44856
Litjs fixes2 (#3381)
* ui: fixes for litjs capture

* ui: introduce vmode for lwc light dom

* ui: fixup the mode toggle and remover
2025-05-12 15:19:56 +02:00
nick-delirium
de04e23c51 ui: comb through components, add additional classes for tailwind basic
styles, fix antd defaults
2025-05-09 11:29:12 +02:00
nick-delirium
d2d886b322
ui: fix filter options reset, fix dashboard chart density 2025-05-09 11:20:52 +02:00
Andrey Babushkin
b477f9637d
Highlight searched events (#3360)
* add filtered events to search

* removed consoles

* changed styles to tailwind

* changed styles to tailwind

* fixed errors
2025-05-05 17:29:16 +02:00
nick-delirium
7fd741348c
ui: fix session search on url change 2025-04-16 11:55:47 +02:00
nick-delirium
2bf92f40f7
ui: metrics filtering checks 2025-04-14 10:53:12 +02:00
Shekar Siri
ea4e2ab198 feat(search): enhance filter value handling
- Added `checkFilterValue` function to validate and update filter values
  in `SearchStoreLive`.
- Updated `FilterItem` to handle undefined `value` gracefully by providing
  a default empty array.

These changes improve robustness in filter value processing.
2025-04-11 14:35:19 +02:00
Shekar Siri
990e1fa1c4 feat(search): add rounding to next minutes for date ranges
- Introduced `roundToNextMinutes` utility function to round timestamps
  to the next specified minute interval.
- Updated `Search` class to use the rounding function for non-custom
  date ranges.
- Modified `getRange` in `period.js` to align LAST_24_HOURS with
  15-minute intervals.
- Added `roundToNextMinutes` implementation in `utils/index.ts`.
2025-04-11 11:59:04 +02:00
Shekar Siri
5ca97ceedd feat(dashboard): set initial drill down period
Change default drill down period from LAST_7_DAYS to LAST_24_HOURS
and preserve current period when drilling down on chart click
2025-04-11 10:47:32 +02:00
Shekar Siri
65072f607f refactor(auth): separate SSO support from enterprise edition
Add dedicated isSSOSupported property to correctly identify when SSO
authentication is available, properly handling the 'msaas' edition
case separately from enterprise edition checks. This fixes SSO
visibility in the login interface.
2025-03-27 12:28:37 +01:00
nick-delirium
cb4bf932c4
ui: fix fresh sessions lookup 2025-03-27 10:57:37 +01:00
nick-delirium
20b938365c
ui: minor session list fixes 2025-03-27 10:43:30 +01:00
Shekar Siri
300a857a5c fix(userStore): simplify error handling on save
Replace complex error parsing with direct error message display.
This improves code maintainability while still providing useful
feedback to users when saving their account data fails.
2025-03-24 17:14:14 +01:00
nick-delirium
fe20f83130
ui: add inuse error for signup 2025-03-21 15:50:25 +01:00
nick-delirium
048ae0913c
ui: refetch live session list on proj change 2025-03-19 17:36:33 +01:00
Shekar Siri
73fff8b817 feat(auth): support msaas edition for enterprise features
Add msaas to the isEnterprise check alongside ee edition to properly
display enterprise features. Use userStore.isEnterprise in SSOLogin
component instead of directly checking authDetails.edition for
consistent
enterprise status detection.
2025-03-19 14:40:05 +01:00
Shekar Siri
605fa96a34
feat(auth): implement withCaptcha HOC for consistent reCAPTCHA (#3175)
* refactor(searchStore): reformat filterMap function parameters (#3166)

- Reformat the parameters of the filterMap function for better readability.
- Comment out the fetchSessions call in clearSearch method to avoid unnecessary session fetch.

* Increment frontend chart version (#3167)

Co-authored-by: GitHub Action <action@github.com>

* refactor(chalice): cleaned code
fix(chalice): fixed session-search-pg sortKey issue
fix(chalice): fixed CH-query-formatter to handle special chars
fix(chalice): fixed /ids response

* feat(auth): implement withCaptcha HOC for consistent reCAPTCHA

This commit refactors the reCAPTCHA implementation across the application
by introducing a Higher Order Component (withCaptcha) that encapsulates
captcha verification logic. The changes:

- Create a reusable withCaptcha HOC in withRecaptcha.tsx
- Refactor Login, ResetPasswordRequest, and CreatePassword components
- Extract SSOLogin into a separate component
- Improve error handling and user feedback
- Standardize loading and verification states across forms
- Make captcha implementation more maintainable and consistent

---------

Co-authored-by: Mehdi Osman <estradino@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Taha Yassine Kraiem <tahayk2@gmail.com>
2025-03-19 11:37:50 +01:00
nick-delirium
7eace68de6
ui: add loading state for LiveSessionReloadButton.tsx 2025-03-18 15:30:24 +01:00
Shekar Siri
cf9ecdc9a4 refactor(searchStore): reformat filterMap function parameters
- Reformat the parameters of the filterMap function for better readability.
- Comment out the fetchSessions call in clearSearch method to avoid unnecessary session fetch.
2025-03-14 19:47:42 +01:00
nick-delirium
f93ee6fb8f
ui: fix filekey on prefetched sessions 2025-03-14 17:30:00 +01:00
nick-delirium
221bee70f5
ui: add hash to css filenames 2025-03-13 11:45:22 +01:00
Shekar Siri
687ab05f22 feat(metrics): implement server-side pagination and sorting
Refactors metrics list view to use server-side pagination and sorting
instead of client-side implementation. This improves performance for
large datasets by reducing client workload and network payload size.

Key changes:
- Add pagination API endpoint in MetricService
- Update MetricStore to handle server pagination
- Refactor ListView component to use server-side sorting
- Remove client-side sorting and pagination logic
2025-03-10 14:58:30 +01:00
Andrey Babushkin
c8ff481725
Add lokalisation (#3106)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales

* fix erorrs

* fix errors

* fix errors

* fix error

* add locales
2025-03-07 11:48:34 +01:00
Andrey Babushkin
fd5c0c9747
Add lokalisation (#3092)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales
2025-03-06 17:43:15 +01:00
Shekar Siri
ee4c5cf45d feat(ui): improve session search and count functionality
- Replace latestList with latestSessionCount to better track new sessions
- Move debouncing logic to PrivateRoutes for improved consistency
- Fix session count checking with proper API integration
- Clean up code formatting and remove unnecessary function calls

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-04 19:37:20 +01:00
Shekar Siri
0af941e543 refactor(SessionList): optimize component performance
- Fix TypeScript error with SessionItem JSX component
- Convert SessionItem to use modern React hooks and patterns
- Implement useCallback and useMemo for better rendering performance
- Properly handle optional chaining for conditional properties
- Remove console.log statements from search store
- Fix useEffect dependencies to prevent unnecessary rerenders
- Cleanup unused imports and commented code

Signed-off-by: Shekar Siri <sshekarsiri@gmail.com>
2025-03-04 16:33:01 +01:00
Delirium
ee46413b13
Events for E2E testing (#3081)
* ui: change export event ui, add rightblock panel

* ui: add timeline select checkbox

* ui: keep selected framework in localstorage

* ui: on timeline => on the timeline
2025-03-03 16:36:42 +01:00
nick-delirium
11a2ea48bc
ui: fix caching for autocomplete values 2025-02-28 17:39:21 +01:00
Shekar Siri
1146900dc0 fix(ui): search call behaviour 2025-02-28 17:26:36 +01:00
Ghaida Bouchaala
0a999247e4
update docs links (#3076) 2025-02-28 16:54:04 +01:00
nick-delirium
8ba6a17055
ui: fix error table pagination 2025-02-28 10:34:39 +01:00
nick-delirium
8b2cf031ca
ui: chart drilldown -- fix datatable filtering, fix series filtering 2025-02-24 13:59:52 +01:00
nick-delirium
3e1f073e07
ui: fix subcat for heatmap 2025-02-20 15:39:43 +01:00
nick-delirium
305c7ae064
ui: fix hasChanged flag, fix auto height for sankey 2025-02-20 14:21:56 +01:00
nick-delirium
11824d2993
ui: set empty defaults for clickmap 2025-02-20 11:40:35 +01:00
nick-delirium
e996600dc8
ui: fix data parser for heatmap 2025-02-18 15:19:41 +01:00
nick-delirium
adb359b3bf
ui: reset autocomplete values with project change 2025-02-17 14:47:56 +01:00
nick-delirium
9949928335
ui: support auto opening for AutocompleteModal 2025-02-14 16:14:17 +01:00