Commit Graph

5638 Commits

Author SHA1 Message Date
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
Olena
76e1803eff Integrate alls-green in rust-check job to improve status checks
This patch integrates alls-green, that checks whether all dependency jobs
have passed successfully. This change also simplifies the CI setup by
requiring only the rust-check job for status checks.

Resolves #2848
2024-03-09 23:46:56 +02: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
Pavel Laptev
a9f1900f19 versical scroll for credentials onboarding screen 2024-03-08 22:06:02 +01:00
Pavel Laptev
8f36bd2f99 refactor: Improve button styling and readability
- Changed the "Back" button to have a neutral color.
- Updated the disclaimer text to include a link for more information on authentication methods.
- Fixed background color for disclamer.
- Updated "preferred_key" section style.
2024-03-08 22:05:07 +01:00
Matías Fuentes
c69ca25cbd fix: added draggable="false" to file-icon and created a class in styles ".file-icon".
formated file
fix: width space on file icon
fix: format
2024-03-08 22:02:06 +01:00
Mattias Granlund
acb25f3d98 Fix new project redirect
- needs to be improved in the future
2024-03-08 21:21:41 +01:00
Mattias Granlund
efb8f77543 Integrated credential checker into settings and setup flow
- adds new [projectId]/setup route
2024-03-08 19:26:34 +01:00
Mattias Granlund
7e3049d179 Add git credential checker to project setup
This is meant to help with the most frequent support requests, problems
with pulling and pushing from a git remote.
2024-03-08 19:26:34 +01:00
Pavel Laptev
1c3f363461
Merge pull request #3077 from gitbutlerapp/Section-card-updates
section card updates
2024-03-08 11:45:42 +01:00
Pavel Laptev
ded41d7728 removed non existing attr 2024-03-08 11:44:20 +01:00
Pavel Laptev
0d3c33b821 section card updates
- added `clickable` and non `clickable` styles
- added hover state if it's clickable
- added `labelFor` where it was missing and removed where the card is not clickable
2024-03-08 11:03:22 +01:00
Mattias Granlund
6bbf7a8310 Fix settings page refactor regressions
- fixes click on some missing elements
- load ssh key in onMount
- happened with removal of clickable card
- fixes missed prop renames
2024-03-08 02:47:32 +01:00
Mattias Granlund
645e076a78 Use SectionCard instead of ClickableCard
- commit grew a bit in scope
- lots of refactoring to settings pages
- clickable card dropped
2024-03-08 00:19:11 +01:00
Mattias Granlund
0311052f24 Add back push success/failure telemetry
- accidentally dropped when removing duplicate function
2024-03-07 21:45:43 +01:00
Matías Fuentes
ccd8417626 fix: runned format command 2024-03-07 21:16:51 +01:00
Matías Fuentes
ac7adbedae fix: branches filter checkboxes and toggle behavior 2024-03-07 21:16:51 +01:00
Nikita Galaiko
c309d96919 remove unapply logic during branch verification 2024-03-07 19:14:32 +01:00
Nikita Galaiko
aeb076630d make sure set_base_branch preserves active status 2024-03-07 19:14:32 +01:00
Nikita Galaiko
a4768de8bb remove gitbutler/integration reference when user switches away from it 2024-03-07 19:14:32 +01:00
Nikita Galaiko
b0e63d7259 re-construct tree from scratch when going back to integration 2024-03-07 19:14:32 +01:00
Nikita Galaiko
e2ff8e7d20 do not allow dirty working directory when going back to default target 2024-03-07 19:14:32 +01:00
Nikita Galaiko
82ae6d454a make go back to integration more predictable 2024-03-07 19:14:32 +01:00
Kiril Videlov
f4843750e1 feat: adds a git_test_fetch command to check if fetch can be performed for a given remote 2024-03-07 19:04:17 +01:00
Kiril Videlov
bbee89c95b refactor(virtual_branches): Remove unused import 2024-03-07 18:56:02 +01:00
Kiril Videlov
6c0d19d716 adds remote name and branch name as parameters to the git_test_push command 2024-03-07 18:42:41 +01:00
Josh Junon
e6d5bc2e82
Merge pull request #3069 from gitbutlerapp/fix-windows-notify
Fix fs notify events on windows
2024-03-07 18:18:00 +01:00
Josh Junon
8979e35d9e
fix fs notify on windows 2024-03-07 18:05:24 +01:00
Josh Junon
7ea8bff2cb
Merge pull request #3067 from gitbutlerapp/remove-unused-imports
remove unused imports
2024-03-07 16:12:56 +01:00
Josh Junon
7ba6bd259a remove unused imports 2024-03-07 15:30:17 +01:00