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
ffaffe6cde
Merge pull request #4109 from gitbutlerapp/update-modal-component-branch
...
Update modal component branch
2024-06-21 09:55:57 +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
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
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
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
dependabot[bot]
553674de3b
Bump the cargo group with 2 updates
...
Bumps the cargo group with 2 updates: [tauri](https://github.com/tauri-apps/tauri ) and [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek ).
Updates `tauri` from 1.6.2 to 1.6.7
- [Release notes](https://github.com/tauri-apps/tauri/releases )
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.6.2...tauri-v1.6.7 )
Updates `curve25519-dalek` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases )
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.2...curve25519-4.1.3 )
---
updated-dependencies:
- dependency-name: tauri
dependency-type: direct:production
dependency-group: cargo
- dependency-name: curve25519-dalek
dependency-type: indirect
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 23:21:19 +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