Commit Graph

6750 Commits

Author SHA1 Message Date
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
Nikita Galaiko
d80c96ce80
sort out lint/format setup 2023-02-24 10:46:41 +01:00
Scott Chacon
b266ed58dc Merge remote-tracking branch 'origin/master' into sc-home-screen 2023-02-24 10:44:53 +01:00
Scott Chacon
05f699b22e wip: new home screen, blank slate and project list 2023-02-24 10:35:57 +01:00
Nikita Galaiko
894e31881d
fix some warnings 2023-02-24 10:34:26 +01:00
Nikita Galaiko
139cdb8496
remove unused code 2023-02-24 10:20:05 +01:00
Nikita Galaiko
0c2999d909
if failed to push to remote, just log 2023-02-24 10:14:47 +01:00
Nikita Galaiko
9ae9308348 display user img in the header 2023-02-24 09:36:08 +01:00
Nikita Galaiko
b4f13c9caa connect update user api 2023-02-24 09:36:08 +01:00
Nikita Galaiko
b5a50bac4d connect user update api 2023-02-24 09:36:08 +01:00
Nikita Galaiko
1036aad9e2 update ui to allow avatar update 2023-02-24 09:36:08 +01:00
Nikita Galaiko
2d8cc028d6 add update user name ui 2023-02-24 09:36:08 +01:00
Kiril Videlov
228e73cc88 🔨 Refactor UI for increased recordings & improved completions
- Improved the layout of the project session page
- Added overflow-hidden to the main container
- Added border to the content container

[src/routes/projects/[projectId]/sessions/[sessionId]/+page.svelte]
- Change the css class of the main container from `flex flex-col h-full  text-zinc-400` to `flex flex-col h-full  text-zinc-400 overflow-hidden`
- Change the css class of the content container from `flex flex-col flex-none max-w-full select-none border-b border-zinc-700` to `flex flex-col flex-none max-w-full select
2023-02-23 23:25:26 +01:00
Kiril Videlov
e851cfc727 🔨 Refactor: Routes, Recordings, and Date Formatting
- Update style and functionality of project, day, and session pages
- Increase the amount of returned recordings from 10 to 100
- Add a formatDate function for formatting the session date
- Adjust the header and arrow classes for all pages

[src/routes/projects/[projectId]/day/+page.svelte]
- Change the header class from `px-6 py-4` to `px-8 py-1.5`
- Change the left arrow class from `w-8 h-8` to `-ml-2 w-8 h-8`
- Change the justify-start width from `w-72` to `w-64`
- Change the right arrow class from `w-8 h-8` to `-mr-2 w-8 h
[src/routes/projects/[projectId]/sessions/[sessionId]/+page.svelte]
- Raise the amount of returned recordings from `10` to `100`
- Move the `onMount` import from `svelte` to `"svelte"`
- Add a `formatDate` function for formatting the session date
- Change the `header` class from `px-6` to `px-8`
- Change the `arrow` class from `w-8` to `w-8` and add `-ml-2`
2023-02-23 23:25:26 +01:00
Kiril Videlov
c244574203 🔨 Refactor project layout for improved navigation
- Improved navigation menu for project page
- Added selection variable based on route id
- Updated colors for navigation menu items

[src/routes/projects/[projectId]/+layout.svelte]
- Import `page` store from `$app/stores`
- Add a selection variable based on the route id
- Increase width of navigation menu
- Add background color and text color to navigation menu items based on selection
2023-02-23 23:25:26 +01:00
Scott Chacon
1024b4691d these are in ms now 2023-02-23 22:01:33 +01:00
Nikita Galaiko
56ca8d5be4
correctly print anyhow errors 2023-02-23 16:49:06 +01:00
Nikita Galaiko
ba838e19d9
fix production builds 2023-02-23 14:26:22 +01:00
Kiril Videlov
efc6983181 🔨 Refactor project layout navigation links
- Update navigation menu styling
- Add links to Week, Day, and current session pages

[src/routes/projects/[projectId]/+layout.svelte]
- Change the styling of the navigation menu
- Add a link to the Week page
- Add a link to the Day page
- Add a link to the current session (if available)
2023-02-23 14:07:57 +01:00
Kiril Videlov
c162567b6e Use same font family and sizing as Linear 2023-02-23 13:26:33 +01:00
Nikita Galaiko
35a3a0194d
optimize posthog load 2023-02-23 12:32:25 +01:00
Scott Chacon
cffb008a1b just say we are syncing 2023-02-23 12:21:21 +01:00
Scott Chacon
f9a1b5407a show footer and link to cloud if the project is syncing 2023-02-23 12:21:21 +01:00
Kiril Videlov
f866b9edbb 🔨 Refactor: Increase recordings, switch API, lower tolerance
- Increase returned recordings from 10 to 100
- Add OpenAI API for completions
- Lower tolerance for numeric values in test files
- Add 2 tests for inclusive string split function

[src/hooks.client.ts]
- Remove `console.log("HERE");` line
[src/routes/projects/[projectId]/sessions/[sessionId]/+page.svelte]
- Increase the returned recordings from 10 to 100
- Fix typo in github action name
- Move octokit initialization to separate file
- Add OpenAI API for completions
- Lower tolerance for numeric values in test files
- Add 2 tests for inclusive string split function
2023-02-23 09:39:18 +01:00
Kiril Videlov
3441075286 🔨 Refactor package flags in pnpm-lock.yaml
- Update the `pnpm-lock.yaml` file
- Add `fluent-svelte` as a dependency
- Change `dev` flag to `false` for multiple packages

[pnpm-lock.yaml]
- Add `fluent-svelte` as a dependency
- Change `dev` flag from `true` to `false` for `focus-trap` and `for-each` packages
- Change `dev` flag from `true` to `false` for `tabbable` package
- Change `dev` flag from `true` to `false` for `tailwindcss` package
2023-02-23 09:22:53 +01:00
Nikita Galaiko
53669b881f
drop yjs 2023-02-23 08:56:36 +01:00