Commit Graph

600 Commits

Author SHA1 Message Date
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
Nikita Galaiko
a4b9ec57d9
pnpm format 2023-03-08 12:33:23 +01:00
Nikita Galaiko
53b7ce67df
base player timeline 2023-03-08 12:33:23 +01:00
Kiril Videlov
7a5ee73ea6 prevet eye bleeding 2023-03-08 10:30:45 +01:00
Nikita Galaiko
14d3d26cc9
minor adjust codeviewer colors 2023-03-08 09:30:15 +01:00
Nikita Galaiko
21b9c08299
less cpu intensive player 2023-03-08 09:15:38 +01:00
Kiril Videlov
2af1317fd2 search results: highlight changed location 2023-03-07 18:51:02 +01:00
Kiril Videlov
2ed305cb01 render search results results 2023-03-07 17:56:39 +01:00
Nikita Galaiko
33f1525b06
fix linter 2023-03-07 17:14:37 +01:00
Nikita Galaiko
6cfc25c2f2
split int & check actions 2023-03-07 17:11:49 +01:00
Nikita Galaiko
3ae62f29e0 fix tests 2023-03-07 17:10:48 +01:00
Nikita Galaiko
5dfde966ab replace diffing library 2023-03-07 17:10:48 +01:00
Nikita Galaiko
fcb45bb8a5 crude player page 2023-03-07 17:10:15 +01:00
Ian Donahue
e7341094b8 Merge branch 'master' into visual-design-updates 2023-03-07 13:37:00 +01:00
Kiril Videlov
a6b2430e3d
Merge pull request #28 from gitbutlerapp/index-by-full-diff
use full diff when indexing
2023-03-07 13:21:33 +01:00
Nikita Galaiko
b3c29abe00
use full diff when indexing 2023-03-07 13:11:03 +01:00