Commit Graph

710 Commits

Author SHA1 Message Date
Scott Chacon
501983f9bb Listen to Sessions events too
Re-added the <Session> watcher, so we can see file add/remove/modify events, not just commits and branch changes. We actually need to watch both.
2023-03-22 15:54:33 +01:00
Nikita Galaiko
c6b23dc250
log exec time as debug 2023-03-22 15:17:10 +01:00
Nikita Galaiko
e92c924b45
log tauri commands execution time 2023-03-22 15:02:16 +01:00
Nikita Galaiko
17fa40b3b8
fix deadlock issue 2023-03-22 14:11:29 +01:00
Scott Chacon
41d2893fd9 Add DiffViewer component and file selection
Enhanced the commit page by adding the DiffViewer component and implementing file selection functionality for the commit message generation. Users can now view diffs per file before committing.
2023-03-22 13:50:38 +01:00
Nikita Galaiko
69df2d0408
fix sessions storage filtering 2023-03-22 11:26:02 +01:00
Nikita Galaiko
a5c8f02350
fix high cpu usage 2023-03-22 10:05:35 +01:00
Nikita Galaiko
fa3a6271f9
subscribe to file changes before sending them 2023-03-22 09:12:37 +01:00
Nikita Galaiko
217ede1771
async init 2023-03-22 09:02:41 +01:00
Nikita Galaiko
300d042e04
start only one files watcher 2023-03-22 08:59:23 +01:00
Nikita Galaiko
80e3e9fd28
make watchers async 2023-03-22 07:51:58 +01:00
Nikita Galaiko
b202c264aa
share git repo between repository too 2023-03-21 15:12:45 +01:00
Nikita Galaiko
7bee70ac80
share repo for sessions storage 2023-03-21 11:28:58 +01:00
Nikita Galaiko
e79d377e3e
share repo for deltas storage 2023-03-21 11:01:10 +01:00
Nikita Galaiko
3009958218
arc protect 2023-03-21 10:53:15 +01:00
Nikita Galaiko
244cf5850d
cache sessions list 2023-03-21 08:57:38 +01:00
Nikita Galaiko
a5062ada92
extract session flush to store 2023-03-21 08:41:44 +01:00
Nikita Galaiko
06371e4c36
extract create current session to store 2023-03-21 07:59:56 +01:00
Nikita Galaiko
9dfe98cef2
cache list_files 2023-03-20 17:27:55 +01:00
Nikita Galaiko
e7adcdd017
extract list_session_files to storage 2023-03-20 17:27:54 +01:00
Ian Donahue
7e7e093684 prettied up some stuff 2023-03-20 17:14:35 +01:00
Nikita Galaiko
0ffbcd5d13
extract sessions storage 2023-03-20 16:21:25 +01:00
Nikita Galaiko
252f589f44
async user image fetching 2023-03-20 15:41:17 +01:00
Scott Chacon
e29d09f2fc linting 2023-03-20 15:15:14 +01:00
Scott Chacon
e1239d4b08 Merge branch 'master' of github.com:gitbutlerapp/gitbutler-client 2023-03-20 15:14:32 +01:00
Scott Chacon
16601f31d3 Improve git committing with new screen
New commit screen with diffs pulled from Rust and summarizable by gpt4.
2023-03-20 15:12:22 +01:00
Nikita Galaiko
97bbb00142
log api call durations 2023-03-20 15:11:47 +01:00
Nikita Galaiko
29a546a301
another syntax for async aommand 2023-03-20 15:11:19 +01:00
Nikita Galaiko
c3ee365817
cache persistent deltas 2023-03-20 15:10:54 +01:00
Scott Chacon
ffe56ab14c move to Git event on git data, not session event 2023-03-20 14:59:36 +01:00
Nikita Galaiko
d9e13a784a
split deltas store into persistent and current 2023-03-20 14:31:23 +01:00
Nikita Galaiko
6299a97e73
extract deltas storage 2023-03-20 13:55:12 +01:00
Scott Chacon
81c58fac0b Merge branch 'sc-commit-message' 2023-03-18 07:55:41 +01:00
Scott Chacon
1210d35288 Add working directory diff support and auto generate commit messages
This update enables the generation of a working directory diff and returns a Git commit message based on the diff changes. It includes changes to the API, Tauri, and frontend code. Notable modifications include:

- Added `git_wd_diff` function to Tauri `src/main.rs`
- Modified `Repository` struct, added `wd_diff` method to `src/repositories/repository.rs`
- New `commit` function added to `src/lib/api.ts`
- Added `fetchCommitMessage` function in `src/routes/projects/[projectId]/+page.svelte`
- Minor UI adjustments in `src/routes/projects/[projectId]/player/+page.svelte`

Overall, this commit improves user experience by automatically generating commit messages based on the changes made in the working directory.
2023-03-18 07:52:58 +01:00
Kiril Videlov
1c48d1dba3 more command paletter capabilities 2023-03-17 22:46:57 +01:00
Scott Chacon
4df03fbcdc fix esc/click out issue 2023-03-17 21:03:53 +01:00
Ian Donahue
6f7121ab99 Player: Code viwer update in visual styleing 2023-03-17 19:54:43 +01:00
Ian Donahue
e3f75d767a Player: fixed a wiggle issue when toggling things 2023-03-17 19:29:36 +01:00
Ian Donahue
892a53d53f Player: distributed the player UI over the entire player 2023-03-17 19:28:26 +01:00
Ian Donahue
20d86d38d6 Player: Button for full context vs portion display 2023-03-17 19:13:19 +01:00
Ian Donahue
d17d3c724a Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-17 17:34:04 +01:00
Kiril Videlov
3d4bb29fe1 new palette searches files 2023-03-17 17:31:58 +01:00
Ian Donahue
73d44d548d Added play buttons back in 2023-03-17 17:31:02 +01:00
Nikita Galaiko
08f0e286a2
extract repoisitories storage 2023-03-17 16:28:49 +01:00
Scott Chacon
e4fca498b5 formatting 2023-03-17 16:15:49 +01:00
Scott Chacon
1743edaf2b Merge branch 'master' of github.com:gitbutlerapp/gitbutler-client 2023-03-17 16:15:02 +01:00
Scott Chacon
6b36f72104 better handling of long filenames 2023-03-17 16:03:50 +01:00
Nikita Galaiko
fbf05e842a apply correct amount of deltas from a search result 2023-03-17 15:45:19 +01:00
Nikita Galaiko
cd6afbb9e9 fix search page overflows 2023-03-17 15:45:19 +01:00
Nikita Galaiko
db9eccc5d5 clean results on query update 2023-03-17 15:45:19 +01:00