Josh Junon
bb9fb079c4
Merge pull request #3699 from gitbutlerapp/sort-alphabetically
...
sort project list alphabetically
2024-05-06 11:57:23 +02:00
Josh Junon
574f0142f9
sort projects list alphabetically by title
2024-05-06 11:32:41 +02:00
Cotton Hou
df7fa842b9
build: adopt to resolve.conditions: es2015
2024-05-06 15:53:43 +08:00
Caleb Owens
645726ab93
Render files in chunks of 100
...
Rendering the files in chunks of 100 prevents the UI from completly locking up. It is a little slugish until it finishes rendering (for the same 2 seconds), but is a markable improvement none hte less
2024-05-06 01:44:26 +01:00
Caleb Owens
85e3420f23
Drastically improve render performance
...
When rendering 1900 odd files, flexbox can cause performance issues due to having to recalculate many times.
I've removed a selection of un-needed flex declarations which has improved perfomrance sugnificantly.
2024-05-06 00:31:11 +01:00
Kiril Videlov
7fdd85f522
Merge pull request #3695 from gitbutlerapp/restore-snapshot-and-refresh
...
add some details to the undo interface
2024-05-06 00:20:43 +02:00
Kiril Videlov
08eba701fb
add some details to the undo interface
2024-05-06 00:19:22 +02:00
Kiril Videlov
f2b2434d7c
Merge pull request #3694 from gitbutlerapp/refactor-snapshot-functions-as-trait-methods
...
refactor snapshotting as an Oplog trait
2024-05-05 22:46:08 +02:00
Kiril Videlov
4f1c63ca77
dont error commands on snapshoting erros
...
If the snapshoting returns an error that should not interfere with the command that the user originally intended to run
2024-05-05 22:34:15 +02:00
Kiril Videlov
5f6ff257d1
refactor snapshotting as an Oplog trait
...
Implemented on Project
2024-05-05 22:28:12 +02:00
ndom91
214667b17b
Merge branch 'master' into ndom91/add-nix-flake
2024-05-05 22:27:07 +02:00
Nico Domino
806d38f322
Discard changes to flake.lock
2024-05-05 22:26:30 +02:00
Nico Domino
d61b86fedb
Discard changes to flake.nix
2024-05-05 22:26:26 +02:00
Pavel Laptev
6d9848e3d7
lint fixes
2024-05-05 22:18:59 +02:00
Pavel Laptev
e38e68477b
lint fixes
2024-05-05 21:57:45 +02:00
Pavel Laptev
043917ad45
Help window menu added
2024-05-05 21:40:06 +02:00
Kiril Videlov
988291886b
Merge pull request #3692 from anaisbetts/ignore-envs
...
Ignore .env.development and friends
2024-05-05 21:33:54 +02:00
Ani Betts
de2bcdb390
Ignore .env.development and friends
2024-05-05 21:18:05 +02:00
Kiril Videlov
bb1d79e87a
Merge pull request #3691 from gitbutlerapp/added-snapshot-creation-based-on-changed-lines
...
fix: auto snapshotting on changed lines of code
2024-05-05 20:29:19 +02:00
ndom91
1c28117beb
fix: revert test back to passing
2024-05-05 20:22:01 +02:00
ndom91
f5f0720ab6
fix: get correct pwt version in GHA
2024-05-05 20:14:55 +02:00
ndom91
17ad204a37
feat: cache playwright binaries in GHA
2024-05-05 20:10:18 +02:00
Kiril Videlov
c59767651d
fix: auto snapshotting on changed lines of code
...
Compare against the last snapshot
2024-05-05 20:08:34 +02:00
ndom91
90185976ca
fix(gha): use correct artifact dir
2024-05-05 20:05:03 +02:00
ndom91
4aeff1182a
chore(gha): test where artifacts get written in GHA
2024-05-05 19:56:44 +02:00
ndom91
d941a96cb8
feat: add more trigger options to pwt gha
2024-05-05 19:55:42 +02:00
ndom91
2317f39754
chore(gha): test failing tests and uploading report
2024-05-05 19:52:29 +02:00
ndom91
cb16aec76f
chore(gha): cleanup naming
2024-05-05 19:41:28 +02:00
ndom91
23031d3906
fix(gha): bump timeout and always start dev server with pwt
2024-05-05 19:38:26 +02:00
ndom91
c3c12bedd1
fix(gha): install correct chromium versions in CI
2024-05-05 19:33:48 +02:00
ndom91
736395f41f
fix: playwright version in lockfile
2024-05-05 19:08:01 +02:00
Caleb Owens
442ff9dbac
Push rather than inserting
...
This in theory is a faster way of adding items to the list, but at the very least, makes it consistent with the other branch which also uses `push`
2024-05-05 18:07:30 +01:00
Caleb Owens
fc8d8bcb43
Optimize virtual branch file sorting
...
The changes in this commit optimize the sorting of virtual branch files
by pre-computing the index positions of the ownership claims for each
file path. This improves the performance of the sorting operation by
avoiding the need to repeatedly search for the index positions during
the comparison step.
With 1900 hunks in a vbranch, I've found that this helps reduce the run time from 9 seconds down to just 5.
I considered not sorting at all if we didn't have any branches, but this didn't provide any substantial change in performance.
2024-05-05 18:07:30 +01:00
ndom91
248f8df3a5
chore(test): cleanup playwright initial test
2024-05-05 19:04:07 +02:00
ndom91
5798371613
fix: root layout with 'master' changes
2024-05-05 19:03:55 +02:00
ndom91
1e3931e5e3
fix: cleanup playwright.config
2024-05-05 18:58:33 +02:00
ndom91
402b74b3cb
fix(gha): install only chromium browser
2024-05-05 18:56:22 +02:00
ndom91
b875280a4e
fix: cleanup playwright.config for CI
2024-05-05 18:56:09 +02:00
ndom91
99eb8128d3
fix(gha): dlx playwright to install deps
2024-05-05 18:54:07 +02:00
ndom91
2b365160b3
fix: pnpm-lock
2024-05-05 18:53:13 +02:00
ndom91
dd79d9ec5a
Merge branch 'ndom91/add-playwright-test' of github.com:ndom91/gitbutler into ndom91/add-playwright-test
2024-05-05 18:51:21 +02:00
ndom91
2adf5f50dd
fix: cleanup GHA
2024-05-05 18:51:14 +02:00
Nico Domino
a0d6deb4a7
Merge branch 'master' into ndom91/add-playwright-test
2024-05-05 18:48:08 +02:00
ndom91
440ac0145a
feat: add test to check changed files
2024-05-05 18:44:55 +02:00
ndom91
25fea8e35a
chore: cleanup unnecessary deps
2024-05-05 18:33:40 +02:00
ndom91
3d7f20d4a7
fix: cleanup testing overrides
2024-05-05 18:25:16 +02:00
ndom91
1c265e1bae
fix: define pnpm 8
2024-05-05 18:24:56 +02:00
ndom91
548c1ded37
fix: revert pnpm-lock changes
2024-05-05 18:24:48 +02:00
ndom91
0f9e5043a2
feat: more fixtures and mocks
2024-05-05 18:16:48 +02:00
ndom91
2a7a84e655
fix: cleanup repo
2024-05-05 18:16:39 +02:00