Commit Graph

801 Commits

Author SHA1 Message Date
Caleb Owens
4624dc1eb3 typihg nsi ihard 2024-11-05 16:45:54 +01:00
Pavel Laptev
de47b68e9b
New stack header (#5437)
* fix search icon in `Select`

* update "scroll into view" btn

* remove unused code

* stick header

* fix sticky top margin

* fix header z-index

* cut first series

* wiggle animation to the header added

* fix lane background on drag

* Delete OldStackHeader.svelte

* Update StackSeriesRow.svelte

* added `ControlSection` - the header top

* icons updated

* added StackMetaSection

* add branches selector

* animation fix

* Merge branch 'master' into new-stack-header

* fix wiggle animation

* stackheader menu added

* update collapsed lane

* Merge branch 'new-stack-header' of https://github.com/gitbutlerapp/gitbutler into new-stack-header

* Fix wrong imports

* Revert wrong change

* rename files

* fix renamed file import

* update get commit color with an existing function
2024-11-05 14:43:18 +00:00
ndom91
0eb38fec90 fix: LineSpacer export 2024-11-05 14:32:45 +01:00
ndom91
c6d90677b5 fix: BaseBranch page with header css 2024-11-05 14:32:45 +01:00
ndom91
6b2de4ef9c fix: LineSpacer and LineManager args 2024-11-05 14:32:45 +01:00
ndom91
bfd6981311 fix: remove old commitLines 2024-11-05 14:32:45 +01:00
ndom91
77712af539 fix: remove Stacking.. prefix from components 2024-11-05 14:32:45 +01:00
ndom91
afd13534da feat: remove unused CommitCard and related components 2024-11-05 14:32:45 +01:00
Kiril Videlov
0ebb6f6036 Expose stackBranches on VirtualBranchReference in the UI
To be used for rendering the updated design that shows the top-of-stack branch
2024-11-05 14:08:52 +01:00
Pavel Laptev
fdbf545179
Update StackingSeriesHeaderContextMenu.svelte (#5436) 2024-11-05 10:44:50 +01:00
ndom91
1bca738991 fix: BranchPreview.svelte
fix: BranchPreview.svelte move commitCard import
2024-11-05 10:36:12 +01:00
ndom91
d3df6a2776 feat: remove CommitCard usage from BranchPreview and BaseBranch view 2024-11-05 10:36:12 +01:00
Mattias Granlund
252ac974be Fix bug preventing file context menu to open
- was happening for selected items
2024-11-04 23:34:34 +01:00
Caleb Owens
645845720b Fix getting stuck in onboarding 2024-11-04 18:56:14 +01:00
Caleb Owens
596c60cbbc Fix select many casing 2024-11-04 18:12:27 +01:00
Caleb Owens
75cbc282a8 Use HTMLElementTagNameMap for createElement 2024-11-04 16:53:28 +01:00
Caleb Owens
2d4937a6b9 Remove unrequired onDestroy hook 2024-11-04 16:52:10 +01:00
Caleb Owens
4e735be872 Use once rather than manually removing event listener 2024-11-04 16:51:45 +01:00
Caleb Owens
6212b43d3d Remove seemingly unused event listner remover 2024-11-04 13:41:07 +01:00
Caleb Owens
34ac6a8db4 Move chips code about 2024-11-04 12:08:30 +01:00
Kiril Videlov
589bbb2392
Merge pull request #5421 from gitbutlerapp/refactor-virtual-branch-commit
Remove files from VirtualBranchCommit struct
2024-11-04 18:42:31 +01:00
Mattias Granlund
36c620414f Remove files from VirtualBranchCommit struct
- loaded separately in the client
2024-11-04 18:06:18 +01:00
Mikael Carpenter
b311bd841d refactor: bring back the pre and ensure it wraps 2024-11-04 17:52:49 +01:00
Mikael Carpenter
afca5c5b45 fix: move errorMessage to the content slot
Text wasn't wrapping, but this looks a little more idiomatic for this codebase given how the InfoMessage component is used
2024-11-04 17:52:49 +01:00
Mattias Granlund
b269bbf08f Fix performance problem with file drag & drop
- fixes manual use of a svelte action
- pass store to DraggableFile instead of updating selection list
- refactor file selection
2024-11-04 11:46:32 +01:00
Kiril Videlov
555a5a27e4 Remove old reorder commit in UI 2024-11-01 20:26:45 +01:00
Esteban Vega
756b430279
Merge pull request #5403 from gitbutlerapp/e-branch-43
fix: PR modal: Disable the generate button if so configured
2024-11-01 17:47:17 +01:00
estib
387f5a85bd fix: PR modal: Disable the generate button if so configured
If the AI generation is disabled in the project settings, disable the button in the  'generate message' button in the PR Modal as well
2024-11-01 17:42:03 +01:00
Pavel Laptev
09ad1f3951
fix context menus (#5400) 2024-11-01 16:11:13 +00:00
ndom91
98b3e7efc9 fix: remove unused functionality from BranchLaneContextMenu 2024-11-01 15:16:48 +01:00
ndom91
dff3071b83 feat: remove non-stacking feature flag branches in markup 2024-11-01 15:16:48 +01:00
ndom91
e005e3fe20 feat: remove stacking feature flag 2024-11-01 15:16:48 +01:00
ndom91
9bff466a21 fix: move stackingReorderDropzoneManager getContext back to StackSeries.svelte 2024-11-01 14:48:00 +01:00
ndom91
6628b07eb9 fix: maintain event listeners and always unregister before reregistering 2024-11-01 14:48:00 +01:00
ndom91
11b1f76143 fix: allow initial reordering between series
fix: reordering between series
fix: add early return opportunities to accepts and onDrop
fix: refactor getStackOrder
fix: avoid reregistering listeners in stacking reorder line
2024-11-01 14:48:00 +01:00
ndom91
632dc2367a fix: add seriesName to DraggableCommit args 2024-11-01 14:48:00 +01:00
ndom91
48d6f4c2ce feat: create additional stacking reorder context 2024-11-01 14:48:00 +01:00
ndom91
f0a319b636 feat: add stacking methods and interfaces 2024-11-01 14:48:00 +01:00
estib
e9f2b97f83 ai: Stream the Butler AI messages
Users that hava AI enabled through their GitButler cloud account will get streamed responses.

Also:
- Commit generation is stremed into the message input
2024-11-01 13:57:35 +01:00
Mattias Granlund
6e2fa72cdc Fix reactivity in pr template selection
- revert to template when input empty on change rather than keystroke
- use empty string for state variables since it the input default
2024-11-01 01:28:38 +01:00
Mattias Granlund
f2878d8915 Refactor pr templates to use front end persisted store 2024-11-01 00:18:56 +01:00
Mattias Granlund
e7e8ffdec2 Add button for re-opening PR if closed 2024-10-31 18:32:50 +01:00
Mattias Granlund
23541b1c59 Store forgeId after creating a new pull request 2024-10-31 18:32:50 +01:00
Pavel Laptev
359d8d5b51
Improve textarea and fix bugs (#5380)
* Delete Textarea-old.svelte

* Update PrDetailsModal.svelte

* update height calculation method

* remove `console.log`

* Delete autoHeight.ts

* Update CommitCard.svelte

* code review fixes

* improve textarea size detection

* Update CommitMessageInput.svelte

* simplify styles

* Update CommitMessageInput.svelte
2024-10-31 13:08:04 +00:00
Mattias Granlund
973be98101 Remove outdated option for sharing project data
- the specific project data dir is no longer even created
2024-10-31 11:13:32 +01:00
Pavel Laptev
000a9fa248 revert textarea element 2024-10-31 10:30:24 +01:00
Pavel Laptev
56aaccd3eb text-area-fixes 2024-10-31 10:30:24 +01:00
ndom91
6e54b2389b fix: branchController jsdoc 2024-10-31 10:30:24 +01:00
Nico Domino
b4bdbdcfb6 fix: StackingSeriesHeader merge conflicts
Discard changes to apps/desktop/src/lib/branch/BranchLabel.svelte
2024-10-31 10:30:24 +01:00
ndom91
3884c96ddf feat: double input handling and blur clear 2024-10-31 10:30:24 +01:00