Commit graph

32 commits

Author SHA1 Message Date
Delirium
dbc142c114
UI patches (28.03) (#3231)
* ui: force getting url for location in tabmanagers

* Assist add turn servers (#3229)

* fixed conflicts

* add offers

* add config to sicket query

* add config to sicket query

* add config init

* removed console logs

* removed wrong updates

* fixed conflicts

* add offers

* add config to sicket query

* add config to sicket query

* add config init

* removed console logs

* removed wrong updates

* ui: fix chat draggable, fix default params

---------

Co-authored-by: nick-delirium <nikita@openreplay.com>

* ui: fix spritemap generation for assist sessions

* ui: fix yarnlock

* fix errors

* updated widget link

* resolved conflicts

* updated widget url

---------

Co-authored-by: Andrey Babushkin <55714097+reyand43@users.noreply.github.com>
Co-authored-by: Андрей Бабушкин <andreybabushkin2000@gmail.com>
2025-03-28 17:32:12 +01:00
Alexander
ae95b48760
feat(assist): improved caching mechanism for cluster mode (#3180) 2025-03-19 14:53:58 +01:00
Andrey Babushkin
c793d9d177
add handler (#3062)
* aff handler

* fix socket id handling
2025-02-27 10:12:06 +01:00
Alexander
0dfe1da0af feat(assist): use .cork() to avoid warnings for uws 2024-12-31 13:50:58 +01:00
Alexander
94b9a492f0 feat(assist): fixed the issue with overwritten metadata 2024-11-18 15:57:39 +01:00
Alexander
45655a9608 feat(assist): count a search filters for full match results only 2024-05-27 15:02:53 +02:00
Alexander
24d15db93b
Assist counter for search filters (#2148)
* feat(assist): added filter's counter

* feat(assist): fixed panic
2024-04-29 15:37:24 +02:00
Kraiem Taha Yassine
2ca84c397f
refactore(sourcemaps-reader): changed logger (#2138)
refactore(sourcemaps-reader): upgraded dependency
refactore(sourcemaps-reader): changed dev script
2024-04-25 16:33:10 +02:00
Alexander
ed6e09ec6d feat(assist): new logs format 2024-03-28 12:28:04 +01:00
Alexander
f2b40f4622 fix(assist): fixed broken assist stats 2024-02-13 13:48:47 +01:00
Alexander
938914be99 fix(assist): fixed broken assist call/remote control functionality 2024-02-13 12:17:24 +01:00
Alexander
a26b603945
Boost performance for one node assist mode (#1869)
* feat(assist): removed cache for solo-node assist mode

* feat(assist): try to fetch from global io object

* feat(assist): small changes

* feat(assist): added cache per request instead of cache per room

* feat(assist): fixed await call in global scope

* feat(assist): try to fix circular structure issue

* feat(assist): use preprocessor for sockets list

* feat(assist): check the theory about fetchSockets data set

* feat(assist): try to keep everything inside handshake.query object
2024-02-06 14:10:48 +01:00
Alexander
239ffb0e58 feat(assist): fixed sort order 2024-01-02 17:01:31 +01:00
Alexander
716dc6a2ff
Assist optimisation (#1802)
* feat(assist): removed legacy endpoints

* feat(assist): added in-memory cache

* feat(assist): fixed 'string, not object' issue

* feat(assist): reafactored socketsLiveBySession method

* feat(assist): rewrote autocomplete

* feat(assist): fixed issue with empty session

* feat(assist): removed copy/paste code

* feat(assist): added ee solo mode
2024-01-02 14:22:11 +01:00
Alexander
e70430b8e8 feat(assist): added extra check for filters in assist search 2023-12-08 17:27:03 +01:00
Alexander
8c8e132e79
Assist clean up (#1654)
* feat(backend): moved http metrics into assist handlers file

* fix(assist): use correct value for requests_duration metric

* feat(assist): removed unnecessary imports

* fix(assist): fixed typo in repond method

* fix(assist): added metrics.js to clean script

* feat(assist): try to save http method asap in server logic

* feat(assist): final version

* feat(assist): removed prom-client from peers and sourcemap-reader

* feat(sourcemap-reader): added missing package-lock.json
2023-11-14 11:09:35 +01:00
Alexander
ca97151e32 fix(backend): removed prometheus http calls from requests_total metric 2023-11-10 14:50:10 +01:00
Alexander
4dfcafc572
Assist metrics (#1627)
* feat(assist): added default metrics

* feat(assist): added assist_ label to easy metrics sort

* feat(assist): finished metrics template implementation (now available on /metrics)

* feat(assist): removed unnecessary _ symbol from app name

* feat(assist): integrated metrics to rest api and websockets handlers

* feat(assist): fixed wrong naming issue

* feat(assist): added connection type to some metrics

* feat(assist): added url route parser for metrics stats
2023-11-09 15:06:11 +01:00
Alexander
e8dea47e17
Assist performance improvements (#1604)
* feat(assist): removed unnecessary code in onConnect handler

* feat(assist): fixed onAny handler's filter to support a new update event

* feat(backend): moved out data structure updater from update handlers to the method

* feat(assist): fixed issue in onConnect handler

* feat(assist): try to disable prev changes

* feat(assist): use fetchSockets only once for onConnect handler

* feat(assist): fixed issue with agents updates after latest hotfix

* feat(assist): removed unnecessary fetchSessions call in onConnect handler

* feat(assist): avoid the second extractPeerID call
2023-11-03 10:36:53 +01:00
Alexander
6c8a589960 feat(backend): removed unnecessary commented code 2023-11-02 11:54:44 +01:00
Kraiem Taha Yassine
52d1d1baeb
Api v1.15.0 (#1602)
* refactor(assist): optimized assist
* refactor(assist): defined a server-update event
2023-11-01 22:31:33 +01:00
Kraiem Taha Yassine
c95a5f4254
Api v1.15.0 (#1601)
* refactor(assist): cleaned code
* refactor(assist): enhanced get-live-session
2023-11-01 03:58:32 +01:00
Alexander
8162f9a957 feat(assist): moved stats part to ee and added auth token support 2023-10-31 11:12:22 +01:00
Alexander
69d0ab5a4e
Small assist refactoring (#1534)
* feat(assist): splitted socket methods in ee/websockets

* feat(assist): splitted socket methods in ee/websockets-cluster

* feat(assist): moved socket handlers to separate file

* feat(assist): changed the way how to get ws server

* feat(assist): use method to get io server instead of global object

* feat(assist): removed duplicated code from ee assists

* feat(assist): removed copy-paste http handlers

* feat(assist): added getServer call for some http handlers

* feat(assist): added creds=true to cors settings

* feat(backend): added debug log flag to assist stats
2023-10-26 14:32:45 +02:00
Alexander Zavorotynskiy
3c8ca0c412 feat(assist): moved stats part to separate module 2023-10-17 14:55:42 +02:00
Alexander
d8d4e0beeb
[Assist] added city and state support for geo extractor (#1314)
* feat(assist): added support for city and state extraction from GeoLite.db

* feat(assist): added new fields to base session info structure
2023-06-08 09:06:06 +02:00
Delirium
2ed4bba33e
feat(tracker/ui): support for multi tab sessions (#1236)
* feat(tracker): add support for multi tab sessions

* feat(backend): added support of multitabs

* fix(backend): added support of deprecated batch meta message to pre-decoder

* fix(backend): fixed nil meta issue for TabData messages in sink

* feat(player): add tabmanager

* feat(player): basic tabchange event support

* feat(player): pick tabstate for console panel and timeline

* fix(player): only display tabs that are created

* feat(player): connect performance, xray and events to tab state

* feat(player): merge all tabs data for overview

* feat(backend/tracker): extract tabdata into separate message from batchmeta

* fix(tracker): fix new session check

* fix(backend): remove batchmetadeprecated

* fix(backend): fix switch case

* fix(player): fix for tab message size

* feat(tracker): check for active tabs with broadcast channel

* feat(tracker): prevent multiple messages

* fix(tracker): ignore beacons from same tab, only ask if token isnt present yet, add small delay before start to wait for answer

* feat(player): support new msg struct in assist player

* fix(player): fix some livepl components for multi tab states

* feat(tracker): add option to disable multitab

* feat(tracker): add multitab to assist plugin

* feat(player): back compat for tab id

* fix(ui): fix missing list in controls

* fix(ui): optional list update

* feat(ui): fix visuals for multitab; use window focus event for tabs

* fix(tracker): fix for dying tests (added tabid to writer, refactored other tests)

* feat(ui): update LivePlayerSubHeader.tsx to support tabs

* feat(backend): added tabs support to devtools mob files

* feat(ui): connect state to current tab properly

* feat(backend): added multitab support to assits

* feat(backend): removed data check in agent message

* feat(backend): debug on

* fix(backend): fixed typo in message broadcast

* feat(backend): fixed issue in connect method

* fix(assist): fixed typo

* feat(assist): added more debug logs

* feat(assist): removed one log

* feat(assist): more logs

* feat(assist): use query.peerId

* feat(assist): more logs

* feat(assist): fixed session update

* fix(assist): fixed getSessions

* fix(assist): fixed request_control broadcast

* fix(assist): fixed typo

* fix(assist): added missed line

* fix(assist): fix typo

* feat(tracker): multitab support for assist sessions

* fix(tracker): fix dead tests (tabid prop)

* fix(tracker): fix yaml

* fix(tracker): timers issue

* fix(ui): fix ui E2E tests with magic?

* feat(assist): multitabs support for ee version

* fix(assist): added missed method import

* fix(tracker): fix fix events in assist

* feat(assist): added back compatibility for sessions without tabId

* fix(assist): apply message's top layer structure before broadcast call

* fix(assist): added random tabID for prev version

* fix(assist): added random tabID for prev version (ee)

* feat(assist): added debug logs

* fix(assist): fix typo in sessions_agents_count method

* fix(assist): fixed more typos in copy-pastes

* fix(tracker): fix restart timings

* feat(backend): added tabIDs for some events

* feat(ui): add tab change event to the user steps bar

* Revert "feat(backend): added tabIDs for some events"

This reverts commit 1467ad7f9f.

* feat(ui): revert timeline and xray to grab events from all tabs

* fix(ui): fix typo

---------

Co-authored-by: Alexander Zavorotynskiy <zavorotynskiy@pm.me>
2023-06-07 10:40:32 +02:00
Taha Yassine Kraiem
c2d23e8537 feat(assist): support compression
feat(assist): centralized getRooms logic
feat(DB): new issue type
2023-04-06 17:11:26 +01:00
Taha Yassine Kraiem
2d1aa4c952 feat(assist): centralized getAvailableRooms 2023-04-06 10:45:14 +01:00
Taha Yassine Kraiem
d6bbd76854 feat(assist): centralized health check
feat(assist): changed build
feat(peers): centralized health check
feat(peers): changed build
feat(sourcemaps-reader): centralized health check
feat(sourcemaps-reader): changed build
2023-03-27 16:11:41 +01:00
Taha Yassine Kraiem
c07474bdfa feat(chalice): health-check
feat(assist): health-check
feat(peers): health-check
feat(sourcemaps-reader): health-check
2023-03-13 17:02:11 +01:00
Taha Yassine Kraiem
e7791a36a3 feat(assist): refactored 2023-03-07 14:35:40 +01:00