Commit Graph

464 Commits

Author SHA1 Message Date
Scott Chacon
1707508b7e first commit with the GitButler client. :) 2023-03-11 08:53:07 -08: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
Scott Chacon
2d9e738038 v1 git status 2023-03-09 11:24:21 -08:00
Scott Chacon
940a51a33e show activities 2023-03-09 10:13:30 -08:00
Ian Donahue
1d978282cf adding symantic naming of section 2023-03-09 19:08:48 +01:00
Ian Donahue
10cf93a8d6 Merge branch 'master' into id-visual-design-updates 2023-03-09 18:43:37 +01:00
Ian Donahue
dd54c1d226 Card style testing 2023-03-09 18:36:10 +01:00
Scott Chacon
c339af69e4 quick pass at a new project page 2023-03-09 09:00:41 -08:00
Nikita Galaiko
12ac983978
more aggressive file event kind filter 2023-03-09 13:58:09 +01:00
Kiril Videlov
c29439b0e5 Revert "temporary fix for duplicated deltas issue"
This reverts commit 6bb919b238.
2023-03-09 13:44:49 +01:00
Nikita Galaiko
0d579f3d2c
add some more watchers tests 2023-03-09 13:06:26 +01:00
Kiril Videlov
0e6a88a236 🔨 Refactor project search page diffs
- Improve search feature in project pages
- Highlight search terms in diff lines
- Use `date-fns` to format dates

[src/routes/projects/[projectId]/search/+page.svelte]
- Add `formatDistanceToNow` from `date-fns`
- Add `getDiffHunksWithSearchTerm` and `processHunkLines` functions
- Change `diffParagraph` to `getDiffHunksWithSearchTerm`
- Change the layout of the diff lines to highlight the search term
- Remove `onMount` function and related code
2023-03-09 11:04:09 +01:00
Nikita Galaiko
6bb919b238
temporary fix for duplicated deltas issue 2023-03-09 09:51:38 +01:00
Nikita Galaiko
76773aec0b
drop difference 2023-03-08 17:22:42 +01:00
Nikita Galaiko
5b146d90f0
test multi char operations 2023-03-08 16:59:52 +01:00
Nikita Galaiko
ff1bd5f02f
pnpm format 2023-03-08 15:15:14 +01:00
Kiril Videlov
626d3bf755 🔨 Refactor search page to improve recordings, completions, and tests
- Update packages and add new features to the project search page
- Add 1000ms delay to search query
- Add functions to apply deltas to a text string and diff a paragraph with a query
- Add a code viewer with syntax highlighting for search results

[pnpm-lock.yaml]
- Add `diff` package (version 5.1.0)
- Update `date-fns` to version 2.29.3
- Update `@typescript-eslint/parser` to version 5.45.0
- Update `autoprefixer` to version 10.4.7
- Update `eslint` to version 8.28.0
- Update `eslint-config-prettier` to version
[package.json]
- Add `diff` package to `package.json`
[src/routes/projects/[projectId]/search/+page.svelte]
- Add 1000ms delay to search query
- Add a function to apply deltas to a text string
- Add a function to diff a paragraph with a query
- Add a timestamp to the file path in the search results
- Add a span to the file path with the date of the delta
- Add a code viewer with highlighting for the search results
- Add a pre tag with highlighting for the search results
2023-03-08 15:14:56 +01:00
Nikita Galaiko
f10cf6b251
re-render codeviewer when doc/filepath pair changes 2023-03-08 14:52:46 +01:00
Nikita Galaiko
5bcd1cdd4f
more natural timeline scaling 2023-03-08 14:27:04 +01:00
Nikita Galaiko
9f1e949e10
do not show outside of permitted ranges 2023-03-08 13:45:24 +01:00
Nikita Galaiko
6a0c235d9b
changing slider pos updates the player 2023-03-08 13:26:40 +01:00