Commit Graph

513 Commits

Author SHA1 Message Date
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
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
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
03852120e1 changed interactive elements cursor to pointer 2024-02-26 20:40:09 +01:00
Pavel Laptev
992a988fb7 Merge branch 'master' into pr/2899 2024-02-26 20:17:22 +01:00
Mattias Granlund
804041765e Remove duplicate toasts based on id
- also renames ToastMessage interface to Toast
- release notes given static id to prevent duplicates
2024-02-26 17:16:16 +02:00
Mattias Granlund
72779bd481 Update delete project text in project settings 2024-02-26 14:50:41 +02:00
Mattias Granlund
cc155dd1c0 Fix incorrect error when adding new project
- base branch observable now starts with undefined
- simplifies fetch interval setup
- use correct string for catching auth error
2024-02-26 14:47:09 +02:00
Mattias Granlund
0862d766bf Add back custom app updater
- native one doesn't work on all platforms
2024-02-26 13:03:23 +02:00
Pavel Laptev
84f04532a8 New projects setting page and components UI
- settings page components updated with new settings components
- added new `eye` icons
- `SectionCard` component updated in order to handle radio-groups
- `TextArea` added label
- New util function in order to convert px to rem
- new component to handle fullscreen spener loading
-
2024-02-26 00:13:02 +01:00
Kiril Videlov
000ddeff91 chore: remove user-facing config for using diff contexts infavor of automatic migration 2024-02-25 23:24:58 +01:00
Kiril Videlov
91885eac6b adds a config for using diffs with context lines internallyl 2024-02-25 23:24:58 +01:00
Kiril Videlov
ceb81c6589 feat: add option to hide large numbers of diffs to improve UI performance 2024-02-24 14:20:32 +01:00
Caleb Owens
2949c89f32
Add pointer cursor to buttons 2024-02-24 12:35:53 +00:00
Pavel Laptev
d32b9deba7 UI fix: divider color updated 2024-02-23 23:46:14 +01:00
Pavel Laptev
c59d899e26 UX fix: added draggable areas on the empry sides in the content vew 2024-02-23 23:41:24 +01:00
Pavel Laptev
3f6e659c64 UI fix: switched the content background and the sidebar background colors 2024-02-23 23:40:13 +01:00
Pavel Laptev
f3f4e55016 CSS fix: updated theme card radius and border-width 2024-02-23 23:39:17 +01:00
Mattias Granlund
d1318cc28c Show better error messages on push failure
- new style toast with link to documentation
- removes duplicate push function
2024-02-23 13:37:43 +02:00
Pavel Laptev
07b9cb46a8 CSS fixes: pofile sidebar 2024-02-22 20:53:34 +01:00
Pavel Laptev
58a652a30f
- Appearance section design updated
- code review fixes
2024-02-22 19:44:46 +01:00
Pavel Laptev
96f7f8e3c6 Profile page redesign
- new icons
- icon size could be adjusted with `size` prop
- new focus color for focus states
- `Spacer` component updated
- new `Profile settings` page layout
2024-02-22 19:44:40 +01:00
Mattias Granlund
22c9d2eb05 Include error in commit failure report 2024-02-22 17:57:28 +02:00
Mattias Granlund
6fe2f324ab Improve github service error handling
- fix copy pasted error message
- add error variation
2024-02-22 16:13:59 +02:00
Mattias Granlund
3ef6ab85a8 fix: only report failed pr creation once 2024-02-22 16:05:09 +02:00
Mattias Granlund
624df62430 Fix pr creation bug related to sentry
- startTransaction returns undefined if error reporting turned off
2024-02-22 13:42:55 +02:00
Mattias Granlund
c6c20030ba Fix GitHub error mapping
- correctly parses the error response
2024-02-22 01:37:40 +02:00
Mattias Granlund
dd1c8866c3 Fix GitHub error mapping
- correctly parses the error response
2024-02-22 01:03:19 +02:00
Mattias Granlund
ba922bf76d Show upstream commits only to butlers
- pending work on the merge function
2024-02-21 23:16:40 +02:00
Mattias Granlund
295f38aad9 Update upstream commtis UI
- just makes it look more like other components
2024-02-21 23:16:28 +02:00
Mattias Granlund
337dd42982 Use same function for opening all external urls
- gives us a better toast in case url fails to open
2024-02-21 22:33:18 +02:00
Mattias Granlund
00157968ed Show upstream commits if such exist
- component was lost in a refactor, bringing it back
- needs a new design, but landing to unblock users
2024-02-21 22:17:37 +02:00
Pranav2612000
3cc0c90cc5 feat: generate PR title and body from commit
If the branch contains only 1 commit, we use the first
line to generate the PR title and the remaining commit
body to generate the PR body

Co-Author: @eyalch
2024-02-21 22:13:32 +02:00
Mattias Granlund
6100f31f58 Show toast with richer content on GitHub errors
- move error handling from createPr call site to service
- showToast still uses global store, consider refactor
- toast content will be updated shortly
2024-02-21 13:01:00 +02:00
Caleb Owens
0fb074a7a1 Update to react to changes in pr URL 2024-02-20 16:16:43 +02:00
Caleb Owens
6a741c22cc Add the context menu to unapplied PRs 2024-02-20 16:16:43 +02:00
Caleb Owens
a247f08802 Add option to copy PR URL to clipboard 2024-02-20 16:16:43 +02:00
Caleb Owens
8b35614188 Add word wrap to commit body 2024-02-20 14:56:45 +01:00
Kiril Videlov
fb56cad857
Merge pull request #2750 from gitbutlerapp/Move-commit-to-vbranch-tests
move commit functionality
2024-02-20 14:55:40 +01:00
Kiril Videlov
5976477a29
Merge pull request #2829 from gitbutlerapp/fixex-project-auto-fetch
fixex-project-auto-fetch
2024-02-20 10:49:47 +01:00
Kiril Videlov
663dcf1115
fix: only fetch poject when navigation goes to a new project 2024-02-20 10:37:33 +01:00
Mattias Granlund
52560922cd Allow front end periods in branch names
Noticed a PR changing the branch name regex in the rust code, this pr fixes the same thing
in the typescript code.

https://github.com/gitbutlerapp/gitbutler/pull/2766/files
2024-02-20 10:56:45 +02:00
Pavel Laptev
1786a38cf3
Merge pull request #2810 from Caleb-T-Owens/Add-tooltip-to-show-full-commit-message
Add tooltip to show full commit message
2024-02-20 02:07:31 +01:00
Pavel Laptev
1bdc4eb322 ui: buttons align changed 2024-02-20 02:05:47 +01:00
Pavel Laptev
376cee414a lint fix: unused component removed 2024-02-20 01:52:58 +01:00
Pavel Laptev
dba7ebf89a ui: commit card styles update 2024-02-20 01:49:52 +01:00
Kiril Videlov
3bc56d6c1f
chore: replace app internal scheduled fetching with UI triggered fetching on per-project basis 2024-02-20 00:52:30 +01:00