Commit Graph

5469 Commits

Author SHA1 Message Date
Mattias Granlund
34bafe3d35 Drop commented out css line 2024-02-29 21:51:39 +02:00
Mattias Granlund
c6aca14a71 Nitpick some variable names and function declarations 2024-02-29 21:51:39 +02:00
Pavel Laptev
6adfd6883c hotkey added to hide the sidebar added 2024-02-29 21:51:39 +02:00
Pavel Laptev
7192c1f17f UI: small badge for the folded trunk menu item 2024-02-29 21:51:39 +02:00
Pavel Laptev
e20d5cdc1c UI: tooltip styles update, tooltips for sidebar 2024-02-29 21:51:39 +02:00
Pavel Laptev
9a0ccdc1f2 styles fixes and remove unused class 2024-02-29 21:51:39 +02:00
Daniel Kranich
4dd441ccd0 formatting fixes to pass CI 2024-02-29 21:51:39 +02:00
Daniel Kranich
65fd9eabce Remove unused navCollapsed function 2024-02-29 21:51:39 +02:00
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
Scott Chacon
c2571fd715 feat: adds reset_files command to revert files
The "Revert File" function cheated a bit by undoing all the hunks, but that doesn't work for added or removed files. 

Added files are not removed, just contents cleared. Removed files are not restored.

This changes the implementation to just pass file paths and have git2 run the equivalent to `git checkout -- path` from the index.
2024-02-29 13:19:16 +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
Pouya Kary ✨
ee9afa9082
Making the image in empty board not draggable. 2024-02-28 13:46:10 +03:30
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
f0a248e74b Add comments 2024-02-28 00:44:34 +05:30
Alabhya Jindal
cf448848d0 Setting focus using element ids 2024-02-28 00:41:07 +05:30
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