Commit Graph

5846 Commits

Author SHA1 Message Date
Nikita Galaiko
22f65ec2a1
fix server-side event 2023-02-22 17:35:07 +01:00
Nikita Galaiko
d3f9cc8828
client logs when receiving events 2023-02-22 17:34:41 +01:00
Nikita Galaiko
22489a6b90
log event sent message 2023-02-22 17:27:58 +01:00
Nikita Galaiko
97048983cf
drop yrs 2023-02-22 17:16:10 +01:00
Nikita Galaiko
be7eda4047
better logs 2023-02-22 16:32:23 +01:00
Nikita Galaiko
8903efd56a
bring back log colors 2023-02-22 16:22:00 +01:00
Nikita Galaiko
9b80f277ae
when production, only log to file 2023-02-22 16:19:12 +01:00
Kiril Videlov
6d2f938f16 🔨 Refactor sessionv2 & switch to internal API
- Remove `+page.ts` file from `src/routes/projects/[projectId]/sessions/[sessionId]`
- Move `deltas` and `files` to the end of the object in `src/routes/projects/[projectId]/sessions/[sessionId]/+page.ts`
- Change `files` and `deltas` from properties to variables in `src/routes

[src/routes/projects/[projectId]/sessionv2/[sessionId]/+page.ts]
- Remove the `+page.ts` file
- Change the logic for getting the previous and next session
[src/routes/projects/[projectId]/sessions/[sessionId]/+page.ts]
- Move `deltas` and `files` to the end of the object
- Change `files` and `deltas` from properties to variables
[src/routes/projects/[projectId]/sessionv2/[sessionId]/+page.svelte]
- Remove page.svelte file
- Add OpenAI API for completions
- Add 2 tests for inclusive string split function
- Lower numeric tolerance for test files
- Move octokit initialization to a separate file
- Fix typo in github action name
- Raise amount of returned recordings from 10 to 100
2023-02-22 16:17:02 +01:00
Kiril Videlov
31f2994a9e 🤦 Fix: Raise recordings, switch API, lower tolerance, schedule actions
- Add Yjs Doc for deltas
- Add CodeViewerNext component with customization options
- Move octokit initialization to separate file
- Add button for jumping to specific timestamp of delta
- Filter operations based on the current slider value

[src/routes/projects/[projectId]/sessionv2/[sessionId]/+page.svelte]
- Add Yjs Doc for deltas
- Add CodeViewerNext component
- Move octokit initialization to separate file
- Add button for jumping to specific timestamp of delta
- Change slider value to include tick size
- Filter operations based on the current slider value
[src/lib/components/CodeViewerNext.svelte]
- Add CodeViewerNext component
- Set color, background color, caret color, selection background color, gutters background color and color for the editor
- Set height of the editor to 600px
- Make the editor non-editable
- Enable line wrapping
- Enable line numbers
- Set the dark theme for the editor
[src/lib/components/index.ts]
- Add `CodeViewerNext` component
2023-02-22 15:56:51 +01:00
Nikita Galaiko
0ccc37c0ef
do not fail session creation if session dir exists 2023-02-22 14:53:25 +01:00
Scott Chacon
e919a5fa47
Posthog integration GB-36 (#18)
* add posthog, add init to hooks
* identify user
* send name and email
* log out user
2023-02-22 14:38:45 +01:00
Nikita Galaiko
180d3c412e
set window focus when showing 2023-02-22 14:13:35 +01:00
Nikita Galaiko
cf20990218
conditional compilation for window builder 2023-02-22 13:38:04 +01:00
Nikita Galaiko
775d1cd1f3
only apply macos specific window things on macos 2023-02-22 13:20:19 +01:00
Nikita Galaiko
4d3f64d6d9
send user info to sentry 2023-02-22 12:55:25 +01:00
Nikita Galaiko
93975be057
set correct version for sentry 2023-02-22 12:24:50 +01:00
Kiril Videlov
f1d8555453 🔨 Refactor: Improve UI for session page
- Add a button to the `[sessionId]/+page.svelte` file for column selection
- Update the class of the button to `z-20 flex justify-end items-center overflow-hidden sticky left-0 w-1/6 text-xs leading-5`
- Add an `on:click` event to the button to update

[src/routes/projects/[projectId]/sessionv2/[sessionId]/+page.svelte]
- Change class of button from `flex justify-end items-center overflow-hidden sticky left-0 z-20 w-1/6 text-xs leading-5` to `z-20 flex justify-end items-center overflow-hidden sticky left-0 w-1/6 text-xs leading-5`
- Add a `<button>` element for column selection
- Add `on:click` event to the `<button>` element to update
2023-02-22 11:57:31 +01:00
Nikita Galaiko
3c42525a13
programmaticaly control window and channel events 2023-02-22 11:49:41 +01:00
Kiril Videlov
76b0989ece 🤦 Fix timeline display and tooltip on recordings page
- Add a function to convert a column number to a timestamp
- Change the slider to display a tooltip with the timestamp of the selected value
- Add a div to display the selected value on the timeline

[src/routes/projects/[projectId]/sessionv2/[sessionId]/+page.svelte]
- Add a function to convert a column number to a timestamp
- Change the slider to display a tooltip with the timestamp of the selected value
- Add a div to display the selected value on the timeline
2023-02-22 10:14:56 +01:00
Nikita Galaiko
f4a24faa29
allow to only request some session files 2023-02-22 08:47:03 +01:00
Kiril Videlov
3c08aef077 timeline things 2023-02-22 00:39:04 +01:00
Nikita Galaiko
40d3961def
change activation policy only on macos 2023-02-21 17:09:08 +01:00
Nikita Galaiko
55fff0677f
more efficient session lookup 2023-02-21 16:41:12 +01:00
Nikita Galaiko
8f4605f6e1
when adding previously deleted project, restore it 2023-02-21 15:37:50 +01:00
Scott Chacon
af24341623 nicer project settings page 2023-02-21 14:52:10 +01:00
Scott Chacon
7433712fbd slightly nicer account pages 2023-02-21 14:52:10 +01:00
Scott Chacon
f674dfa02d a _little_ more design on the login page 2023-02-21 14:52:10 +01:00
Nikita Galaiko
85f3c82e53
do not display app in the doc 2023-02-21 14:51:03 +01:00
Nikita Galaiko
768b2ff25a
add dev prefix for dev app name 2023-02-21 14:45:01 +01:00
Nikita Galaiko
b4433044f9
bring window to the front when show clicked 2023-02-21 14:37:52 +01:00
Nikita Galaiko
8f49f71c49
fix session test name 2023-02-21 14:33:36 +01:00
Nikita Galaiko
b6482b4347
make sure session exists when writing deltas 2023-02-21 14:32:52 +01:00
Nikita Galaiko
1c8d4577f7
fix git log 2023-02-21 13:44:39 +01:00
Nikita Galaiko
3372704147
fix updater url 2023-02-21 13:40:15 +01:00
Nikita Galaiko
bc6edf2edf
log that git wather started 2023-02-21 13:38:42 +01:00
Nikita Galaiko
9c0228346d
derive commit author from user 2023-02-21 12:11:47 +01:00
Nikita Galaiko
b0bb3b00f4
commit deps for dev build 2023-02-21 12:10:36 +01:00
Nikita Galaiko
32329ecb81
update session lastTs before flushing 2023-02-21 12:02:17 +01:00
Nikita Galaiko
c880a68408
verify hostname for open links 2023-02-21 12:02:17 +01:00
Nikita Galaiko
0ce6b3221f
add request id 2023-02-21 12:02:17 +01:00
Nikita Galaiko
51aa80cfd9
better logging 2023-02-21 12:02:17 +01:00
Kiril Videlov
37b7410453 workaround for delta timestamps after session end 2023-02-21 10:21:31 +01:00
Nikita Galaiko
e37f27315c
log fetch requests 2023-02-21 09:17:31 +01:00
Nikita Galaiko
ecdf3fef23
get api url from .env file 2023-02-21 09:17:31 +01:00
Kiril Videlov
1d1c500c63 🔨 Refactor: Add SessionV2 page and features
- Add a new page for sessionv2 with features to load session data, deltas, list of files, prerender flag, and navigation to previous and next session
- Add a sticky header for the timeline and a list of files and entries for the timeline
- Add a link to the v2 page for project session page

[src/routes/projects/[projectId]/sessionv2/[sessionId]/+page.svelte]
- Add a new file for the session page
- Add a function to convert timestamp to column index
- Add a sticky header for the timeline
- Add a list of files for the timeline
- Add a list of entries for the timeline
[src/routes/projects/[projectId]/sessionv2/[sessionId]/+page.ts]
- Add a new page for sessionv2 with the following features:
    - Load session data
    - Load deltas from the backend
    - Load list of files from the backend
    - Add a prerender flag
    - Add a navigation to the previous and next session if available
[src/routes/projects/[projectId]/sessions/[sessionId]/+page.svelte]
- Add link to v2 page for project session page
2023-02-21 08:19:05 +01:00
Nikita Galaiko
b7677ca75f
fail if curl fails 2023-02-20 17:13:49 +01:00
Nikita Galaiko
bfe96c4c25
disable debug in release script 2023-02-20 17:01:33 +01:00
Nikita Galaiko
c9ab7fa14f
fix config path 2023-02-20 16:51:48 +01:00
Nikita Galaiko
d9738b3906
do not pushd 2023-02-20 16:39:43 +01:00
Nikita Galaiko
64617ad2b0
fix release path 2023-02-20 16:27:56 +01:00