Commit Graph

532 Commits

Author SHA1 Message Date
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
Ian Donahue
fdbb77a71d Session buttons (forward and backwards) hover stet is improved. 2023-03-14 00:20:13 +01:00
Ian Donahue
7341de5da0 Command palette commit message placeholder text and non-selected input state 2023-03-14 00:14:58 +01:00
Ian Donahue
0ed28575aa Added place holder buttons for going to previous and next session in timeline 2023-03-14 00:05:50 +01:00
Ian Donahue
327affc909 small visual teaks to colors 2023-03-13 23:54:29 +01:00
Ian Donahue
5f514ce297 Made search bar look much prettier 2023-03-13 23:46:07 +01:00
Ian Donahue
af1861be4f Merge branch 'master' into id-visual-design-updates 2023-03-13 23:19:35 +01:00
Ian Donahue
2ef442ad6c Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-13 23:14:18 +01:00
Ian Donahue
13681b4007 Visual Tweaks 2023-03-13 23:13:49 +01:00
Ian Donahue
4dacdc3a74 Visual tweaks 2023-03-13 23:13:16 +01:00
Kiril Videlov
813eb51f99 remove non-existent styles.css for now (until it exists) 2023-03-13 23:07:54 +01:00
Kiril Videlov
233c39579d format & lint 2023-03-13 23:03:51 +01:00
Kiril Videlov
108d903bda dont block while getting statues, it could take seconds sometimes 2023-03-13 22:52:00 +01:00
Ian Donahue
739519fd3d Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-13 22:34:03 +01:00
Kiril Videlov
c896e5193f player page handles empty sessions list 2023-03-13 22:08:36 +01:00
Ian Donahue
3f5620ef55 Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-13 21:11:30 +01:00
Kiril Videlov
38860ded04 optional time constraint when listing sessions. project home loads only last 4 days 2023-03-13 20:42:41 +01:00
Kiril Videlov
60e85f509f less blocking when navigating pages 2023-03-13 20:00:26 +01:00
Kiril Videlov
14418509c3 more async tauri commands 2023-03-13 19:33:29 +01:00
Ian Donahue
633e8b47ac Left spacing of carrot 2023-03-13 19:10:24 +01:00
Ian Donahue
25ee7a5a17 Merge branch 'this-is-a-branch-with-a-really-long-name-as-an-example' 2023-03-13 18:05:08 +01:00
Kiril Videlov
5e20dafbd8 🔨 Improve project page sorting
- Sort project entries by descending order of their keys
- Improve project page sorting

[src/routes/projects/[projectId]/+page.svelte]
- Sort the entries in `dateSessions` by descending order of the keys
2023-03-13 18:04:02 +01:00
Ian Donahue
167b107bf3 Branch now looks like a dropdown button. 2023-03-13 17:58:51 +01:00
Ian Donahue
7cce869c66 Merge branch 'master' into this-is-a-branch-with-a-really-long-name-as-an-example 2023-03-13 17:57:35 +01:00
Kiril Videlov
4ecb16718b AAAAAAAAAAAAAAAA FOUND ITTTTTTTTTTTTTTTTT 2023-03-13 17:54:01 +01:00
Ian Donahue
ef728d5627 Merge branch 'master' into this-is-a-branch-with-a-really-long-name-as-an-example 2023-03-13 17:20:34 +01:00
Ian Donahue
be3acea3be basic styling of branch title 2023-03-13 17:20:14 +01:00
Ian Donahue
6336601d33 Fixing buttons 2023-03-13 16:36:36 +01:00
Kiril Videlov
5d640adb01 format 2023-03-13 16:29:57 +01:00
Kiril Videlov
374a75e65b 🔨 Refactor project page & layout
- Refactor project page and layout
- Update imports for project page
- Increase the number of recordings and recent activities returned

[src/routes/projects/[projectId]/+page.svelte]
- Add `Session` type from `$lib/sessions`
- Add `startOfDay` from `date-fns`
- Add `list` from `$lib/deltas`
- Get the last 3 days of sessions and list the deltas for each session
- Add `toHumanBranchName` from `$lib/branch`
- Add a `git_branch` invoke
- Change the `Recent File Changes`
[src/routes/projects/[projectId]/+layout.ts]
- Remove `UISession` and `Delta` imports
- Move `octokit` initialization to a separate file
- Change `prerender` value to `false`
- Change `slice(0, 10)` to `slice(0, 20)` for returned recordings
- Change `slice(0, 3)` to `slice(0, 20)` for recent activity
- Remove `latestDeltasByDateByFile` store
2023-03-13 16:29:35 +01:00
Scott Chacon
a4a458e65e toast on branch switch 2023-03-13 16:17:03 +01:00
Scott Chacon
1f51bec727 update help to docs for docs 2023-03-13 16:17:03 +01:00
Kiril Videlov
f84a792b50 dont load all sessions for the project home page 2023-03-13 14:25:32 +01:00
Scott Chacon
8ef2eb76b3 fix the merge 2023-03-13 13:47:46 +01:00
Scott Chacon
6e0358baae only local branches, scroll into view 2023-03-13 13:45:02 +01:00
Scott Chacon
fb2a39b280 get branch name, dont actually switch branches 2023-03-13 13:45:02 +01:00