Commit Graph

1445 Commits

Author SHA1 Message Date
Mattias Granlund
707707ba52 Improve nested drag & drop functionality
- wait until dropped before removing wrapped containers
- propagate empty events up the compenents tree
2023-06-13 10:42:41 +01:00
Mattias Granlund
baa0bc8978 Renaming kind lane to branch 2023-06-13 10:42:41 +01:00
Kiril Videlov
fd1e4be962 make an animation for the tray branch groupings of active/inactive vbranches 2023-06-13 11:39:18 +02:00
Mattias Granlund
dae7480491 Add CommitGroup component to board hierarchy 2023-06-12 17:50:05 +01:00
Mattias Granlund
5f5b22157b
Merge pull request #422 from gitbutlerapp/mbg-renaming-things
Rename a couple of components and types
2023-06-12 17:14:19 +01:00
Mattias Granlund
d4ef09431a Rename a couple of components and types
When a type and a component name collide we've decided to alter the
component name, typically by concatenating the type name and a noun
for the intended visualisation. For example, Branch -> BranchLane.
2023-06-12 17:20:59 +02:00
Mattias Granlund
dbcb391252 Update drag & drop to match forked library
- svelte-dnd-action now installed from gitbutlerapp fork
- dnd zones can have multiple types and require receivable types
- dropped items that do not match zone have to be wrapped in handlers
2023-06-12 15:41:50 +02:00
idonahue
d21d7e4909 pnpm format 2023-06-09 17:18:24 +02:00
idonahue
49a9974c62 Branch sidebar is stuck to side of the window 2023-06-09 17:18:24 +02:00
Nikita Galaiko
8198de686a tests and fixes for virtual branch writer 2023-06-08 13:54:45 +02:00
Nikita Galaiko
d72e1967ee do not try to read current as a branch 2023-06-08 13:54:45 +02:00
Nikita Galaiko
6d66b4b93d Reader::is_dir 2023-06-08 13:54:45 +02:00
Nikita Galaiko
c3a3834443 use Project::try_from(git2::Repository) 2023-06-08 13:54:45 +02:00
Nikita Galaiko
37fb566f89 rust kung fu for readers 2023-06-08 13:54:45 +02:00
Nikita Galaiko
97ecc9eb96 deltas writer writes virtual branches also 2023-06-08 13:54:45 +02:00
Nikita Galaiko
ac9d06deb0 functions to split deltas into virtual branches 2023-06-08 13:54:45 +02:00
Kiril Videlov
910cf05dd9 refactor board: move test data to load function 2023-06-08 11:50:34 +02:00
Kiril Videlov
7eedcafca2 dropping hunks puts newest first 2023-06-08 11:31:35 +02:00
Kiril Videlov
a739e29bf7 add timestamp to card 2023-06-08 11:31:35 +02:00
Kiril Videlov
d4c21e8f12 animation for card height changes 2023-06-08 01:07:43 +02:00
Nikita Galaiko
695ef1a00e bump git2 2023-06-07 14:27:12 +02:00
Nikita Galaiko
c186dea4af watcher handler run async 2023-06-07 13:58:49 +02:00
Kiril Videlov
a53c0ebd33 fix the broken stuff 2023-06-07 13:14:29 +02:00
Kiril Videlov
f1652d6b23 create file card with hunks 2023-06-07 13:14:29 +02:00
Kiril Videlov
69da435fd1 add files to type hiearachy 2023-06-07 13:14:29 +02:00
Nikita Galaiko
ad675c7292 vb: writer, reader for selected branch 2023-06-07 12:46:54 +02:00
Nikita Galaiko
891ca38c30 vb: separate target reader 2023-06-07 12:46:54 +02:00
Mattias Granlund
23206c338f
Merge pull request #411 from gitbutlerapp/mattias/dnd-tray
Add a left side tray to virtual branch experiment
2023-06-07 10:09:39 +01:00
Mattias Granlund
f6f6fd06fe Add a left side tray to virtual branch experiment 2023-06-07 10:05:33 +01:00
Kiril Videlov
74329a718c Revert "new data structure"
This reverts commit 268c8ba167.
2023-06-06 15:12:50 +02:00
Kiril Videlov
eb12543e49 Revert "flatten this shit"
This reverts commit 62543e7688.
2023-06-06 15:12:50 +02:00
Kiril Videlov
c720c4f85c flatten this shit 2023-06-06 15:12:50 +02:00
Kiril Videlov
9bee0be552 new data structure 2023-06-06 15:12:50 +02:00
Kiril Videlov
04160a6404 animate card 2023-06-06 15:12:50 +02:00
Kiril Videlov
b81f721dc4 Revert "updates to data structure"
This reverts commit 533cda6625.
2023-06-06 15:12:50 +02:00
Kiril Videlov
38fbb3793a updates to data structure 2023-06-06 15:12:50 +02:00
Kiril Videlov
ac2be8fa57 no-prerender 2023-06-06 15:12:50 +02:00
Kiril Videlov
02e81b71dd first stab at virtual branch UI 2023-06-06 15:12:50 +02:00
Ian Donahue
b52ad2d55f
Merge pull request #409 from gitbutlerapp/ian/cursor-for-select-text-from-diff
Ian/cursor for select text from diff
2023-06-06 14:42:00 +02:00
idonahue
e12a4dfc0e pnpm format 2023-06-05 17:28:58 +02:00
idonahue
3015fc8296 Clearer that a user can select text from diff viewer 2023-06-05 17:28:26 +02:00
Nikita Galaiko
6ee2a8c087 init bookmarks reader/writer/iterator 2023-06-05 16:15:43 +02:00
Nikita Galaiko
83be7af9f4 align session writer signature 2023-06-05 10:43:56 +02:00
Nikita Galaiko
7958ea38fa extract bookmark writer 2023-06-05 10:43:56 +02:00
Nikita Galaiko
6167ee0a31 extract pty writer 2023-06-05 10:43:56 +02:00
Nikita Galaiko
de30d69128 extract deltas writer 2023-06-05 10:43:56 +02:00
Nikita Galaiko
ede366f13e gh actions: override rust 2023-06-02 14:31:35 +02:00
Nikita Galaiko
0c7c444bb5 improve reindex detection for bookmarks 2023-06-02 14:31:35 +02:00
Nikita Galaiko
89cfe4bc9d watcher/handler: log events 2023-06-02 14:31:35 +02:00
Nikita Galaiko
2f61c409eb make a separate reindex event 2023-06-02 14:31:35 +02:00