Commit Graph

548 Commits

Author SHA1 Message Date
Nico Domino
db7681f14f
feat: update svelte@5.0.0-next.* + @sveltejs/kit@2.5.10 (#4056) 2024-06-17 16:27:51 +02:00
Pavel Laptev
240d5a6836
CSS animation updates (#4100)
* Remove the PC idol animation

* default branch animation update
2024-06-17 14:50:29 +02:00
Caleb Owens
d8f234dcee
Merge pull request #4094 from gitbutlerapp/Fix-apply-from-fork-for-https-origins
Use https for remotes when remote is using https
2024-06-17 14:23:20 +02:00
Pavel Laptev
0dfb591ac4
Revert "Added hotkey and the accelerator to the top menu (#4097)" (#4099)
This reverts commit e09810bfff.
2024-06-17 14:20:38 +02:00
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
Pavel Laptev
9b527c49c0 Update tokens 2024-06-16 00:24:13 +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
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
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
18566eb3e4 Don't show option to discard changes in unapplied branch 2024-06-11 21:43:04 +02:00
Mattias Granlund
7ae018c21e Fix: add some missing highlight props to select components 2024-06-11 18:26:11 +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
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
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
67a8884d2a
Remove console.log 2024-06-10 14:51:58 +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
Nico Domino
0c481feb28
fix: refactor Modal rendering and clickOutside handling (#4035) 2024-06-10 11:11:59 +02:00
Pavel Laptev
1c9a41e20e
css fix: fix height on bas commit hover (#4050) 2024-06-10 00:41:48 +02:00
Pavel Laptev
1421fc0020
UI: commit card update (#4043)
* UI: commit card update

- move "open" commit button
- do not display details if it's empty
- styles tweaking

* "edit message" modal width update

* Styles: fix for the "merge commits" disclaimer

* copy update

* commit card subtitle update

* Merge conflict resolve

* new "Insert empty commit" button

* add `extendWithClass` to draggable + drag handle

- In order to modify the draggable clone with an extended class if needed

* typo fix

* icon `undifined` class fix

* added drag handlers

* drag handle style update

* formatting

* linter warnings fix

* UI styles: context menu paddings
2024-06-09 23:56:39 +02:00
Kiril Videlov
145b69103c
if an oplog entry had an error, show it 2024-06-09 22:05:17 +02:00
estib
bd10fc9c6c Select Component: Address some feedback
- Remove unnecessary comments
- Improve the naming of generic types
- Clean-up the reactive assignment of `highlightedItem` and other style-consistency changes
- Remove the filter function
2024-06-09 17:51:24 +02:00
estib
0925db8a55 Select Component: Handle empty list state
Don't set a highlight index if there are no items being displayed in the list
2024-06-09 17:51:24 +02:00
estib
7bc51460c2 Project Switcher: Prefer derived store
Instead of subscribing to the project list store, create a derived store.
2024-06-09 17:51:24 +02:00
estib
74aed280d2 feat: Select - type to filter and navigate
Add the ability to navigate the options of the Select dropdown input with the up and down keys.
If typing text, filter the results based on whether the display label includes the typed text.

Also
- Generic types for the Select Items list
- Some other adaptions necessary in the component consumers
2024-06-09 17:51:24 +02:00
estib
75383cda21 Utility additions: Misc, Filters and String
Add utilities for type testing, filtering and throttling
2024-06-09 17:51:24 +02:00
estib
790824886d HotKey names
Add an enum of key names for hot keys of interest
- Use the key names in the `on` function
2024-06-09 17:51:24 +02:00
Sebastian Thiel
134226dae3
feat(menu): open project folder in new vscode window (#4037) 2024-06-09 09:24:25 +02:00
Luke Carrier
028ef784a5 fix: accurat{ => e }ly 2024-06-07 22:40:31 +01:00
Luke Carrier
c3242a5a5a fix: subs{ i => e }quently 2024-06-07 22:39:53 +01:00
Nico Domino
793232b0f6
fix: use svelte:window for managing hotkey event listeners (#4005) 2024-06-07 14:56:37 +02:00
Nico Domino
d64f5dbe59
Merge branch 'master' into ndom91/hunk-viewer 2024-06-07 14:08:39 +02:00
Pavel Laptev
5301181c49
fix button style (#4032) 2024-06-07 12:37:59 +02:00
Pavel Laptev
e735959e69
Button refactoring (#4031)
new props `outline`, `dashed` and `solidBackground`
2024-06-07 12:29:29 +02:00
Nico Domino
d03f1bf6c2
Merge branch 'master' into ndom91/hunk-viewer 2024-06-07 09:38:51 +02:00