Commit Graph

1754 Commits

Author SHA1 Message Date
Mattias Granlund
2b19031a36 Replace svelte-dnd-action with native drag & drop
This commit is a bit of a relief, we now have less than 1/10th the
amount of code powering drag & drop.

Future work includes:
- extracting commonalities into a Svelte action
- applying css to new drop zone without using sibling selector
- styling
2023-07-07 15:58:12 +03:00
Scott Chacon
983d58061a
also apply a remote branch when we create a vbranch from it (#649) 2023-07-07 13:54:53 +02:00
Scott Chacon
d9632cea61
add modifiedAt to virtual branch file (#648) 2023-07-07 12:49:43 +02:00
Nikita Galaiko
0cc1b7ce79 in case of duplicates, prefer remote branches 2023-07-07 12:42:20 +02:00
Scott Chacon
360c7db73a
Fix behind branch vbranch creation (#616)
* clear command
* merge behind branches to upstream target before vbranch creation
2023-07-07 12:02:48 +02:00
Mattias Granlund
d0665739c2 Lint only changed files in CI
We can use `git diff --names-only` to get a list of files changed
between two revisions. The purpose is to stop lint errors from
untouched files showing up in code review.
2023-07-07 11:46:14 +02:00
Nikita Galaiko
32fcc9ea43 specify order on create request 2023-07-07 11:08:17 +02:00
idonahue
57f5f7dee0 pnpm 2023-07-06 16:23:03 +02:00
idonahue
3fee74d15e decreased roundness 2023-07-06 16:23:03 +02:00
Ian Donahue
1f0fc96d28 gitbutler joint commit 2023-07-06 16:23:03 +02:00
Mattias Granlund
ef95cefe04 Change all buttons to purple 2023-07-06 17:16:29 +03:00
Nikita Galaiko
46d8c203ea try assuming target branch 2023-07-06 15:49:03 +02:00
Nikita Galaiko
dd94583186 propagate error message for unsupported push credentials 2023-07-06 10:11:59 +02:00
Mattias Granlund
16fef7d3af Fix broken button UI 2023-07-05 20:34:22 +03:00
Mattias Granlund
031cc2bf70 Update the account/settings page 2023-07-05 20:34:22 +03:00
Mattias Granlund
91c42fc4d4 Moving to singular from users -> user 2023-07-05 20:34:22 +03:00
Ian Donahue
8dd8cb21c1 updated switch color on user settings page 2023-07-05 18:57:02 +02:00
GitButler
a1ba929fd1 2023-07-05 17:43:48 +02:00
GitButler
1a8a61c6f1 2023-07-05 17:33:00 +02:00
GitButler
4e94679552 Improved input layout in swimlanes 2023-07-05 17:14:51 +02:00
Nikita Galaiko
75bafd01a8 fix creating branch by moving hunks 2023-07-05 16:15:21 +02:00
Nikita Galaiko
84ea0e1e17 disallow pushing to user/pass remotes 2023-07-05 16:10:19 +02:00
Mattias Granlund
ec8ab70613 Style no projects view for alpha 2023-07-05 16:22:32 +03:00
Nikita Galaiko
d89784a7e1 move repository lock from session writer to a higher level 2023-07-05 14:15:32 +02:00
Nikita Galaiko
6e71c75e83 fix commit message reference 2023-07-05 12:29:40 +02:00
Nikita Galaiko
c78ab6bc4a lock get_current_session 2023-07-05 12:20:09 +02:00
Nikita Galaiko
d82781631e remove println 2023-07-05 12:20:09 +02:00
Nikita Galaiko
ed9247f74c handle errors 2023-07-05 12:20:09 +02:00
Nikita Galaiko
e89bd9bdf6 share storage lock to ensure consistancy 2023-07-05 11:00:49 +02:00
Nikita Galaiko
968c1e2840 fix new hunk ids 2023-07-05 10:10:02 +02:00
Kiril Videlov
79e469f039 update everything on first target set 2023-07-05 09:58:41 +02:00
Mattias Granlund
704dd9efde Revert to textarea for commit message
Also moves the expand collapse toggle into the menu for a cleaner ui.

- expand/collapse toggle under menu
- use rows attribute for textarea height
- from 2-10 rows
2023-07-05 10:27:27 +03:00
Nikita Galaiko
6563f9c9bf fetch --prune 2023-07-05 08:41:06 +02:00
Mattias Granlund
d9316c858d Update modal style to match design 2023-07-04 20:29:30 +03:00
Kiril Videlov
6728dc7d6a on login/out navigate to the corresponding page 2023-07-04 16:44:35 +02:00
Kiril Videlov
0bd0b3628a fix open path allowlist 2023-07-04 16:44:35 +02:00
Kiril Videlov
5e9b9186c3 split login page from user settings 2023-07-04 16:44:35 +02:00
Kiril Videlov
e1adc0bcd5 remove reference of the users page from shortkeys 2023-07-04 16:44:35 +02:00
Ian Donahue
bd7c804e96
Merge pull request #621 from gitbutlerapp/removed-mono-font-from-commit-message
Commit message font changed back to original serif font
2023-07-04 12:54:14 +02:00
idonahue
e6566af618 Commit message font changed back to original serif font 2023-07-04 12:49:24 +02:00
Nikita Galaiko
bef0e44aa2 delete fully merged branches 2023-07-04 12:37:00 +02:00
Nikita Galaiko
ecc09083d4 fix build 2023-07-04 12:27:44 +02:00
Kiril Videlov
e4b6aa7d3c get remote branches only from the store 2023-07-04 11:27:42 +02:00
Nikita Galaiko
f52dd118b2 move vbranches ipc calls to lib 2023-07-04 11:01:30 +02:00
Kiril Videlov
f05bae977d use target store 2023-07-04 10:56:17 +02:00
Kiril Videlov
64bd4d7c86 reactive store for target data 2023-07-04 10:56:17 +02:00
Nikita Galaiko
f7bedf572a fix deltas subscription 2023-07-04 10:22:32 +02:00
Nikita Galaiko
ee35a3f46a fix moving hunks 2023-07-04 10:22:32 +02:00
Nikita Galaiko
06b760d998 add emit event for the watcher 2023-07-04 09:32:21 +02:00
Nikita Galaiko
6473751a60 exponential backoff for failed fetches 2023-07-04 08:52:18 +02:00