Commit Graph

584 Commits

Author SHA1 Message Date
Mattias Granlund
7f1ee4cb9d Moving commit related stuff into feature folder 2024-06-24 08:20:53 +03:00
Mattias Granlund
1e44ae00ea Moving file related stuff into feature folder 2024-06-24 08:20:53 +03:00
Mattias Granlund
148d5e03f8 Move hunk related components into hunk feature folder 2024-06-24 08:20:53 +03:00
Pavel Laptev
7408252f16
Modal animation timing update (#4155) 2024-06-24 00:53:44 +02:00
Kiril Videlov
03a4078c60
Merge pull request #4150 from mental32/persist-file-list-item-checkbox-detail
Persist FileListItem checkbox detail
2024-06-23 14:40:55 +02:00
Pavel Laptev
1a5b8657aa
Refactor modal (#4153)
- Added a new `Portal` component to always mount it to the body.
- Changed the HTML tag from `dialog` to `div` to fully handle the modal with JavaScript, avoiding mixed behavior.
- Fixed the issue where the modal wrapper mounted without content when the modal wasn't shown.
- Fixed the tooltip z-index issue in the modal component.
- Updated `z-index` variables.
2024-06-23 12:57:08 +02:00
Pavel Laptev
a187326142
UI tweaks #3 (#4152)
* Change commit modal button color

* Custom transitions + start commit btn transition

* Commit title warning icon style update

* Refactor: unused icons removed

* Edit message button: icon change

* Fix title padding

* remove unused code
2024-06-22 23:12:11 +02:00
mental
fdc82bbeb8 ensure that selectedOwnership is correctly removing unselected files 2024-06-21 17:22:04 +01:00
Alex Grand
4f89111a99
fix(ui): GitHubService correct split of remoteUrl in case of alias (#4144)
Co-authored-by: Nico Domino <yo@ndo.dev>
2024-06-21 14:19:28 +02:00
Pavel Laptev
39542b82d9
Some quick UI fixes for the new dropzones (#4146)
There were a few UI bugs including:
- overflow issues
- the sticky commit button stopped sticking
2024-06-21 13:46:23 +02:00
Caleb Owens
e068f2d236
Style tweak 2024-06-21 09:54:06 +02:00
Caleb Owens
95e6b14566
Remove rebase runaway 2024-06-21 09:50:49 +02:00
Caleb Owens
89af946842
Fix eslint errors 2024-06-21 09:45:57 +02:00
Caleb Owens
f1fe727049
tweak styles 2024-06-21 09:45:57 +02:00
Caleb Owens
4bdba5c85d
Fix update phase of lifecycle 2024-06-21 09:45:57 +02:00
Caleb Owens
ba48fc68d0
Add in a full width option 2024-06-21 09:45:55 +02:00
Caleb Owens
541e6a9768
Refactor dropzone manager 2024-06-21 09:45:17 +02:00
Caleb Owens
ad03baf303
Enough factories to make the once-ler happy 2024-06-21 09:45:17 +02:00
Caleb Owens
80209b877e
Refactor code into ts files 2024-06-21 09:45:17 +02:00
Caleb Owens
a0e9e2ba98
Rename some files and start to use context to inject classes 2024-06-21 09:45:17 +02:00
Caleb Owens
2aad52dfa3
Refactor dropzones 2024-06-21 09:45:17 +02:00
Caleb Owens
5756aea777
Drag and drop
asdfasdf
2024-06-21 09:45:14 +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
mental
bef7a431a2 track checkbox detail on FileListItem components 2024-06-21 01:28:20 +01: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
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
H1ghBre4k3r
02e2a56cf5
refactor: move throttling to filter function 2024-06-19 12:48:09 +02:00
Caleb Owens
663c579d61
Discovering ancient runes 2024-06-19 12:38:38 +02: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
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
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
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