Commit Graph

5305 Commits

Author SHA1 Message Date
Daniel Kranich
4b34694cb6 Simplify collapsing nav state management
Simplified the state management for setting and reading the nav collapsed state
2024-02-29 21:51:39 +02:00
Daniel Kranich
5b00eed576 AccountLink isNavCollapsed export defaults to false
This means it only needs to be specified if it matters
2024-02-29 21:51:39 +02:00
Pavel Laptev
2062d31cb8 paddings fixes 2024-02-29 21:51:39 +02:00
Pavel Laptev
92c6012cc5 folded navigation updates
- Added `overflowValue` event to handle folding the navbar when resizing reaches the minimum value.
- Updated navbar paddings.
- The `IconButton` component now includes a new property `width`.
2024-02-29 21:51:39 +02:00
Pavel Laptev
5561f055b3 removed unused resizer property 2024-02-29 21:51:39 +02:00
Pavel Laptev
88b3058dd0 Navigation bar folded state update
-  updated folded state
- Inline SVG images moved to assets folder as images
- added new bigger size for `ButtonIcon`
2024-02-29 21:51:39 +02:00
Pavel Laptev
5b467d5261 remove branches list resizer 2024-02-29 21:51:39 +02:00
Pavel Laptev
40cc56db9b Added project avatar 2024-02-29 21:51:39 +02:00
Pavel Laptev
ada64ac160 UI: folding button styles 2024-02-29 21:51:39 +02:00
Pavel Laptev
e58356bd14 detect OS
in order to remove/add sidebar padding on the Sidebar
2024-02-29 21:51:39 +02:00
Pavel Laptev
7b1499e797 rezizer styles updated
- updated resizer styles
- removed Tailwind classes (we will remove it in the future)
- updated components styles that use `Resize` in order to support its update
2024-02-29 21:51:39 +02:00
Daniel Kranich
0404a3a0bd Fix code formatting and linting errors 2024-02-29 21:51:39 +02:00
Daniel Kranich
e069b5aeef fix: pass isNavCollapsed prop to AccountLink component to ensure proper functionality 2024-02-29 21:51:39 +02:00
Daniel Kranich
064c1a0765 Move collapse functionality into a single function to toggle the collapsed state. 2024-02-29 21:51:39 +02:00
Daniel Kranich
8518820935 Pass collapsed state as normal boolean rather than persisted storage boolean to other components. 2024-02-29 21:51:39 +02:00
Daniel Kranich
8b387a306a chore: update navigation component to support collapsing and expanding the navigation menu 2024-02-29 21:51:39 +02:00
Kiril Videlov
16de23fbc4
Merge pull request #2952 from gitbutlerapp/ui-loggong-to-a-file 2024-02-29 19:49:20 +01:00
Kiril Videlov
e8c7f53685
adds file logging of UI errors 2024-02-29 19:28:45 +01:00
Josh Junon
ede0ce959d
Merge pull request #2951 from gitbutlerapp/windows-fixes
create windows gb repo path upon creation
2024-02-29 16:21:36 +01:00
Josh Junon
44c4365903
create windows gb repo path upon creation 2024-02-29 16:07:52 +01:00
Josh Junon
18d7ebf39c
Merge pull request #2949 from gitbutlerapp/fix-windows-git
Fix windows builds
2024-02-29 15:57:13 +01:00
Josh Junon
5c88e3db89
remove gitbutler-git from builds 2024-02-29 15:44:07 +01:00
Josh Junon
6d51b5e252
move unix import into cfg gated use 2024-02-29 15:24:09 +01:00
Josh Junon
96db3507aa
Merge pull request #2937 from gitbutlerapp/Virtual-branch-2
rename gitbutler-diff to gitbutler-changeset
2024-02-29 15:23:46 +01:00
Kiril Videlov
0d854a1d1f
Merge pull request #2926 from gitbutlerapp/prefer-rebase-when-merging-upstream-into-branch
prefer rebase when merging upstream into vbranch
2024-02-29 13:57:55 +01:00
Kiril Videlov
87b0f29754
Merge branch 'master' into prefer-rebase-when-merging-upstream-into-branch 2024-02-29 13:34:54 +01:00
Josh Junon
c9b185f7f4 rename gitbutler-diff to gitbutler-changeset 2024-02-29 13:27:19 +01:00
Josh Junon
e66b19f1b1
Merge pull request #2934 from MichaelOwenDyer/Refactor-signature-module
Refactor diff/signature.rs
2024-02-29 11:49:36 +01:00
Mattias Granlund
8ba697482e Fix app updater error analytics
Error payload must be an object, otherwise it gets converted to an array of characters.
2024-02-29 12:22:14 +02:00
Kiril Videlov
0cbea7fa7c fix: prevent overwriting github_access_token with null when updating user profile 2024-02-29 10:47:35 +01:00
Michael Dyer
4892272a08 Return earlier if original_length < 2 and remove unnecessary call to saturating_sub() 2024-02-28 15:27:00 +01:00
Michael Dyer
9895f12ed2 Apply formatter 2024-02-28 15:14:54 +01:00
Mattias Granlund
a2f469bb0a Fix app updater bug
- move `distinctUntilChanged` before combining with status
- add appropriate async to install function
- small reformatting
2024-02-28 15:20:24 +02:00
Michael Dyer
425c0cf0fe Refactored identifiers in signature.rs to improve readability 2024-02-28 09:05:14 +01:00
Kiril Videlov
b0796a0bb3 fixes an issue where project settings were not saved correctly 2024-02-27 21:38:29 +01:00
Alabhya Jindal
e3d6146281 Move repeated check for commitMessage inside function 2024-02-27 17:58:14 +02:00
Alabhya Jindal
c80e48d814 Fix variable typo 2024-02-27 17:58:14 +02:00
Alabhya Jindal
c07192f81e Add commit shortcut 2024-02-27 17:58:14 +02:00
Mattias Granlund
feab3be9b1 Rename UpdateButton -> AppUpdater 2024-02-27 12:08:26 +02:00
Nikita Galaiko
f147f12db0 merge upstream 2024-02-27 10:21:12 +01:00
Nikita Galaiko
4b4f6e210f prefer rebase when merging upstream into vbranch 2024-02-27 09:32:40 +01:00
Scott Chacon
04e087db81 The commit URL link in bitbucket is 'commits/', not 'commit/'. In gitlab, there is a '-'.
Interestingly, GitHub appears to support both 'commit/' and 'commits/' and GitLab will correct a missing '-'.
2024-02-26 23:46:28 +01:00
AbhishekThorat
9eb1660af2 - Add support to remove .git/gitbutler.json file while deleting project 2024-02-26 23:45:21 +01:00
Mattias Granlund
5c9fc86ff1 Dismiss app updater once per version
- sets `dismiss = false` when new version is available
2024-02-27 00:23:08 +02:00
Pavel Laptev
9ae5f2d727
Merge pull request #2917 from gitbutlerapp/Align-inner-paddings-in-lane-cards
Align inner paddings in lane cards
2024-02-26 21:53:26 +01:00
Pavel Laptev
0bc417f6cb style: update padding in header component for better alignment and spacing 2024-02-26 21:50:52 +01:00
Pavel Laptev
8dbeadd5ea style: update font size and class names for textbox and textarea elements 2024-02-26 21:39:45 +01:00
Pavel Laptev
929af8a03d style: update padding and spacing in various components
The padding and spacing in various components have been updated to improve the visual layout and alignment. This includes changes to the commit box, text inputs, commit list, branch files, and other related elements. The padding values have been adjusted to ensure consistent spacing and improve overall readability and usability.
2024-02-26 21:39:28 +01:00
Pavel Laptev
78ebcfd0ba add cursor pointer to Select comp 2024-02-26 20:46:47 +01:00
Pavel Laptev
31a85cd3c3
Merge pull request #2899 from Caleb-T-Owens/Use-Pointer-cursor-on-buttons
Add pointer cursor to buttons
2024-02-26 20:41:56 +01:00