Nikita Galaiko
da76e26d7f
flush/restore branches
2023-06-15 14:38:07 +02:00
Nikita Galaiko
4a18b2200e
vbranches: move deltas distribution to handler
2023-06-15 09:14:52 +02:00
Kiril Videlov
97865a007c
one more PR
2023-06-15 08:50:18 +02:00
Kiril Videlov
0979ee781d
try summarizing hunks
2023-06-15 08:50:18 +02:00
Kiril Videlov
d48b67bc05
seed some more pr test data
2023-06-15 00:34:13 +02:00
Kiril Videlov
a0a9846279
drag and drop layout update
2023-06-15 00:34:13 +02:00
Mattias Granlund
219f1af61c
Update dnd package to fix shadowing
2023-06-14 22:52:28 +01:00
Ian Donahue
2cb8eda7df
Merge pull request #441 from gitbutlerapp/ian/small-visual-tweak
...
Ian/small visual tweak
2023-06-14 19:33:53 +02:00
idonahue
0a523d7fc7
pnpm format
2023-06-14 19:18:16 +02:00
idonahue
b826efb63e
Made the grouping colors better and closer to design
2023-06-14 19:16:22 +02:00
idonahue
72b4050f42
pnpm format
2023-06-14 18:33:28 +02:00
idonahue
9d8e10834b
Small visual tweeks to look more like designs
2023-06-14 18:32:48 +02:00
Kiril Videlov
61a83f2386
zinc card
2023-06-14 17:05:09 +02:00
Mattias Granlund
7e7bb8aef4
Update tray on finalize event from board
2023-06-14 15:56:32 +01:00
Kiril Videlov
8e57ff7f47
visualize board elements a bit more clearly
2023-06-14 16:21:41 +02:00
Mattias Granlund
5e1a34b3cb
Remove kind from DndItems
2023-06-14 14:33:10 +01:00
Kiril Videlov
0b394857ec
remove commit group from the data hierarchy - its not needed
2023-06-14 14:51:32 +02:00
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