Commit Graph

338 Commits

Author SHA1 Message Date
Kiril Videlov
87e9eb85aa replace week-day-session pages with the unified timeline 2023-02-28 09:38:02 +01:00
Nikita Galaiko
c0a85d91b8
cache pnpm deps 2023-02-28 09:25:41 +01:00
Nikita Galaiko
d60d859383
cache rust deps when publishing 2023-02-28 09:25:41 +01:00
Nikita Galaiko
9126a72e66
speed up test action 2023-02-28 09:25:40 +01:00
Scott Chacon
04112d1078 this is not reachable anymore 2023-02-28 08:24:37 +01:00
Scott Chacon
c5fbf0c351 GB-59 hard code file mode 2023-02-28 08:24:37 +01:00
Kiril Videlov
7ac3c53d16 scroll code viewer to last changed line 2023-02-28 00:45:15 +01:00
Kiril Videlov
b6fcf77bfe 🔨 Refactor timeline end date logic
- Update timeline end date to latest delta timestamp plus 60 seconds

[src/routes/projects/[projectId]/timeline/+page.svelte]
- Change the end date of the timeline from the latest delta timestamp to the latest delta timestamp plus 60 seconds
2023-02-27 23:41:23 +01:00
Kiril Videlov
9151c5bbd8 fix typescript errors 2023-02-27 23:34:51 +01:00
Kiril Videlov
e32421401a unified timeline - wire up next/previous buttons 2023-02-27 23:24:11 +01:00
Kiril Videlov
6c747beb61 unified timeline: abbreviated paths and more compact grid 2023-02-27 22:32:39 +01:00
Kiril Videlov
6aa5cad351 Unified timeline — clicking on filename pre-selects it 2023-02-27 19:04:05 +01:00
Kiril Videlov
7de91fab8e make codeviewer reactive again 2023-02-27 17:43:06 +01:00
Kiril Videlov
407e0a103c Unified timeline: compute session start/end from deltas 2023-02-27 16:19:44 +01:00
Kiril Videlov
237b63addc Unified timeline: make sure the first file of a session is selected 2023-02-27 15:29:05 +01:00
Kiril Videlov
466277a04e Scope the list files api call for better performance 2023-02-27 15:24:41 +01:00
Kiril Videlov
fa24122307 unified timeline now includes the code viewer 2023-02-27 15:14:57 +01:00
Nikita Galaiko
2e3ff0f601
pnpm format 2023-02-27 15:11:38 +01:00
Nikita Galaiko
03bb8bdf9a
migrate to a better icons library 2023-02-27 15:04:39 +01:00
Nikita Galaiko
199b714462
fix font sizes 2023-02-27 14:41:33 +01:00
Nikita Galaiko
34f868fb95
add error page 2023-02-27 14:41:25 +01:00
Nikita Galaiko
85d8d16e0d
connect project settings forms to the api 2023-02-27 14:14:31 +01:00
Nikita Galaiko
e3bb0da7c0
adjust size of avatar in the header 2023-02-27 14:14:31 +01:00
Kiril Videlov
6f3b1268f4 🔨 Refactor timeline selection logic
- Improve timeline page UX
- Add `fluent-svelte/theme.css`
- Reset selection when close button is clicked
- Update selection when session is selected
- Add human readable branch name to selection object
- Extend selection end time by 60 seconds

[src/routes/projects/[projectId]/timeline/+page.svelte]
- Add `fluent-svelte/theme.css`
- Reset the selection when the close button is clicked
- Set the selection object when a session is selected
- Add a human readable branch name to the selection object
- Change the selection end time to add 60 seconds
- Adjust the styling of the selection bar
2023-02-27 13:50:38 +01:00
Nikita Galaiko
a0ff5cd2b6
rm unused /static 2023-02-27 13:46:03 +01:00
Nikita Galaiko
f6c250e38e
branch and commit might be undefined 2023-02-27 13:43:43 +01:00
Nikita Galaiko
c8d0627dda
recommend eslint and prettier plugin for vscode 2023-02-27 13:26:17 +01:00
Nikita Galaiko
afa242535c
drop mm-jsr 2023-02-27 13:19:22 +01:00
Kiril Videlov
d596251f87 add the session overview to unified timeline 2023-02-27 13:10:58 +01:00
Nikita Galaiko
fce1f3d00d
pnpm format 2023-02-27 12:48:08 +01:00
Nikita Galaiko
db2d53ca3b
do not run lint on test step 2023-02-27 12:47:57 +01:00
Nikita Galaiko
02d9fd9081
ship sourcemaps to production 2023-02-27 12:47:57 +01:00
Nikita Galaiko
ae6e9653aa
adjst csp to work in production 2023-02-27 12:47:57 +01:00
Kiril Videlov
ba5bb45f58 fix expanded layout of the unified timeline 2023-02-27 12:20:00 +01:00
Nikita Galaiko
210f2d27da
run lint separately 2023-02-27 10:51:05 +01:00
Nikita Galaiko
aaf89ed1ca use tauri thread management to run watchers 2023-02-27 10:44:12 +01:00
Kiril Videlov
7971663178 remove animations for now as something was breaking 2023-02-27 10:31:26 +01:00
Kiril Videlov
b8565bca13 more 2023-02-27 10:31:26 +01:00
Kiril Videlov
1eadc3d4a1 💅 Improve timeline page UX
- Improve the timeline page with new transitions and session duration calculation
- Add a Day summary section and a HERE div to the timeline page

[src/routes/projects/[projectId]/timeline/+page.svelte]
- Change the transition from `fly` to `fly` and `fade` in the `timeline` page
- Change the class name of the `timeline` page to remove `overflow-x-hidden`
- Add a new `fade` transition to the `timeline` page
- Change the `session` duration calculation to seconds
- Add a `Day summary` section to the `timeline` page
- Add a `HERE` div
2023-02-27 10:31:24 +01:00
Nikita Galaiko
94651e02e8 pnpm format 2023-02-27 10:11:09 +01:00
Nikita Galaiko
7dce627ba4 ignore files that we don`t have permissions to read 2023-02-27 10:11:09 +01:00
Nikita Galaiko
386edf4619 handle repos without any refs 2023-02-27 10:11:09 +01:00
Nikita Galaiko
1ff419a8c8 display errors when adding project 2023-02-27 10:11:09 +01:00
Kiril Videlov
a6a3df025e cleanup new timeline layout +some animations 2023-02-25 22:22:12 +01:00
Kiril Videlov
32368fb689 🤦 Fix timeline view and add session overview logic
- Improve project timeline view
- Increase the amount of returned recordings
- Add selection type and reset selection function
- Add scrollExpandedIntoView function
- Add logic for session overview to show session duration and nearest neighbors

[src/routes/projects/[projectId]/timeline/+page.svelte]
- Raise the amount of returned recordings from 10 to 100
- Add a Selection type for tracking session selection
- Add a resetSelection function to reset the selection
- Add a scrollExpandedIntoView function to scroll the expanded selection into view
- Update the day view to allow for expanding a day to view its sessions
- Add logic to the session overview to only show nearest neighbors
- Add logic to the session overview to show session duration
- Add logic to the session overview
2023-02-25 00:20:30 +01:00
Kiril Videlov
a9d74fdc48 🔨 Refactor timeline page components
- Update project timeline page to display date and time in a different format
- Add functions for path name and icon SVG
- Calculate session duration and display list of session files with icons

[src/routes/projects/[projectId]/timeline/+page.svelte]
- Update import paths to use double quotes
- Change the format of the date and time displayed
- Add a path to name function
- Add a path to icon SVG function
- Add a session duration calculation
- Add a session files list with icons
2023-02-24 22:15:53 +01:00
Kiril Videlov
d9dc79a4b4 Found this nice way of doing async derived stores 2023-02-24 21:46:09 +01:00
Kiril Videlov
e8d8d158ce 🤦 Fix recordings & completions, lower tolerance for tests
- Refactor project timeline page to better handle large datasets
- Increase performance of timeline page by optimizing data loading
- Improve user experience by adding more filtering options for timeline page
2023-02-24 17:15:59 +01:00
Nikita Galaiko
e7152cbb02
pnpm format 2023-02-24 17:07:24 +01:00
Nikita Galaiko
3da4f6247b
more logs for watcher loops 2023-02-24 15:27:11 +01:00