Caleb Owens
47a4fc03c7
Update testing framework
2024-09-29 20:23:23 +02:00
Kiril Videlov
f6ec80d8ce
Adds a trait Stack
with an implementation for Branch
...
This provides a well defined interface for interacting with Stacks. It is implemented for gitbutler_branch::Branch, and it is specifically meant to operate on and update the `heads` field of Branch
This facilitates creating, updating, removing, pushing and listing of "stacked branches" within the Stack (formerly the virtual branch).
2024-09-29 19:26:39 +02:00
Caleb Owens
be1fc2cf7e
Checkout trees after reordering (and make generic function for it)
2024-09-28 18:46:41 +02:00
Caleb Owens
947a9c7ff1
Fix branch.tree properties getting set to conflicted trees.
2024-09-28 18:45:11 +02:00
Caleb Owens
7f348d8a6d
Add tests for reordering commits
2024-09-28 17:50:32 +02:00
Nico Domino
216fca1cec
fix: simplify crates/package.json setup ( #4986 )
2024-09-28 15:29:48 +00:00
Nico Domino
d10bbcf515
feat: new stacking ui commit lines ( #4972 )
...
Co-authored-by: Pavel Laptev <pawellaptew@gmail.com>
2024-09-28 16:59:29 +02:00
estib
924706092b
ai: Enable streaming
...
Ability to stream the LLM responses into the UI.
2024-09-28 13:17:37 +02:00
estib
0f05b435ba
Result: Add async transformer
2024-09-28 13:15:44 +02:00
estib
76dd98b982
Add Anthropic SDK
2024-09-28 13:13:43 +02:00
Kiril Videlov
a2aafd919b
Introduce PatchReference and a heads field on Branch
...
- The PatchReference type represents a "reference" that is entirely managed by GitButler. It can either point to a commit or a GitButler change (which itself points to a commit)
- The Branch type (as persisted in virtual_branches.toml) now has a `heads` fields with a list of PatchReferences. This list is not to be meant to be manipulated directly, but with the `Stack` trait
2024-09-28 12:34:29 +02:00
Nico Domino
8b84f46df1
fix: add crates to pnpm-workspace to avoid Vercel CI ( #4855 )
2024-09-28 12:19:25 +02:00
Esteban Vega
4b9421a851
Merge pull request #4985 from gitbutlerapp/fix-base-branch-blank-page
2024-09-28 11:15:28 +02:00
estib
0f6a78e1b6
fix: Test for integrateUpstreamModal being undefined
...
Don't try to read a property from the integration modal if it's undefined
2024-09-28 11:00:33 +02:00
Sebastian Thiel
adf43a59dc
Merge pull request #4984 from navtoj/Branch-Search-Hidden-Input
...
fix: Branch Search Hidden Input
2024-09-27 15:41:05 +02:00
Navtoj Chahal
26b99e217e
Disable Hidden Input Interaction
2024-09-26 19:39:02 -07:00
estib
3424f7781b
ai: Add PR description method
...
Add a method to the AI service that takes in some context about a PR and creates a description body out of it
2024-09-26 15:25:41 +02:00
Caleb Owens
01584fcfa9
Merge pull request #4981 from gitbutlerapp/rebase-tests
...
Add helper function for matching trees, and start testing rebasing.
2024-09-26 15:25:40 +02:00
Caleb Owens
31242dbe2b
Add helper function for matching trees, and start testing rebasing.
...
Basic rebasing tests
2024-09-26 14:42:14 +02:00
estib
f442195769
Create PR preview: Edit the PR contents
...
Add the ability to edit the text contents of a PR before creating it.
Also, integrate the variants into one component
2024-09-26 13:33:21 +02:00
estib
215af9fc79
Hotkeys: Ctrl or Cmd + Enter
...
Add an utility to easily create the callback binding to an enter + ctrl or cmd in a component
2024-09-30 10:04:58 +02:00
Caleb Owens
201aa55f12
Merge pull request #4980 from gitbutlerapp/Merging-commits
...
Fix merge commit unconflicted state
2024-09-26 13:24:16 +02:00
estib
29b37f5cab
Create PR preview
...
When creating a PR, display a preview of the title and body to confirm with the user
2024-09-26 10:19:47 +02:00
Caleb Owens
8402b78e64
Merge pull request #4802 from JReinhold/storybook-8-3
...
UI: Upgrade to Storybook `8.3.0-beta.0`, add Vitest to UI package
2024-09-26 00:49:27 +02:00
Caleb Owens
dfb8eef044
Align changes with formatting; install browser deps
2024-09-26 00:36:46 +02:00
Caleb Owens
a0ed2bb3c8
Add playwright install as a test prerequisite
2024-09-26 00:27:47 +02:00
Caleb Owens
3c4cda739f
Update imports in relation to the 8.3 release
2024-09-26 00:24:21 +02:00
Caleb Owens
46fa53a878
Fix merge commit unconflicted state
...
more tests
2024-09-25 23:37:37 +02:00
estib
108533777e
PullRequestCard: 'View details' button
...
Add a button to the PR card that shows a Modal with the PR details
2024-09-25 17:19:04 +02:00
Caleb Owens
50086f0d84
Merge pull request #4973 from gitbutlerapp/Testing-rebase
...
Add tests for resolving indexes
2024-09-25 15:25:58 +02:00
Caleb Owens
9cbebba5cf
Fix testcase for merge_vbranch_upstream_clean_rebase
2024-09-25 15:15:29 +02:00
estib
9834627a20
Base: Propagate the conflicting status to the commits
2024-09-25 14:34:10 +02:00
estib
1368d87ed0
Base branch divergence resolution
...
Allow the user to choose how to resolve the base-branch divergence
2024-09-25 14:05:04 +02:00
Caleb Owens
b76baaf106
Merge
2024-09-25 13:06:06 +02:00
Caleb Owens
a0359486ad
Remove unrequired utils package
...
* Ref https://github.com/storybookjs/storybook/pull/29008
2024-09-25 00:17:59 +02:00
Caleb Owens
2793bc4f13
Bump to release versions
2024-09-25 00:17:45 +02:00
Jeppe Reinhold
f27050018a
Upgrade to Storybook 8.3.0-beta.0, introduce VItest testing to UI package
2024-09-25 00:09:06 +02:00
Esteban Vega
598d60fbed
Merge pull request #4971 from gitbutlerapp/make-select-generic
2024-09-24 20:06:00 +02:00
Caleb Owens
8a84753e92
Merge branch 'master' into Testing-rebase
2024-09-24 20:00:38 +02:00
Caleb Owens
f74f2dcf26
More tests!
2024-09-24 19:52:21 +02:00
Kiril Videlov
86460fb675
Merge pull request #4964 from Byron/commit-with-headers
...
`gitoxide` for commit with headers
2024-09-24 18:47:29 +02:00
estib
2091025227
Resolve upstream integration
...
Add a method to determine which should be the new base branch target commit ID based on what resolution approach is selected
2024-09-24 17:16:26 +02:00
Caleb Owens
bbbf81c4c1
Start to introduce index resolution tests
2024-09-24 17:01:38 +02:00
Caleb Owens
9802afe8bf
Merge pull request #4968 from gitbutlerapp/Refactor-rebase.rs
...
Refactor some of rebase.rs
2024-09-24 17:00:10 +02:00
Esteban Vega
60c33f135e
Merge pull request #4970 from gitbutlerapp/clean-up-update-base-button
...
clean-up: Remove unnecessary function declaration
2024-09-24 16:55:12 +02:00
Nico Domino
a7325e4d2d
fix: log and show toast ( #4965 )
2024-09-24 16:03:02 +02:00
Sebastian Thiel
0e63323456
remove commit-buffer as it's not needed anymore for dealing with headers.
2024-09-24 15:57:58 +02:00
Sebastian Thiel
fe7d5d92e7
add crate to keep gitoxide conversions to prevent duplication
2024-09-24 15:54:07 +02:00
estib
0f7b9f4d9c
Make the Select component generic
...
Auto-detect the type of the value the select options can have
2024-09-24 15:43:46 +02:00
estib
e4cd357b8a
BaseBranch: Handle the button actions correctly
...
Depending on which action the user chooses, and whether they've set certain flags, act accordingly
2024-09-24 15:18:47 +02:00