Commit Graph

9325 Commits

Author SHA1 Message Date
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
Scott Chacon
214bc9f237 support email for help 2023-02-24 14:56:37 +01:00
Nikita Galaiko
b24c646ec7
move session activity update into deltas::write 2023-02-24 14:56:10 +01:00
Kiril Videlov
c85a45dbc9 Finally fix overlows in the app 2023-02-24 14:23:51 +01:00
Nikita Galaiko
7271fefd7e
fix minor warnings 2023-02-24 13:34:21 +01:00
Nikita Galaiko
f6add083a3
print status error 2023-02-24 13:33:06 +01:00
Nikita Galaiko
e549e99c05 cache images locally 2023-02-24 13:29:09 +01:00
Kiril Videlov
e8a77b7d50 Formatting 2023-02-24 12:43:18 +01:00
Scott Chacon
be901c11a3 wow, I fd up that merge 2023-02-24 12:25:24 +01:00
Scott Chacon
c0f25b33d1
Merge pull request #21 from gitbutlerapp/schacon/gb-42-better-default-project-home-screen
Better default project home screen
2023-02-24 12:12:25 +01:00
Scott Chacon
b141a419e0 Merge remote-tracking branch 'origin/master' into schacon/gb-42-better-default-project-home-screen 2023-02-24 12:11:53 +01:00
Scott Chacon
4c63a0df2d better grid 2023-02-24 11:50:11 +01:00
Nikita Galaiko
5fde45a916
lint and check frontend on push 2023-02-24 11:01:23 +01:00
Nikita Galaiko
cb13b497ed
fix remaining eslint issues 2023-02-24 11:00:17 +01:00