Commit graph

486 commits

Author SHA1 Message Date
Delirium
35461acaf3
[WIP] Mobile replayer (#1452)
* fix(ui): fix up mobile recordings display

* fix(ui): some messages

* fix(ui): some messages

* fix(player): fix msg generation for ios messages

* feat(player): add generic mmanager interface for ios player impl

* feat(player): mobile player and message manager; touch manager; videoplayer

* feat(player): add iphone shells, add log panel,

* feat(player): detect ios sessions and inject correct player

* feat(player): move screen mapper to utils

* feat(player): events panel for mobile, map shell sizes to device type data,

* feat(player): added network tab to mobile player; unify network message (ios and web)

* feat(player): resize canvas up to phone screen size, fix capitalize util

* feat(player): some general changes to support mobile events and network entries

* feat(player): remove swipes from timeline

* feat(player): more stuff for list walker

* fix(ui): performance tab, mobile project typings and form

* fix(ui):some ui touches for ios replayer shell

* fix(ui): more fixes for ui, new onboarding screen for mobile projects

* feat(ui): mobile overview panel (xray)

* feat(ui): fixes for phone shell and tap events

* fix(tracker): change phone shells and sizes

* fix(tracker): fix border on replay screen

* feat(ui): use crashes from db to show in session

* feat(ui): use event name for xray

* feat(ui): some overall ui fixes

* feat(ui): IOS -> iOS

* feat(ui): change tags to ant d

* fix(ui): fast fix

* fix(ui): fix for capitalizer

* fix(ui): fix for browser display

* fix(ui): fix for note popup

* fix(ui): change exceptions display

* fix(ui): add click rage to ios xray

* fix(ui): some icons and resizing

* fix(ui): fix ios context menu overlay, fix console logs creation for ios

* feat(ui): added icons

* feat(ui): performance warnings

* feat(ui): performance warnings

* feat(ui): different styles

* feat(ui): rm debug true

* feat(ui): fix warnings display

* feat(ui): some styles for animation

* feat(ui): add some animations to warnings

* feat(ui): move perf warnings to performance graph

* feat(ui): hide/show warns dynamically

* feat(ui): new mobile touch animation

* fix(tracker): update msg for ios

* fix(ui): taprage fixes

* fix(ui): regenerate icons and messages

* fix(ui): fix msgs

* fix(backend): fix events gen

* fix(backend): fix userid msg
2023-10-27 12:12:09 +02:00
nick-delirium
3f9809429b fix(ui): fix sticky cookie for assist 2023-10-25 15:30:47 +02:00
nick-delirium
6fdbf16963 fix(ui): fix sticky cookie for assist 2023-10-25 15:18:42 +02:00
Delirium
e3893b92ce
feat(tracker): safety wrap for angular, new performance/lag display system
* feat(tracker): make message commits low priority (possibly improve browser lags display), add safe polyfill for env methods hijacked by angular

* feat(tracker): add bun.sh support

* feat(tracker): add bun.sh support to actions

* feat(tracker): add bun.sh support to actions

* feat(tracker): add bun.sh support to actions

* fix(tracker): fix e2e test workflow file

* fix(tracker): fix e2e test workflow file

* fix(tracker): fix test workflow file

* fix(tracker): fix requestIdleCallback check, add test cov for new utilities

* fix(tracker): fix eslint complains

* fix(ui): fix yarn bug

* fix(ui): fix yarn bug

* fix(ui): fix yarn bug

* fix(ui): fix ci test

* fix(ui): fix ci test

* fix(ui): fix ci test

* fix(ui): fix ci test

* fix(ui): fix ci test

* fix(ui): fix ci test

* fix(ui): fix ci test

* fix(ui): debug logs

* fix(ui): debug logs

* fix(ui): debug logs

* fix(ui): debug logs

* fix(ui): remove logs

* fix(ui): fix waiting for ui

* fix(ui): fix?

* fix(ui): fix?

* fix(ui): fix?

* fix(ui): fix?

* fix(ui): fix!

* fix(ui): fix!

* fix(ui): finally
2023-10-25 12:29:42 +02:00
Delirium
c7e5145282
feat(tracker): add beacon proxy and request body size (#1389)
* feat(tracker): add beacon proxy and body size

* feat(ui): remove unused components

* feat(ui): generate new messages, add body size to resource parser

* feat(ui): fix tooltip text, fix size detection (ts safe)

* feat(ui): cover resource with tests

* feat(ui): enable test coverage for player, utils and mstore

* fix(tracker): adjust test to support new message

* fix(tracker): fix tracker version for back compat

* feat(backend): added new column to network requests

* fix(tracker): fix unit tests

* fix(backend): fix msg gen

* fix(tracker): ci fun

* fix(tracker): changelog

* fix(tracker): fix some test

---------

Co-authored-by: Alexander Zavorotynskiy <zavorotynskiy@pm.me>
2023-10-17 12:25:20 +02:00
Delirium
a2fce7e291
Assist stats UI (#1489)
* feat(ui): start assist stats

* feat(ui): design mock up for stats

* feat(ui): naming...

* feat(ui): types, api service, some changes for recs and loaders

* feat(ui): csv export button/request

* feat(ui): csv export button/request

* feat(ui): format dates

* feat(ui): some fixes for stats requests

* fix(tracker): fix test

* fix(tracker): fix ci build

* fix(tracker): fix assist tests

* fix(tracker): bump test coverage, fix minor bug

* fix(ui): more cypress fixes

* fix(ui): add proj id to socket connection

* fix(ui): remove console log

* fix(ui): update filters

* feat(ui):fix some api keys for stats

* feat(ui): fix type

* feat(ui): remove unused

* feat(ui): some fixes

* feat(ui): some fixes 2

* fix(ui): some search fixes

* fix(ui): change api keys

* fix(ui): change api keys

* fix(ui): pdf button fix

* fix(ui): pdf button fix

* fix(ui): some ui fixes after review

* fix(ui): fix csv export

* fix(ui): change header for pds export for stats

* fix(ui): change header width for exports
2023-10-16 13:54:37 +02:00
nick-delirium
494a84348a fix(ui): safe guard for .applyChanges, fixes #1511 2023-10-13 12:45:04 +02:00
nick-delirium
2bafb358c5 fix(ui): safe guard for .applyChanges, fixes #1511 2023-10-13 12:43:04 +02:00
nick-delirium
1a0a966bb4 fix(ui): fix cursor position for assist 2023-10-09 15:19:54 +02:00
Alexander
d22e4e138e
Backend for mobile tracker support (#1456)
* feat(backend): handlers for mobile messages

* feat(backend): new service template

* feat(backend): save mobile session start and send batches to kafka

* feat(backend): added mobile support to sink, ender and storage

* helm(videostorage): added helm chart for a new service videostorage

* fix(backend): added pointer to streing for userBrowser (because it's null for mobile sessions)

* feat(backend): added MsgIOSBatchMeta handler to message iterator's logic

* feat(backend): added ios ts parser to ender

* feat(backend): enabled producing batch of messages to queue

* feat(backend): removed iosstart from mob files

* feat(backend): added new ios message types

* feat(backend): added iosStart and iosEnd

* fix(backend): fixed log issue

* feat(backend): send tar.gz archives to special queue topic

* feat(backend): read raw archives from kafka

* fix(backend): added missing file

* fix(backend): removed the second file reading

* fix(backend): fixed wrong queue topic name

* fix(backend): fixed mobile trigger topic name

* feat(backend): added tar.gz extractor and iOSSessionEnd handler

* feat(backend): debug logs on message uploading

* fix(backend): added raw-images topic consumption

* feat(backend): now sink send iosSessionEnd to video-storage

* feat(backend): added dir creator for new sessions

* feat(backend): added correct command to execute

* feat(backend): added overwrite option

* feat(backend): added s3 uploader for video session replays

* feat(backend): new consumer group for mobile sessions

* feat(backend): debug logs for uploader

* feat(backend): removed unused log

* feat(backend): fixed s3 key for video replays

* feat(backend): removed debug code

* feat(backend): fixed video-storage message filter

* fix(backend): added mobileSessionEnd to SessionEnd converter

* feat(backend): added first version if db support for mobile events

* fix(backend): added swipe events to mob file

* feat(backend): added swipe event to pg

* feat(backend): split logic into 2 services: image-storage and video-storage

* feat(backend): added helm chart for image-storage service

* fix(backend): fixed table name for mobile taps

* feat(backend): added metadata handler for mobile message parser + fix message filters

* feat(backend): added iosRawTopic to DB message consumer

* fix(backend): removed value from mobile inputs

* feat(backend): removed debug log from iterator

* feat(backend): added new apple devices to iOS device parser

* fix(backend): added real projectID instead of 0

* feat(backend): extended a list of simulators for device detector

* feat(backend): updated networkCall mobile message

* fix(backend): added new way to define is network call successed or not

* feat(backend): added timezone support for mobile start request

* feat(backend): added 2 mobile events Input and Click to mob file

* feat(backend): refactored image storage

* feat(backend): video storage with 2 workers

* feat(backend): added project's platform support

* feat(backend): added memory size field for mobile start request

* feat(backend): changed video preset for ultrafast

* feat(backend): added debug log to http /late handler

* feat(backend): added debug log to db service for iosCrash messages

* feat(backend): added tapRage event handler to heuristics

* feat(backend): changed table and field names for ios crashes

* feat(backend): added payload for tapRage events

* feat(backend): added TapRage events insert to DB

* feat(backend): added fps value to /mobile/start response

* feat(backend): added image quality parameter to /mobile/start response

* feat(backend): added ScreenLeave handler

* feat(backend): removed screenEnter and screenLeave events, added new viewComponent event

---------

Co-authored-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-10-09 15:02:20 +02:00
nick-delirium
8bc28c4796 fix(ui): fixing messages for remote control 2023-10-04 16:49:00 +02:00
nick-delirium
0477ba615c fix(ui): fixing messages for remote control 2023-10-04 16:34:52 +02:00
nick-delirium
80b7a5a006 fix(ui): fix call stop ev 2023-10-02 15:01:28 +02:00
nick-delirium
b46e929ad5 fix(ui): fix control stop ev 2023-10-02 14:46:07 +02:00
nick-delirium
c5f115affa fix(ui): fix control stop ev 2023-10-02 14:32:27 +02:00
nick-delirium
3ca7737b71 fix(ui): fix remote control event 2023-10-02 14:21:45 +02:00
nick-delirium
85cc45889b fix(ui): fix remote control event 2023-10-02 14:01:23 +02:00
nick-delirium
184dea26b4 feat(player): add agent id to assist con query 2023-10-02 11:51:05 +02:00
nick-delirium
44b4db1b38 feat(player): add agent id to assist con query 2023-10-02 11:17:46 +02:00
nick-delirium
aecfe00c33 feat(player): add agent id to assist con query 2023-10-02 11:15:51 +02:00
nick-delirium
84ea141347 fix(ui): safe guard for html tag names in replayer 2023-09-22 14:58:09 +02:00
nick-delirium
e3e0dd2444 fix(ui): fixes for text selection 2023-09-14 10:56:13 +02:00
nick-delirium
c415b26bc5 fix(ui): fix css rewriter regexp string 2023-09-12 12:44:28 +02:00
nick-delirium
9223c2adc9 fix(ui): fix for clickmap height resizer 2023-09-11 11:50:35 +02:00
Delirium
d7be57245b
fix(ui): merge audio tracks on node chain for recording (#1433)
* fix(ui): merge audio tracks on node chain for recording

* fix(ui): fix
2023-08-02 10:56:54 +02:00
Shekar Siri
8dd0bfc6cd fix(ui): dom parsing with inactivity timestamps 2023-07-12 17:41:13 +02:00
nick-delirium
aba75d1124 fix(ui): mouse trail setting fixes 2023-07-10 18:01:34 +02:00
nick-delirium
4bc9acb025 fix(ui): fix assist inactivity 2023-07-07 11:37:56 +02:00
nick-delirium
9ba3a7e7f6 fix(player): extract time state observing components from controls 2023-06-20 14:44:54 +02:00
Shekar Siri
c4942c4923
Merge branch 'main' into dev 2023-06-19 19:31:39 +02:00
nick-delirium
16186c3786 fix(ui): fix assist backwards compat for messages 2023-06-19 18:30:21 +02:00
nick-delirium
923fee77fe fix(ui): fix assist backwards compat for messages 2023-06-19 16:39:24 +02:00
Shekar Siri
ebc14207f7
dev - fix message type, assist etc., (#1349)
* fix(ui): fix for messages type from ws

* fix(ui): fixes for tab typings, use State instead of array to keep tabs

* fix(assist): fixed issue with sessionUpdate event

* fix(ui): fix support for old version of assist proto

---------

Co-authored-by: nick-delirium <nikita@openreplay.com>
Co-authored-by: Alexander Zavorotynskiy <zavorotynskiy@pm.me>
2023-06-19 13:11:59 +02:00
nick-delirium
67f38ba445 fix(ui): fix support for old version of assist proto 2023-06-19 13:09:07 +02:00
nick-delirium
81e8302a9e fix(ui): fixes for tab typings, use State instead of array to keep tabs 2023-06-19 12:02:13 +02:00
nick-delirium
9e37f90d64 fix(ui): fix for messages type from ws 2023-06-16 17:47:40 +02:00
nick-delirium
837d5ebeb3 feat(ui): fix events reactivity and update order 2023-06-14 11:55:56 +02:00
nick-delirium
9aaa6a29fc fix(ui): extract url from tab state (preventing subheader rerenders) 2023-06-12 16:08:30 +02:00
nick-delirium
e8b4cf257d fix(ui): fix events, double notes call etc 2023-06-12 15:58:41 +02:00
Delirium
4f2f2d6b2c
fix(tracker/ui): fix string dictionary handling, reset tab state on tab change (#1334)
* fix(tracker/ui): fix string dictionary handling, reset tab state on tab change

* fix(tracker/ui): fix activity update

* fix(tracker/ui): rm console log

* fix(tracker/ui): fix events timeline
2023-06-12 13:31:40 +02:00
nick-delirium
b21b69e09f fix(ui): fix ontabclick 2023-06-08 16:44:47 +02:00
nick-delirium
e2201affe0 fix(ui): fix tab change styling and borders, add url 2023-06-08 16:41:12 +02:00
nick-delirium
e6377d03df fix(ui): fix for active tab instances counting, few style fixes 2023-06-08 15:17:26 +02:00
nick-delirium
1a9cbe5ed1 fix(tracker): fix annotation call typo; fix control reset on page reload 2023-06-07 13:10:45 +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
nick-delirium
0ce10e4968 fix(player): hide empty index prop 2023-05-22 14:47:41 +02:00
nick-delirium
92b4057a0d fix(player): fix selection manager styles and reset 2023-05-17 18:05:26 +02:00
nick-delirium
2a2ffa1dcd feat(tracker): new axios capturing; tracker 7.0.1 2023-05-17 13:41:29 +02:00
nick-delirium
bddaa503b8 fix(player): clear selection manger on clicks; display frustrations row on xray by default 2023-05-16 14:36:21 +02:00
Shekar Siri
a1c0fcb750 change(ui) - assist call to use iceTransportPolicy all 2023-05-12 17:28:03 +02:00