Commit Graph

7910 Commits

Author SHA1 Message Date
Nico Domino
6f403b9325
Merge branch 'master' into ndom91/create-gitbutler-ui-package 2024-07-01 10:28:55 +02:00
Mattias Granlund
d4c0b97f7d Use pr source branch as title in branch list 2024-06-30 19:56:44 +03:00
Mattias Granlund
8851780851 Fix bug related to switching from integration branch
- value of projects store should never be undefined
2024-06-30 19:53:19 +03:00
Pavel Laptev
d9f314f49b
Do not allow pxToRem function get undifined (#4206)
* Do not allow `pxToRem` function get `undifined`

* `TextBox` width fix
2024-06-29 15:26:44 +02:00
Mattias Granlund
7f929837f9 Show remote branch using name instead of sha
- multiple branches can have the same sha
2024-06-28 17:58:42 +03:00
Mattias Granlund
7073308c9a Drop unused symbols
- been meaing to remove these for a while
2024-06-28 15:41:03 +03:00
ndom91
5b9991b93c
fix: types in ui package 2024-06-28 13:39:06 +02:00
Mattias Granlund
9912e2df40 chore: update incorrect variable names in BranchFooter 2024-06-28 14:38:10 +03:00
ndom91
3dfcc5a1a9
fix: playwright/test GHA 2024-06-28 13:30:52 +02:00
Mattias Granlund
0082099f8c Fix bug in PushButton component
- show selected action rather than preferred action
2024-06-28 14:23:21 +03:00
ndom91
e96987307c
fix: add GHA init-env-node prep for @gitbutler/ui consumption 2024-06-28 13:05:06 +02:00
ndom91
007f3516fe
fix: commitlines type import 2024-06-28 12:55:26 +02:00
ndom91
836b86a753
Merge branch 'master' into ndom91/create-gitbutler-ui-package 2024-06-28 12:50:44 +02:00
ndom91
d5e73ed8df
fix: update gitignore and vscode settings.json 2024-06-28 12:45:26 +02:00
ndom91
e8c36f10db
fix: cleanup ui vite config 2024-06-28 12:41:18 +02:00
ndom91
7bfadc5adb
fix: update eslint ignores 2024-06-28 12:16:04 +02:00
Mattias Granlund
fd3e846989 Fail gracefully if remote branch not found 2024-06-28 12:57:43 +03:00
ndom91
7e8ebdab76
fix: move globals dep to root 2024-06-28 11:57:16 +02:00
Kiril Videlov
720e50d5a5
Merge pull request #4200 from gitbutlerapp/refactor-move-error-marker
move error marker out of virtual_branches mod
2024-06-28 11:48:42 +02:00
ndom91
628fdd1459
fix: rename eslint/prettier configs to mjs in root 2024-06-28 11:42:22 +02:00
ndom91
e84946d9b5
fix: move eslint/prettier config to root 2024-06-28 11:40:36 +02:00
Mattias Granlund
8f052c04b7 Fix commit dialog backspace bug
- place curstor at end of commit title when backspacing from empty description
2024-06-28 12:39:07 +03:00
Kiril Videlov
b72f9c2199
move error marker out of virtual_branches mod
It's useful outside of it
2024-06-28 11:35:44 +02:00
ndom91
25068de8bb
fix: move eslint/prettier to root only 2024-06-28 11:34:54 +02:00
ndom91
d8a7f2bbdc
fix: cleanup build npm scripts 2024-06-28 11:34:44 +02:00
Mattias Granlund
f67744eea1 Fix for incorrect GitHub error when working in non-GitHub repos 2024-06-28 12:32:33 +03:00
Kiril Videlov
b623952fdd
Merge pull request #4198 from gitbutlerapp/remove-print-tree-function
refactor: Remove unused _print_tree function.
2024-06-28 11:21:26 +02:00
Kiril Videlov
1137111430
Merge pull request #4197 from gitbutlerapp/refactor-rebasing-functions
refactor: move rebase functions out of virtual_branches module
2024-06-28 11:17:10 +02:00
Kiril Videlov
8ed324580c
refactor: Remove unused _print_tree function. 2024-06-28 11:10:27 +02:00
Kiril Videlov
251d56677d
refactor: move rebase functions out of virtual_branches module
This opens the doors for further simplifying the core
2024-06-28 11:04:15 +02:00
Kiril Videlov
f16afa6e4e
Merge pull request #4194 from gitbutlerapp/login-robustness
more robust login handling by deleting corrupt user.json file
2024-06-27 23:17:56 +02:00
Caleb Owens
dd0b4eccf1
Improve ai error handling (#4180)
* Introduce a result type

* Update AI error handling to use the result type

* Handle ollama json parse error

* Migrate using Error as the type that represents errors

* Remove now useless condition

* asdfasdf

* Use andThen

* Correct unit tests
2024-06-27 20:50:44 +01:00
Pavel Laptev
518cc8b77e
Fix overflow issue for the Generate msg dropdown (#4195) 2024-06-27 16:48:57 +02:00
ndom91
7b073c536b
fix: prettier 2024-06-27 16:45:47 +02:00
ndom91
bd55e22df3
fix: export map config 2024-06-27 16:42:22 +02:00
ndom91
7e75780b1a
fix: commitList path 2024-06-27 16:37:54 +02:00
ndom91
89a12044c3
fix: rename ui CommitLines dir 2024-06-27 16:23:00 +02:00
Sebastian Thiel
adc50a7e7f
more robust login handling by deleting corrupt user.json file
If a user.json file cannot be loaded, delete it automatically
to avoid users to get stuck in 'something went wrong' during layout.

Older versions of GB wouldn't find the access-token in the user.json file
anymore, which would be completely removed via #4165
2024-06-27 15:10:48 +02:00
ndom91
f3e79e85c8
fix: add storybook eslint-config 2024-06-27 14:27:45 +02:00
ndom91
6bd3dcfcb2
feat: add pr-labeler entry for ui 2024-06-27 14:27:35 +02:00
ndom91
a93cd3ceb7
fix: cleanup dependencnies in app and ui 2024-06-27 14:26:56 +02:00
ndom91
0214fab13f
fix: rm commitLines from app 2024-06-27 14:26:41 +02:00
ndom91
2eeb93b81f
feat: add consumption of @gitbutler/ui pkg 2024-06-27 11:39:48 +02:00
Pavel Laptev
900316ad7a
Fix: Base icon CSS (#4193)
- Fix top margin for unfolded base row
- Fix CSS variables (added new, remove ununsed)
2024-06-27 00:40:33 +02:00
ndom91
772f235f07
fix: mv ui package to packages/ 2024-06-26 18:03:55 +02:00
ndom91
091b45d5e9
feat: create separate component library subpackage 2024-06-26 18:01:09 +02:00
Kiril Videlov
41b1b93bf0
Merge pull request #4190 from gitbutlerapp/remove-unused-rsqlite-dep
refactor: Remove rusqlite dependency and related code.
2024-06-26 16:33:52 +02:00
Kiril Videlov
b886ff84f1
refactor: Remove rusqlite dependency and related code. 2024-06-26 16:21:24 +02:00
Pavel Laptev
b4509efa44
Allow rebasing toogle menu position updated (#4189) 2024-06-26 15:48:01 +02:00
Kiril Videlov
6da1b444ba
Merge pull request #4188 from gitbutlerapp/Add-an-allow-rebasing-toggle-on-per-branch-basis
Add an 'allow rebasing' toggle on per-branch basis
2024-06-26 14:20:55 +02:00