Commit Graph

5002 Commits

Author SHA1 Message Date
Kiril Videlov
a6b2430e3d
Merge pull request #28 from gitbutlerapp/index-by-full-diff
use full diff when indexing
2023-03-07 13:21:33 +01:00
Nikita Galaiko
b3c29abe00
use full diff when indexing 2023-03-07 13:11:03 +01:00
Nikita Galaiko
0a247e31ab
include prettier-plugin-tailwindcss into config 2023-03-07 11:53:11 +01:00
Nikita Galaiko
e49e3433ed
setup prettier-plugin-tailwindcss 2023-03-07 11:52:18 +01:00
Kiril Videlov
efc07705e4 release the lock when there are broken projects 2023-03-07 10:18:56 +01:00
Kiril Videlov
96e4f16703 dont panic on search error 2023-03-07 10:05:27 +01:00
Kiril Videlov
04734efcf4 lower the session related logging output 2023-03-07 09:46:17 +01:00
Nikita Galaiko
6b9c2db7a0 pnpm format 2023-03-06 15:41:11 +01:00
Nikita Galaiko
0aefc8be61 support time ranges 2023-03-06 15:41:11 +01:00
Nikita Galaiko
c6c3c3feb5 add limit & offset to the query 2023-03-06 15:41:11 +01:00
Nikita Galaiko
cfd151fcb9 sort results by timestamp 2023-03-06 15:41:11 +01:00
Nikita Galaiko
b1fc932a81 add test search page 2023-03-06 15:41:11 +01:00
Nikita Galaiko
41842ee356 expose search api 2023-03-06 15:41:11 +01:00
Nikita Galaiko
3f65a3e72f store all projects in the same index 2023-03-06 15:41:11 +01:00
Ian Donahue
3808b63655 Added css style sheet 2023-03-06 13:24:01 +01:00
Kiril Videlov
5ed947747b 🤦 2023-03-06 12:26:52 +01:00
Kiril Videlov
a300e1408f fix tauri build error 2023-03-06 10:15:36 +01:00
Nikita Galaiko
59eb1fd8a6 run indexing in a background 2023-03-06 08:23:15 +01:00
Nikita Galaiko
c0fd0bd729 implement reindexing 2023-03-06 08:23:15 +01:00
Nikita Galaiko
f78d5b104f check size when applying operations 2023-03-06 08:23:15 +01:00
Nikita Galaiko
887b676acb start recording new sessions 2023-03-06 08:23:15 +01:00
Nikita Galaiko
d962e2d7d1 rename git watcher -> session watcher 2023-03-06 08:23:15 +01:00
Nikita Galaiko
d85b40f472 make searcher non-project specific 2023-03-06 08:23:15 +01:00
Nikita Galaiko
d04df229d6 implmenet basic search 2023-03-06 08:23:15 +01:00
Nikita Galaiko
41824e2c85 add deltas index writer 2023-03-06 08:23:15 +01:00
Nikita Galaiko
895125c4f7
pnpm format 2023-03-06 08:22:26 +01:00
Ian Donahue
afe5e93ebb bordradius 2023-03-05 15:49:36 +01:00
Ian Donahue
05bcbc2712 Test commit 2023-03-05 15:40:13 +01:00
Ian Donahue
11b52cfd19 Visual changes 2023-03-04 19:20:01 +01:00
Ian Donahue
903dac2d34 User page visual updates 2023-03-04 18:07:13 +01:00
Kiril Videlov
3398a92ef6 center a div lol 2023-03-03 20:22:44 +01:00
Ian Donahue
40a98d8cd7 Button-ified the repo name 2023-03-03 19:37:10 +01:00
Ian Donahue
11e1b1f340 🎨 updated look and feel of settings page 2023-03-03 19:23:46 +01:00
Ian Donahue
496591e4e0 Fixed setting button UI interaction 2023-03-03 19:17:04 +01:00
Ian Donahue
1e24daff14 App bar UI components have clearer interactions
App bar buttons are now more clearer you are able to click
2023-03-03 19:06:02 +01:00
Ian Donahue
a9e4d4e468 Wrapped card in <a> instead of just header 2023-03-03 18:36:52 +01:00
Ian Donahue
e27f8d463f 🎨 changed base color to zinc 800 2023-03-03 18:23:18 +01:00
Kiril Videlov
d2bbf1cfa0 🔨 Refactor: Project Layout & Timeline Page
- Refactor layout page in projects route
- Add timeline page for project
- Load sessions, deltas, and UI sessions for project
- Sort sessions, deltas, and UI sessions by timestamp
- Set earliest and latest delta timestamp for each UI session
2023-03-03 15:51:15 +01:00
Kiril Videlov
7db4f427bf 🔨 Refactor layout for better responsiveness
- Adjust the header height for better UI responsiveness
- Improve layout for better user experience

[src/routes/+layout.svelte]
- Change the height of the header from `h-8` to `h-full max-h-8`
2023-03-03 15:28:09 +01:00
Kiril Videlov
c56bf93ae6 🔨 Refactor Popover component
- Refactor Popover component to improve accessibility and usability
- Add `fadeAndZoomIn` transition
- Change `aria-orientation` to `vertical` and `z-` class from `999` to `[999]`
- Add `mouseup` event listener to close the popover

[src/lib/components/Popover/Popover.svelte]
- Remove `slide` transition and replace it with `fadeAndZoomIn`
- Change `expoOut` easing to `duration`
- Add `fadeAndZoomIn` transition
- Change `aria-orientation` to `vertical`
- Add `mouseup` event listener to close the popover
- Change `z-` class from `999` to `[999]`
- Change `bg-` class from `
2023-03-03 15:06:59 +01:00
Kiril Videlov
17a7e8859e 💅 Improve UI layout and styling
- Adjust styling of Breadcrumbs component
- Increase max-height and add padding

[src/lib/components/Breadcrumbs.svelte]
- Change the max-height property of the breadcrumbs list from `280px` to `289px`
- Add a padding of `2px` to the breadcrumbs list
2023-03-03 13:58:12 +01:00
Kiril Videlov
b1bffd8d7e 🔨 Refactor project page data handling
- Update project page to use `LayoutData` type
- Refactor `project` assignment to use `$:` syntax

[src/routes/projects/[projectId]/+page.svelte]
- Change the imported type from `PageData` to `LayoutData`
- Update the data assignment to use the `LayoutData` type
- Update the `project` assignment to use the `$:` syntax
2023-03-03 13:54:56 +01:00
Kiril Videlov
b8e4543bd5 💅 Improve UI components
- Replace IconHome and IconChevronRight with SVG icons
- Add Popover component for project title
- Add a link to the project and session page
- Change background color of the breadcrumb container
- Replace `IconArrowBigLeftFilled` and `IconArrowBigRightFilled` icons with SVG images

[src/lib/components/BackForwardButtons.svelte]
- Replace the `IconArrowBigLeftFilled` and `IconArrowBigRightFilled` icons with SVG images
[src/lib/components/Breadcrumbs.svelte]
- Replace IconHome and IconChevronRight with SVG icons
- Add Popover component for project title
- Add a link to the project and session page
- Change background color of the breadcrumb container
- Remove the `space-x-1` class from the breadcrumb container
2023-03-03 12:09:17 +01:00
Kiril Videlov
e9e341e3b5 💅 Improve Popover styling and transitions
- Update Popover component to include fading transition and updated styling
- Improve accessibility by updating aria labels, orientation, and class of element

[src/lib/components/Popover/Popover.svelte]
- Import `fade` and `expoOut` from `svelte/transition` and `svelte/easing` respectively
- Change the `slide` transition duration and easing
- Add a `fade` transition for the `out` transition
- Update the `aria` labels, orientation and class of the element
- Update the `style` of the element to include `bottom` and `left`
2023-03-03 11:58:47 +01:00
Kiril Videlov
42067ca8cd update app min & max window sizes 2023-03-03 11:49:09 +01:00
Kiril Videlov
1c269444b0 🔨 Refactor UI components
- Update Breadcrumbs and Popover components
- Make Breadcrumbs link clickable and Popover close on mouseup

[src/lib/components/Breadcrumbs.svelte]
- Change `Add repository...` to include `cursor-pointer` and wrap the text in an anchor tag
[src/lib/components/Popover/Popover.svelte]
- Change `on:click|stopPropagation` to `on:mouseup={() => (showPopover = false)}`
2023-03-03 10:48:40 +01:00
Kiril Videlov
b9ff930d84 🔨 Refactor Breadcrumbs component
- Update Breadcrumbs component to use `a` elements
- Add link and `w-full` class to `a` element in Breadcrumbs component

[src/lib/components/Breadcrumbs.svelte]
- Change `div` to `a` element in Breadcrumbs component
- Add link to `a` element in Breadcrumbs component
- Add `w-full` class to `a` element in Breadcrumbs component
2023-03-03 10:34:56 +01:00
Kiril Videlov
c08b8f2a37 even higher z-index for the popover 2023-03-03 10:29:11 +01:00
Kiril Videlov
7eb741c59f dont show popover by default lol 2023-03-03 10:18:01 +01:00
Kiril Videlov
c49a392453 update popover to the latest design 2023-03-03 10:13:32 +01:00