Commit Graph

567 Commits

Author SHA1 Message Date
Nikita Galaiko
bc9c2dd25d
use Math 2023-03-16 14:06:10 +01:00
Nikita Galaiko
418c5427da
style it all up 2023-03-16 13:21:15 +01:00
Nikita Galaiko
0e8ff81b6b
thanks, google 2023-03-16 13:21:15 +01:00
Kiril Videlov
094aead89f fix a weird overflow 2023-03-16 09:42:48 +01:00
Kiril Videlov
557b483364 format 2023-03-16 09:36:27 +01:00
Kiril Videlov
50f626b1b6 use date-fns so that we have less custom date formatting 2023-03-16 09:36:08 +01:00
Kiril Videlov
f4ce12a17c fix some type errors 2023-03-16 09:23:51 +01:00
Kiril Videlov
9eceefee3e 🔨 Refactor Search Result Rendering
- Update the styling of the rendered search result
- Improve user experience with better overflow and borders

[src/lib/components/search/RenderedSearchResult.svelte]
- Change the background color of the rendered search result
- Add overflow-y: auto to the result element
- Add a border-bottom to the hunks element
2023-03-15 16:39:03 +01:00
Nikita Galaiko
bf49ec9d9a
fix some codevier overflows [2] 2023-03-15 16:36:25 +01:00
Kiril Videlov
4a3bb13408 make the CMD-k shortkeys not global so that people can Copy-Paste 2023-03-15 16:01:23 +01:00
Scott Chacon
3baf42bed5 ah. I see. fix linting stuff 2023-03-15 16:00:10 +01:00
Ian Donahue
b569a6b099 Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-15 15:51:28 +01:00
Ian Donahue
91f0663997 Made font color consistant 2023-03-15 15:50:33 +01:00
Nikita Galaiko
88c5b08df0
fix some codeviewer overflows 2023-03-15 15:45:23 +01:00
Nikita Galaiko
380f606839 replace codemirror with diff2html 2023-03-15 15:37:35 +01:00
Scott Chacon
1468e10b56 Merge remote-tracking branch 'origin/master' 2023-03-15 14:53:33 +01:00
Scott Chacon
4dc9d63762 style it all up 2023-03-15 14:40:40 +01:00
Kiril Videlov
9f98346834 search input is now reactive 2023-03-15 13:05:19 +01:00
Scott Chacon
82323286f5 got it to work 2023-03-15 11:52:21 +01:00
Scott Chacon
c024510a69 new player 2023-03-15 11:11:02 +01:00
Scott Chacon
a8a2e2b0a9 successful commit toast 2023-03-15 11:10:53 +01:00
Nikita Galaiko
7730653aca
more session tests to ensure wd structure 2023-03-15 10:56:25 +01:00
Nikita Galaiko
a6ae15ce44
more tests to ensure wd structure 2023-03-15 10:54:25 +01:00
Nikita Galaiko
711c10ee25
make sure session/wd git-tree only contains wd files 2023-03-15 10:07:39 +01:00
Kiril Videlov
fb7522463a format 2023-03-15 10:05:56 +01:00
Kiril Videlov
a56eb55888 prevent overscroll of the whole app 2023-03-14 22:19:43 +01:00
Kiril Videlov
2318ebb033 fix that sick gradient @ian and mao made 2023-03-14 22:16:13 +01:00
Kiril Videlov
196342537f 🔨 Improve search results accuracy
- Improved search performance by filtering out results with no hunks
- Fixed bug that was causing incorrect search results to be displayed

[src/routes/projects/[projectId]/search/+page.svelte]
- Add a check to only add search results with hunks to the processedResults array
2023-03-14 21:34:23 +01:00
Kiril Videlov
1cc7f93b8b 🔨 Refactor Command Palette & Lower Numeric Tolerance
- Increase the number of recordings returned in the Command Palette
- Update the keyboard shortcut for opening the Command Palette
- Refactor the octokit initialization
- Add OpenAI API for completions
- Lower numeric tolerance for test files
- Add two new tests for the string split function
- Update the `onKeyDown` and `onKeyUp` functions

[src/lib/components/CommandPalette.svelte]
- Raise the amount of recordings returned from `10` to `100`
- Change the keyboard shortcut for opening the command palette from `Meta+K` to `Meta+C`
- Move the `octokit` initialization to a separate file
- Add an OpenAI API for completions
- Lower numeric tolerance for test files
- Add 2 tests for the inclusive string split function
- Change the `onKeyDown` and `onKeyUp` functions to `on
2023-03-14 20:49:45 +01:00
Nikita Galaiko
9dd6141dc4
correctly build nested trees 2023-03-14 20:00:44 +01:00
Ian Donahue
d394ba01e6 Merge conflict resolution 2023-03-14 18:12:53 +01:00
Ian Donahue
6d6e1b36a9 Some hover states 2023-03-14 18:05:13 +01:00
Kiril Videlov
fb70af15ef when commiting, have all files checked by default 2023-03-14 17:06:11 +01:00
Scott Chacon
ea589bdce4 Add some slightly better empty states. 2023-03-14 16:43:54 +01:00
Ian Donahue
91fe040649 Fixed the height of the project app nav. 2023-03-14 16:33:53 +01:00
Nikita Galaiko
3a528c96f6
when writing gb/wd, make sure directory is there [2] 2023-03-14 16:12:10 +01:00
Nikita Galaiko
98d945fa43
when writing gb/wd, make sure directory is there 2023-03-14 16:10:48 +01:00
Kiril Videlov
accd64ce3f wire the commit button 2023-03-14 15:35:01 +01:00
Nikita Galaiko
e378943c69
log::info instead of println 2023-03-14 13:00:07 +01:00
Nikita Galaiko
c00df16083
update current session activity on .git/logs/HEAD update 2023-03-14 12:51:57 +01:00
Nikita Galaiko
1f4c96f827
add git watcher 2023-03-14 11:31:05 +01:00
Kiril Videlov
3abded40ff remove timeline 2023-03-14 11:29:39 +01:00
Nikita Galaiko
31d04024cd
cherry-pick used icons from @tabler 2023-03-14 10:13:51 +01:00
Nikita Galaiko
9958730c2f
init project in add_project handler 2023-03-14 09:45:30 +01:00
Nikita Galaiko
cb93ce5ce1 fix some types 2023-03-14 09:04:56 +01:00
Nikita Galaiko
e38c7481ef keep processed files inside session/wd 2023-03-14 09:04:56 +01:00
Nikita Galaiko
3a95bc792d use fslock for syncronization 2023-03-14 09:04:56 +01:00
Nikita Galaiko
436737036b sync wathcers with mutex 2023-03-14 09:04:56 +01:00
Ian Donahue
5d46a9ff5e Minor language update “syncing” changed to “backed up" 2023-03-14 00:45:51 +01:00
Ian Donahue
0c3b7e2346 A little more polish on th search bar and fixed an overflow issues 2023-03-14 00:33:16 +01:00