Commit Graph

7612 Commits

Author SHA1 Message Date
Pavel Laptev
8c2e029c4e
Button styles updated (#4098)
"commit", "default branch" and the "push" button
2024-06-17 13:50:30 +02:00
Pavel Laptev
e09810bfff
Added hotkey and the accelerator to the top menu (#4097) 2024-06-17 12:46:04 +02:00
Caleb Owens
4693fa1c21
Merge pull request #4096 from gitbutlerapp/Add-keybind-to-open-settings
Add kebind to open settings
2024-06-17 11:40:49 +02:00
Caleb Owens
58ea9879ba
Add a shortcut and menu item to access settings
Co-authored-by: Louis <h1ghbre4k3r@dev.bre4k3r.de>
2024-06-17 11:05:47 +02:00
Louis Meyer
fdb4fda191
Feature: Allow selection of always visible scrollbar (#4083)
* feat: Add checked parameter for RadioButton

* feat: allow selection of always visible scrollbar

* fix: fix linter errors

* fix: fix even more linting errors

* Refactor: some code rearrangement

---------

Co-authored-by: Pavel Laptev <pawellaptew@gmail.com>
2024-06-17 01:57:57 +02:00
Caleb Owens
2dfd04b91d
Use https for remotes when remote is using https 2024-06-16 17:11:36 +02:00
Pavel Laptev
c83dec6bca
Don't show "Filter" button when no branhes (#4093) 2024-06-16 15:19:32 +02:00
Kiril Videlov
81f683777e
Merge pull request #4091 from gitbutlerapp/workdir-tree-function
improve performance of workidir diff
2024-06-16 02:40:33 +02:00
Pavel Laptev
dafc6330aa
Merge pull request #4092 from gitbutlerapp/Tokens-update-1
Update tokens
2024-06-16 02:19:16 +02:00
Kiril Videlov
64729a9a17
improve performance of workidir diff 2024-06-16 01:54:23 +02:00
Pavel Laptev
30880d49e7
Handle loading and disable states for large projects (#4090)
* UI: Fix show spinner icon for the loading state

* UI: Disable actions while waiting for response

* UI: Button spinner updated
2024-06-16 01:26:55 +02:00
Pavel Laptev
9b527c49c0 Update tokens 2024-06-16 00:24:13 +02:00
Pavel Laptev
d5b8afc991
UI: Update "fold" navigation button (#4089) 2024-06-15 23:43:59 +02:00
Pavel Laptev
ff6e145476
UI tweaks (#4088)
* Tokens update

* History error style changed

* Button icons style update

* Filter button update

* rebase icon update

* Navigation "fold" button updated
2024-06-15 23:36:28 +02:00
Kiril Videlov
41c2ab5908
Merge pull request #4086 from gitbutlerapp/add-mempack-backend-reset-oops
feat: Add in-memory method to open temporary repository for comparing or getting diffs.
2024-06-15 21:49:15 +02:00
Kiril Videlov
4963ca7d9a
Merge pull request #4087 from gitbutlerapp/remove-conflict-resolution-code
refactor: Remove commented-out code for conflict handling in virtual branches.
2024-06-15 21:48:57 +02:00
Kiril Videlov
be975b7038
refactor: Remove commented-out code for conflict handling in virtual branches. 2024-06-15 21:36:56 +02:00
Kiril Videlov
b01f35bf26
feat: Add in-memory method to open temporary repository for comparing or getting diffs. 2024-06-15 21:21:11 +02:00
Pavel Laptev
6f5b08f391
Close the History view on Esc (#4079) 2024-06-13 15:10:08 +02:00
Pavel Laptev
a7579306b4
Color tokens updates (#4077)
* Color tokens update

* formatting

* styles upd: account link and commit card divider

* replace color mix CSS functions

* Button icon opacity update

* border color 2 update

* fix neutral and ghost text colors

* neutral tokens tweak

* color tokens tweak
2024-06-12 22:52:04 +02:00
Mattias Granlund
0399f983b5 Fix a couple of issues in commit lines
- local line was not using the `.first` class
- `localIn` prop must be undefined if first
- simplify and fix "out type" calculation
2024-06-12 00:56:22 +02:00
Mattias Granlund
650a463a16 Fix empty commit marked as integrated
- we can't say an empty commit is integrated based on tree ids
2024-06-11 23:38:51 +02:00
Mattias Granlund
18566eb3e4 Don't show option to discard changes in unapplied branch 2024-06-11 21:43:04 +02:00
Kiril Videlov
8c710398dd
Merge pull request #4073 from gitbutlerapp/perf-oplog
improve oplog snapshot creation performance
2024-06-11 21:02:20 +02:00
Kiril Videlov
a5f3649654
remove repeat tree creation when history is being listed 2024-06-11 20:05:13 +02:00
Kiril Videlov
119107c12b
getting the snapshot diff uses workdir from applied vbranches 2024-06-11 19:51:36 +02:00
Kiril Videlov
8e8a0ffce7
list snapshots uses workdir tree from applied vbranches 2024-06-11 19:09:45 +02:00
Mattias Granlund
7ae018c21e Fix: add some missing highlight props to select components 2024-06-11 18:26:11 +02:00
Kiril Videlov
f36be87f8a
add the ability to get workdir tree from merging all applied virtual branches from a snapshot 2024-06-11 17:07:04 +02:00
Mattias Granlund
bd33a2c831 Fix new branch dropzone active state css 2024-06-11 16:35:37 +02:00
Mattias Granlund
8e8ef037cb Bug fix for push button
- fixes case where button had label "undefined"
- "integrate upstream" instead of "rebase branch"
2024-06-11 16:24:21 +02:00
Kiril Videlov
c15125833d
performance: creating an oplog entry does not save a workdir tree
We are already storing the virtual branch trees separately, and merging them together can be a slow operation if the index is large.
2024-06-11 13:21:51 +02:00
Nico Domino
62c312ce96
fix: toggles on preferences form (#4063) 2024-06-11 11:32:36 +02:00
Mattias Granlund
10de79a0b0 Hide error div in toast when no error present
Slots cannot be conditionally filled, so we either need an if statement switching between two `<InfoMessage>` components, or pass error as a prop.
2024-06-10 23:32:47 +02:00
Mattias Granlund
f2da13ea83 Fix github auth
- no longer shows incorrect error message on success
2024-06-10 22:43:59 +02:00
Kiril Videlov
ea31b78f6a
Merge pull request #3992 from estib-vega/select-input-improvements
Select input improvements: Arrow navigation & text filtering
2024-06-10 18:00:54 +02:00
Caleb Owens
c2b4314082
Merge pull request #4057 from gitbutlerapp/update-contextmenu-selection-store-2
update-contextmenu-selection-store-2
2024-06-10 17:32:38 +02:00
Caleb Owens
6d07690508
Loop over methods 2024-06-10 17:31:06 +02:00
Caleb Owens
9e89c6a48b
Make em propper buttons 2024-06-10 17:14:01 +02:00
Mattias Granlund
d5e369ff59 Remove rxjs from context menu component 2024-06-10 16:20:51 +02:00
Caleb Owens
63036a80b2
Merge pull request #4054 from gitbutlerapp/diff-the-correct-way-round
Diff the correct way round
2024-06-10 15:32:47 +02:00
Caleb Owens
a4f548e411
Diff the correct way round 2024-06-10 15:20:28 +02:00
Caleb Owens
848fabdbe5
Merge pull request #4053 from gitbutlerapp/Remove-console-log
Remove console.log
2024-06-10 14:53:42 +02:00
Caleb Owens
67a8884d2a
Remove console.log 2024-06-10 14:51:58 +02:00
Kiril Videlov
316fe6e0a0
Merge pull request #4051 from gitbutlerapp/sort-hunks-by-start
apply hunks in one go for submodules too
2024-06-10 14:32:16 +02:00
Caleb Owens
586889973a
Merge pull request #4052 from gitbutlerapp/Fix-key-for-only-deletions
Fix key for only deletions
2024-06-10 13:42:27 +02:00
Caleb Owens
61ede7a55b
Show local commit shas 2024-06-10 13:41:00 +02:00
Caleb Owens
d9beea9c21
Fix keys for only deletions 2024-06-10 13:38:02 +02:00
Kiril Videlov
88e13bd89e
apply hunks in one go for submodules too 2024-06-10 11:23:36 +02:00
Nico Domino
0c481feb28
fix: refactor Modal rendering and clickOutside handling (#4035) 2024-06-10 11:11:59 +02:00