Commit Graph

9382 Commits

Author SHA1 Message Date
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
Nikita Galaiko
fa06ec611d change index 2023-03-17 15:45:19 +01:00
Nikita Galaiko
781390be76 highlight 2023-03-17 15:45:19 +01:00
Nikita Galaiko
082a30a543 change naming 2023-03-17 15:45:19 +01:00
Nikita Galaiko
396a932111 use codevier when showing search results 2023-03-17 15:45:19 +01:00
Nikita Galaiko
d4d1a8e3fb return highlighted result entries from search 2023-03-17 15:45:19 +01:00
Nikita Galaiko
5e0efcd941 when lising deltas, filter by filepath 2023-03-17 15:45:19 +01:00
Nikita Galaiko
3743522eed listDelas: allow filtering by file path 2023-03-17 15:45:19 +01:00
Nikita Galaiko
4b10ef8df0 configurable padding lines 2023-03-17 15:45:19 +01:00
Ian Donahue
af1cee0c1e Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-17 15:40:37 +01:00
Ian Donahue
29f6d039b7 Updated player button colors and hovers states 2023-03-17 15:38:16 +01:00
Scott Chacon
d6186a06fc Merge branch 'master' of github.com:gitbutlerapp/gitbutler-client 2023-03-17 15:25:24 +01:00
Scott Chacon
12810c0688 linting 2023-03-17 15:25:16 +01:00
Scott Chacon
a4ea392939 way to just show context 2023-03-17 15:24:52 +01:00
Kiril Videlov
146c1d9855 new CMDK supports in-palette actions 2023-03-17 15:12:22 +01:00
Scott Chacon
099e1d00e0 Can’t go outside of the edit range, also start on 0 2023-03-17 13:36:32 +01:00
Scott Chacon
fa610b403f change to gb- colors 2023-03-17 12:50:46 +01:00
Nikita Galaiko
47fb378496
highlight rust 2023-03-17 12:47:55 +01:00
Ian Donahue
3a8074fa3b Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-17 12:18:08 +01:00
Ian Donahue
7cd3ca4dd4 Player day of week visual update 2023-03-17 12:17:55 +01:00
Nikita Galaiko
cad1ff6e8d
say if there are no search results 2023-03-17 08:36:40 +01:00
Nikita Galaiko
df01a49f02
merge diffView into codeViewer 2023-03-17 08:36:01 +01:00
Nikita Galaiko
a8680c22d1
fix npe 2023-03-17 08:25:14 +01:00
Nikita Galaiko
5db47c7b66
enable non-m1 builds 2023-03-17 07:53:53 +01:00
Kiril Videlov
62527ae333 command navigation on the new command palette 2023-03-16 23:20:28 +01:00
Scott Chacon
36bf6afb4e Merge branch 'master' of github.com:gitbutlerapp/gitbutler-client 2023-03-16 17:56:36 +01:00
Scott Chacon
0d6a0996fe add links to player from days 2023-03-16 17:56:06 +01:00
Ian Donahue
d3bded5bb1 Active and default colors for selected items. 2023-03-16 17:53:59 +01:00
Scott Chacon
22d5f013f4 replace bookmark with player, remove button in layout 2023-03-16 17:44:58 +01:00