Commit Graph

7334 Commits

Author SHA1 Message Date
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
Ian Donahue
fd6bdb24b3 Layout updates 2023-03-10 19:50:51 +01:00
Ian Donahue
2367300fbf Typography alignment 2023-03-10 19:32:32 +01:00
Ian Donahue
4d451c94c6 Icon added to project page when all changes are committed 2023-03-10 19:17:46 +01:00
Ian Donahue
7cc461a616 Made cards/boxes consistant visually.
I don't know if they are how we want them to be in the end, but I made them consistant for releasing for beta. Rather them all look the same and not perfect than look different.
2023-03-10 18:54:33 +01:00
Ian Donahue
3673bd3c28 Added nice background effect to command palette 2023-03-10 18:41:33 +01:00
Ian Donahue
609c2a896a Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-10 18:29:00 +01:00
Ian Donahue
07e2ea90c0 Very basic styling of the command palette 2023-03-10 18:28:17 +01:00
Kiril Videlov
dff47ecbd9 prettier format 2023-03-10 18:17:09 +01:00
Kiril Videlov
33070b445a add some types to project page to aid refactoring 2023-03-10 18:16:40 +01:00
Ian Donahue
18757d40e0 Project page's recent activity should scroll now 2023-03-10 18:04:00 +01:00
Ian Donahue
736b201939 Merge branch 'master' into id-visual-design-updates 2023-03-10 17:50:09 +01:00
Ian Donahue
bfb983e838 Basic scroll bars are working 2023-03-10 17:48:59 +01:00
Ian Donahue
941b88beec Merge branch 'master' into id-visual-design-updates 2023-03-10 17:20:04 +01:00
Ian Donahue
1d3deba8cb Update +page.svelte 2023-03-10 17:17:43 +01:00
Scott Chacon
504ed3f3b6 make these short 2023-03-10 07:36:23 -08:00
Scott Chacon
e32a788056 fix some mono fonts 2023-03-10 07:24:01 -08:00
Scott Chacon
536621d54e start of a command palette 2023-03-10 07:22:32 -08:00
Ian Donahue
e31969d75a Update +page.svelte 2023-03-10 16:22:15 +01:00
Ian Donahue
a004b90d02 Project page update to the "all comited" card 2023-03-10 16:21:39 +01:00
Ian Donahue
571a9edef8 Merge branch 'master' of https://github.com/gitbutlerapp/gitbutler-client 2023-03-10 16:19:42 +01:00
Ian Donahue
9fadfbfa2d Visual updates on Project page and added Mono font to project 2023-03-10 16:19:38 +01:00
Kiril Videlov
e177672618 fix a bug with highlighting of search terms 2023-03-10 15:36:27 +01:00
Kiril Videlov
d4fc6d8441 make search not slow in loading of data 2023-03-10 14:56:38 +01:00
Kiril Videlov
32c310889e 💅 Improve search page UI and logic
- Refactored the search page of a project
- Updated the query parameter, background color, and input field
- Added a condition to the results section to check for results

[src/routes/projects/[projectId]/search/+page.svelte]
- Change the query parameter from `urlParams.get('search')` to `urlParams.get('search') ?? ''`
- Change the background color of the search term from `bg-zinc-400/50` to `bg-[#AC8F2F] rounded-sm`
- Move the input field to a `div` with a `mx-14` class
- Add a condition to the results section to check if there are any results
2023-03-10 14:56:38 +01:00
Nikita Galaiko
acd4035451
fix linter 2023-03-10 14:27:59 +01:00
Nikita Galaiko
13456d0398 make player deltas-based 2023-03-10 14:26:09 +01:00
Nikita Galaiko
47ea43fb66
add unit test for player-like flow 2023-03-10 10:03:03 +01:00
Nikita Galaiko
8ffcfdc3c9
log project id in wathcers 2023-03-10 10:03:02 +01:00
Scott Chacon
7c98076032 this is a store now 2023-03-09 12:19:16 -08:00
Scott Chacon
0208068a0f ok, now git statuses is a store 2023-03-09 12:16:29 -08:00