Commit Graph

5565 Commits

Author SHA1 Message Date
Kiril Videlov
9a3fc86a8e fix test 2024-03-11 22:44:19 +01:00
Kiril Videlov
6aabf37b2c refactor: when fetching hunks by file return a map of DiffFile
Adding stonger types to the result will allow us to more easily propagate information like old/new files paths, size etc
2024-03-11 22:44:19 +01:00
Pavel Laptev
bdb70f114c
Merge pull request #3118 from gitbutlerapp/docs-updated-1
development.md updated
2024-03-11 22:39:29 +01:00
Pavel Laptev
b2e181ba16 copy change 2024-03-11 22:37:57 +01:00
Pavel Laptev
7e7ff89e79 development.md updated
- added Table of Content for east navigation
- added Design section
- fixed headings level. h1 could be only one a page
- added dividers between sections
2024-03-11 22:35:51 +01:00
Josh Junon
a8b294d597
Merge pull request #3113 from gitbutlerapp/fixup-path-handling
fixup many instances of poor path handling
2024-03-11 19:24:54 +01:00
Josh Junon
2e13650a7f
fixup many instances of poor path handling 2024-03-11 19:06:22 +01:00
Josh Junon
940059ef95
Merge pull request #3112 from gitbutlerapp/dont-use-results-in-tests
don't use results in tests
2024-03-11 18:41:15 +01:00
Josh Junon
da97b0e31f
Merge pull request #3111 from gitbutlerapp/trivial-path-consistency-fix
use simpler path representation at call site
2024-03-11 18:41:06 +01:00
Josh Junon
86a621f2b2
don't use results in tests 2024-03-11 18:28:04 +01:00
Josh Junon
4c6d40da6e
use simpler path representation at call site 2024-03-11 18:23:06 +01:00
Josh Junon
f2413bbfbb
Merge pull request #3109 from gitbutlerapp/fix-alternates-test-path-handling
fix test alternates test to be more robust
2024-03-11 17:03:25 +01:00
Josh Junon
a5e71b6903
fix test alternates test to be more robust 2024-03-11 16:40:02 +01:00
Josh Junon
bc626e4e92
Merge pull request #3108 from gitbutlerapp/fix-windows-gbrepo-path-filtering
fix gbrepo path filtering on windows
2024-03-11 16:25:44 +01:00
Josh Junon
8928920d47
fix gbrepo path filtering on windows 2024-03-11 15:45:00 +01:00
Josh Junon
2fe29e6f42
Merge pull request #3107 from gitbutlerapp/refactor-dedupe-fmt
refactor dedupe logic to be a bit more rusty
2024-03-11 15:44:30 +01:00
Josh Junon
c026dc9898
refactor dedupe logic to be a bit more rusty 2024-03-11 15:30:02 +01:00
Josh Junon
467c33ee64
Merge pull request #3106 from gitbutlerapp/remove-needless-vec-copy
remove needless vec copy
2024-03-11 15:17:24 +01:00
Josh Junon
4e2fbd2b08
remove needless vec copy 2024-03-11 14:53:31 +01:00
Pavel Laptev
7a1c9eeb3d
Merge pull request #3102 from gitbutlerapp/remove-hover-event-notification
SectionCard card and credential checks
2024-03-11 00:22:10 +01:00
Pavel Laptev
409fce9c30 SectionCard card and credential checks
- renamed `SectionCard` slot from `body` to `caption`
- `CredentialCheck` layout and style fixes
- `Spinner` icon updated in order to prevent scroll appearance during the animation
2024-03-11 00:17:15 +01:00
Kiril Videlov
54507a0ce0 refactor: Add check for empty paths array in mark function. 2024-03-10 21:52:12 +01:00
Pavel Laptev
42d3b771f3
Merge pull request #3100 from gitbutlerapp/remove-hover-event-notification
remove-hover-event-notification
2024-03-10 21:42:54 +01:00
Pavel Laptev
7224a4dd0c removed unused code and tailwind from +layout.svelte 2024-03-10 21:40:43 +01:00
Pavel Laptev
30b9442974 Replace loading... plain text to the spinner page 2024-03-10 21:12:08 +01:00
Pavel Laptev
68a2a15b2b refactor: remove unnecessary comment and event for hover 2024-03-10 21:09:49 +01:00
Mattias Granlund
07229ea37f Fix ctrl +- for zooming on Linux
- fixed by reading tinykeys docs, found $mod 

https://github.com/jamiebuilds/tinykeys
2024-03-10 20:59:03 +01:00
Mattias Granlund
b5ac036091 Enable lint rule to disallow arrow functions where it isn't necessary 2024-03-10 20:19:30 +01:00
Mattias Granlund
a2d4def691 Refactor arrow functions into normal functions #2
- converts remaining arrow functions to named functions
2024-03-10 20:19:30 +01:00
Mattias Granlund
a8eb502d79 Refactor arrow functions into normal functions
- as discussed in person and on discord, to keep consistency in the code base
2024-03-10 15:14:56 +01:00
Mattias Granlund
bfc418e5e7 Fix new project redirect
- `goto('..')` was redirecting to previous project
2024-03-10 14:35:17 +01:00
emmanuel
868518f5e6 docs: Added consistency to headings 2024-03-10 12:55:39 +01:00
Mattias Granlund
836e3aaa4d Fix bug in credential checker
- `.catch()` was attached to wrong promise
2024-03-10 11:56:28 +01:00
Pavel Laptev
d5c70c4030
Merge pull request #3083 from gitbutlerapp/scrollbar-updates
scrollbar-updates
2024-03-10 11:55:14 +01:00
Mattias Granlund
88283e4ac9 Simplify credential checker
- fewer if conditions
- no need for hiding checks on success
- adds reset method
2024-03-10 10:34:23 +01:00
Mattias Granlund
6137d6b63a Refactor credential check
- show tests while running (with indicator)
- incremental progress update
2024-03-10 09:24:17 +01:00
Pavel Laptev
bf27c3c474 Added scrollbar to lanes and removed unused CSS vars 2024-03-09 23:23:34 +01:00
Pavel Laptev
06f0490bf3 CSS fixes
- made target branch background color less transparent
- Select component added overflow hidden in order to cut overflowing scrolbar
- Same for the HunkViewer
2024-03-09 23:18:26 +01:00
Pavel Laptev
830e140cf6 fix lint errors 2024-03-09 23:18:26 +01:00
Pavel Laptev
cd4f4ca48f refactor: Update thickness variable to 0.563rem for a thinner scrollbar appearance 2024-03-09 23:18:26 +01:00
Pavel Laptev
dc2b9fa40f New user setting and video tip component 2024-03-09 23:18:26 +01:00
Pavel Laptev
d23e3ff2e6 Enhanced Navigation UX
- Implemented a feature where, during the dragging of the scrollbar in the branches view, the fold button now dynamically hides to prevent overlap with the scrollbar.
2024-03-09 23:18:26 +01:00
Pavel Laptev
205ffacc7c style updates: scrolbar and navigation fold button
- Updated style of the fold button in order to make more space for the scrollbar
- Scale scrollbar when it's hovered
2024-03-09 23:18:26 +01:00
Pavel Laptev
40b4702d1a scrollbar updates
- added `zIndex` prop in case of overlapping with other elements
- track height was changed to procentage units from fixed pixel units
2024-03-09 23:18:26 +01:00
Pavel Laptev
690ef6babc refactor: Remove unused code and update styles for scrollbar
- fixed horizontal mode
- Removed `alwaysVisible`, `margin`, `opacity` variables as they are no longer needed.
- Updated `thickness` variable to use CSS custom property.
- Refactored styles for scrollbar track and thumb elements to improve visibility and responsiveness.
- Added event listeners for mouse enter and leave on viewport to control visibility based on hover state.
2024-03-09 23:18:26 +01:00
Kiril Videlov
653c831471 refactor: Add tooltip functionality for locked files to display commit information on hover. 2024-03-09 21:03:28 +01:00
Pavel Laptev
2412962384
Merge pull request #3082 from gitbutlerapp/authentication-methods-style-fixes
authentication-methods-style-fixes
2024-03-09 00:34:51 +01:00
Pavel Laptev
96fc88beb9 CSS fixes
- fixed vertical scroll for DecorativeSplitView in order to respect the selector pop up behaviour
- added `…` to `remove project` which means there will be an aditional action after click
- small CSS fixes to `Selector`
2024-03-09 00:33:25 +01:00
Mattias Granlund
5477c2dd5f Fix navigating to new project after deleting another 2024-03-08 22:40:01 +01:00
Kiril Videlov
cb128df06b feat: Add last commit timestamp and author to RemoteBranch struct and use it in CombinedBranch for display purposes. 2024-03-08 22:22:40 +01:00