Commit Graph

686 Commits

Author SHA1 Message Date
Pavel Laptev
900316ad7a
Fix: Base icon CSS (#4193)
- Fix top margin for unfolded base row
- Fix CSS variables (added new, remove ununsed)
2024-06-27 00:40:33 +02:00
ndom91
091b45d5e9
feat: create separate component library subpackage 2024-06-26 18:01:09 +02:00
Pavel Laptev
b4509efa44
Allow rebasing toogle menu position updated (#4189) 2024-06-26 15:48:01 +02:00
Kiril Videlov
324941ea0e
add tooltip on the allow rebasing toggle for lanes 2024-06-26 14:02:36 +02:00
Kiril Videlov
3fb7f3b8bb
add the ability to toggle the allow rebasing flag for lanes in the UI 2024-06-26 13:53:13 +02:00
Pavel Laptev
8de4c3b651
Don't focus the last item if multiple selection (#4186) 2024-06-25 22:48:33 +02:00
Kiril Videlov
dc27f164f6
Merge pull request #4183 from gitbutlerapp/amend-commit-label-update
style: Correct spelling of "Ammend" to "Amend" in CardOverlay.
2024-06-25 20:14:16 +02:00
Kiril Videlov
2aa22a16de
style: Correct spelling of "Ammend" to "Amend" in CardOverlay. 2024-06-25 20:12:38 +02:00
Caleb Owens
c0102d4f95
Merge pull request #4182 from gitbutlerapp/Remove-log-that-was-intended-at-one-point-in-time
Remove log that was intended at one point in time
2024-06-25 19:54:09 +02:00
Caleb Owens
5be7b26731
Remove log that was intended at one point in time 2024-06-25 19:46:55 +02:00
Caleb Owens
439320ebeb
Don't auto-generate branch names 2024-06-25 19:43:23 +02:00
Caleb Owens
676b05b318
Merge pull request #4179 from gitbutlerapp/Fix-daft-mistake
Fix daft mistake
2024-06-25 19:05:25 +02:00
Caleb Owens
2952b0355f
Fix daft mistake 2024-06-25 15:26:04 +02:00
Mattias Granlund
6d6789d494 Update branch delete modal message
- it is no longer true the action cannot be undone
- resolves gh issue #4066
2024-06-25 15:27:28 +03:00
Pavel Laptev
fd86ec7a64 CSS: Dashed line fix 2024-06-24 23:55:28 +02:00
Pavel Laptev
3735be9d70 CSS: remove extra div wrapper 2024-06-24 23:22:13 +02:00
Pavel Laptev
90186f5154 The dotted line was not seamless
This approach seems to be working
2024-06-24 22:59:49 +02:00
Pavel Laptev
ee2054c1ea CSS tweaks
- Move matching line classes into a separate CSS file in order to track and maintain styles changes better
- small z-index issue fixed
2024-06-24 22:46:16 +02:00
Caleb Owens
80cf077b16 Undo oopsie 2024-06-24 21:21:40 +02:00
Caleb Owens
eb2205b92b sadfsadfafds 2024-06-24 21:14:03 +02:00
Caleb Owens
3ac69f8ccb fix linting errors 2024-06-24 21:14:03 +02:00
Caleb Owens
a06a9518a4 Allow passing in a height override to the line group 2024-06-24 21:14:03 +02:00
Caleb Owens
869982ce93 Remove storybook-build script 2024-06-24 21:14:03 +02:00
Caleb Owens
a4e791dfd6 Add comments and tweak styles 2024-06-24 21:14:03 +02:00
Caleb Owens
ece26f0f11 Fix story bookks 2024-06-24 21:14:03 +02:00
Caleb Owens
ee8e4c8a30 Seperate the concept of style and color 2024-06-24 21:14:03 +02:00
Caleb Owens
5735cbe13a Added in base nodes 2024-06-24 21:14:03 +02:00
Caleb Owens
a7a18f47db Formattign and stuff 2024-06-24 21:14:01 +02:00
Caleb Owens
857230e233 Remove unused commitlines components 2024-06-24 21:13:28 +02:00
Caleb Owens
6bb005e220 Move over to new commit lines 2024-06-24 21:13:23 +02:00
Caleb Owens
11be4c2d77 different forkpoint start 2024-06-24 20:38:43 +02:00
Caleb Owens
72cc22502b Implement same forkpoint rendering logic 2024-06-24 20:38:43 +02:00
Caleb Owens
23ae910763 Implement line manager 2024-06-24 20:38:43 +02:00
Caleb Owens
c8d7f8b44c Add examples with storybook 2024-06-24 20:38:43 +02:00
Caleb Owens
0d24e39d75 Introduce new commit lines renderer 2024-06-24 20:38:43 +02:00
Caleb Owens
f869293d1f Update commit terminology in frontend 2024-06-24 20:38:43 +02:00
Mattias Granlund
28d72ae5c0 Simplify login code a bit more
- remove rxjs
- use loading state by user service
2024-06-24 23:08:40 +03:00
Nico Domino
a2bbc4e2e2
fix: use @sentry/vite-plugin to upload sourcemaps and create releases (#4166) 2024-06-24 18:23:12 +02:00
Nico Domino
d013b7baf7
fix: improve git remoteUrl parsing (#4147) 2024-06-24 17:53:22 +02:00
Ben
f2ddbfdf7b
fix: update wording in Project settings AI options 2024-06-24 17:14:28 +02:00
Pavel Laptev
57e63b84bb
UI fix: jumpy sidebar width if it's folded (#4164) 2024-06-24 16:47:51 +02:00
Mattias Granlund
09ca68e222 Fix bug where no error toast shown on login failure 2024-06-24 16:46:15 +03:00
Kiril Videlov
9e1f1aab02
no hello, lol 2024-06-24 09:30:36 +02:00
Mattias Granlund
92daa19d66 Move history/snapshot stuff into history folder 2024-06-24 08:20:53 +03:00
Mattias Granlund
6c4c145d84 Move dropzone components 2024-06-24 08:20:53 +03:00
Mattias Granlund
01b3c56d7e Fix import path 2024-06-24 08:20:53 +03:00
Mattias Granlund
3c9744a74f Drop unsued files 2024-06-24 08:20:53 +03:00
Mattias Granlund
4161b006b7 Move shared components into shared folder 2024-06-24 08:20:53 +03:00
Mattias Granlund
1dd904b8a6 Move PR related stuff into feature branch 2024-06-24 08:20:53 +03:00
Mattias Granlund
88dd3ead53 Move settings realted stuff into feature folder 2024-06-24 08:20:53 +03:00
Mattias Granlund
45fe2cce78 Move navigation related stuff into feature folder 2024-06-24 08:20:53 +03:00
Mattias Granlund
b77fa7c962 Move branch related stuff into feature folder 2024-06-24 08:20:53 +03:00
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