Mattias Granlund
d0c2707cae
Simplify drag & drop
...
- use classes for hunks, files, etc
- add class-transformer dependency
- simplify helper functions for readable code
2023-06-14 12:50:31 +01:00
Kiril Videlov
45be9746a4
remove some unused imports
2023-06-14 12:12:43 +02:00
Kiril Videlov
d9ee6be483
dynamic module loading so that app can be built
2023-06-14 12:12:43 +02:00
Kiril Videlov
4bc99dc300
fix overflow issues
2023-06-14 12:12:43 +02:00
Kiril Videlov
46def32aaf
more diverse test data
2023-06-14 12:12:43 +02:00
Kiril Videlov
f914428cc8
use testdata from file
2023-06-14 12:12:43 +02:00
Kiril Videlov
8ec1370043
setup access to branch testdata resource json file
2023-06-14 12:12:43 +02:00
Kiril Videlov
7dd19088d9
branch test data from 2 PRs
2023-06-14 12:12:43 +02:00
Kiril Videlov
f7fa47675b
script for generating branch test data
2023-06-14 12:12:43 +02:00
Kiril Videlov
2ed70e2596
remove tray animations for now
2023-06-14 09:33:08 +02:00
Mattias Granlund
48e3143c79
Make drag & drop code a bit more dry
2023-06-13 16:44:06 +01:00
Mattias Granlund
d4e4f9749a
Fix some drag & drop issues before demo
2023-06-13 16:31:25 +01:00
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