Commit Graph

7593 Commits

Author SHA1 Message Date
Caleb Owens
5756aea777
Drag and drop
asdfasdf
2024-06-21 09:45:14 +02:00
Caleb Owens
779d6422fe
Merge pull request #4141 from gitbutlerapp/use-patched-svelte-eslint-parser
Use patched svelte eslint parser
2024-06-21 09:42:11 +02:00
Caleb Owens
d27172bf98
Use patched svelte eslint parser
I'm making use of a self-build version of svelte-eslint-parser which contains a fix for nested snippet definitions. https://github.com/gitbutlerapp/svelte-eslint-parser

When https://github.com/sveltejs/svelte-eslint-parser/pull/540 is released we can revert back to the standard track
2024-06-21 09:40:14 +02:00
Pavel Laptev
8578ba32ff
File selection improvements (#4134)
* Select multiple files with arrow keys + Shift

There are some corner cases to cover, but it serves the basic usage

* Refactor: remove unused code

Looks like this code was used for the tree view structure

* Check/uncheck files based on the file selection

* Lint error fixes
2024-06-20 16:50:10 +02:00
Caleb Owens
9f6823efe8
Merge pull request #4102 from estib-vega/select-component-improvments
Select component: Minor filtering fix
2024-06-20 14:54:00 +02:00
Nico Domino
08a09194f4
fix: cleanup copy for issue template (#4129) 2024-06-20 10:46:40 +02:00
Nico Domino
bb9a60fd26
fix: update pr-labeler job to checkout repo itself (#4127) 2024-06-19 20:33:25 +00:00
Pavel Laptev
fbdaae3f06
Sticky "Commit" and "Push" buttons, new Lazyload container, UI improvements (#4125)
* intersectionObserver for branch files

* refactor: remove unused function

* ScrollableContainer: remove on:scroll event

replace on:scroll with intersectionObserver

* Added "LazyloadContainer"

* minTriggerCount added + branch files 0 lenght fix

* small fixes

* Added mutationObserver

to watch for list changes

* Floating buttons + commit box animation change

* `useResize` optimisation

* fix lint formatting errors

* `z-index` fixes

* minTrigger fixes
2024-06-19 22:21:47 +02:00
Nico Domino
48afa21373
fix: update labeler to v5 (#4126) 2024-06-19 20:05:10 +00:00
Caleb Owens
9e8bf60011
Merge pull request #4119 from H1ghBre4k3r/improve-throttling-in-select
Fix: Wrong throttling in Select components
2024-06-19 16:08:10 +02:00
Louis Meyer
d82685a74e
fix: adjust permissions of labeller workflow (#4122) 2024-06-19 14:48:16 +02:00
H1ghBre4k3r
02e2a56cf5
refactor: move throttling to filter function 2024-06-19 12:48:09 +02:00
Caleb Owens
50e3131040
Merge pull request #4117 from gitbutlerapp/update-eslint-prettier-settings
Correct and reorder settings.json
2024-06-19 12:41:10 +02:00
Caleb Owens
322d1e4104
Merge pull request #4116 from gitbutlerapp/update-eslint-config-add-bindables
Discovering ancient runes
2024-06-19 12:40:29 +02:00
Caleb Owens
57c09e6ec6
Correct and reorder settings.json 2024-06-19 12:40:07 +02:00
Caleb Owens
663c579d61
Discovering ancient runes 2024-06-19 12:38:38 +02:00
Nico Domino
020377c972
feat: add repo organisation templates / jobs (#4114)
* feat: add issue templates

* feat: add PR template

* feat: add pr-labeler job / labels

* chore: formatting

* fix: cleanup PR template

* fix: modify bug template with dropdowns

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>

---------

Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
2024-06-19 07:15:57 +00:00
Nico Domino
76956bd428
feat: migrate to eslint flat config (#4113) 2024-06-18 18:19:38 +02:00
Nico Domino
98b1921d17
fix: use svelte5 version of eslint-plugin-svelte (#4110) 2024-06-18 12:55:50 +00:00
Caleb Owens
cb3532dec1
Merge pull request #4108 from gitbutlerapp/Virtual-branch
Update vscode settings to point to new prettierrc
2024-06-18 13:07:28 +02:00
Caleb Owens
bddae4fcbc
Update vscode settings to point to new prettierrc 2024-06-18 13:01:05 +02:00
Nico Domino
7e3360de60
fix: migrate eslint and prettier configs to JS files (#4105) 2024-06-18 10:16:02 +00:00
Pavel Laptev
32a08f16bb
UI tweaks #2 (#4104)
* Zen PC styles updated

* UI update: Textbox count button hover

* Profile sidebar hovers update

* Tokens update

* formatting
2024-06-18 12:04:07 +02:00
Caleb Owens
c1e579656a
Merge pull request #4103 from estib-vega/filter-branches-fix
Branches filtering: Don't hide the filter component when filtering
2024-06-18 10:53:13 +02:00
Caleb Owens
219d3c9f2d
Use clearer properties and refactor to svelte 5 2024-06-18 10:50:55 +02:00
estib
9ba247ec50 Branches filtering: Don't hide the filter component if filters are active
If you filter out all branches, the filter component would disappear. Making it impossible to unset the filters.
This change fixes that.
2024-06-18 07:06:49 +02:00
estib
d0c7391d6a Select component: Minor filtering fix
Filtering and then selecting with the cursor would not reset the filter.
Trying to filter the list after that would only append to the remaining filter string content.
This is now fixed by always reseting the filter text
2024-06-17 21:46:21 +02:00
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
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