Commit Graph

5914 Commits

Author SHA1 Message Date
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
Scott Chacon
e391688624 got it to switch a branch 2023-03-13 13:45:02 +01:00
Scott Chacon
524591821a more general palette code, dedupe some main.rs code, start of branch switcher 2023-03-13 13:45:02 +01:00
Scott Chacon
01a5c572dc more general palette approach 2023-03-13 13:44:56 +01:00
Ian Donahue
f95ce37c5c Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-13 13:19:45 +01:00
Ian Donahue
6583010e36 Update +layout.svelte 2023-03-13 13:18:29 +01:00
Kiril Videlov
21f26e8c19 🔨 Refactor: Recent Activity & Files Status
- Add recent activity to the project page
- Sort recent activity by timestamp
- Limit recent activity to 20 elements

[src/routes/projects/[projectId]/+page.svelte]
- Add a `recentActivity` variable to store the recent activity
- Convert a list of timestamps to a sparkline
- Limit the number of sparkline elements to 3
- Iterate over the `dateSessions` to get the recent activity
- Sort the recent activity by timestamp
- Limit the recent activity to 20 elements
- Update the template to use the `recentActivity` variable
[src/routes/projects/[projectId]/+layout.ts]
- Add `Activity` type from `$lib/sessions`
- Add `recentActivity` derived from `sessions`
- Sort `sessions` by `startTimestampMs`
- Sort `recentActivity` by `timestampMs`
- Limit `recentActivity` to the first `20` items
- Add `filesStatus` to the return object
2023-03-13 10:37:14 +01:00
Kiril Videlov
3cc3fda37a format 2023-03-13 09:19:47 +01:00
Ian Donahue
afcc6da963 Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-13 02:43:24 +01:00
Ian Donahue
e0f2fff19c Background color is a gradient 2023-03-13 00:27:52 +01:00
Ian Donahue
062fc665b9 Commit palette model looks a little more modern 2023-03-13 00:19:48 +01:00
Scott Chacon
558bb72b20 add quick change project to palette 2023-03-12 09:15:08 -07:00
Scott Chacon
0aca2e8400 command palette is everywhere, but only shows project stuff when there is an active project
also, contact us page
2023-03-12 08:15:01 -07:00
Ian Donahue
a844e3a50b 2023-03-12 15:48:44 +01:00
Scott Chacon
04fe7433a0 lol, let’s not do this by default in master 2023-03-12 06:43:31 -07:00
Scott Chacon
7dbd9c5511 try automatic pushing 2023-03-12 06:34:15 -07:00
Scott Chacon
1707508b7e first commit with the GitButler client. :) 2023-03-11 08:53:07 -08:00
Ian Donahue
6ded8ba85c Merge master into Visual design 2023-03-10 22:27:34 +01:00
Ian Donahue
f164e3966c Fixing search in nav bar. 2023-03-10 22:21:47 +01:00