Commit Graph

524 Commits

Author SHA1 Message Date
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
e8c7f53685
adds file logging of UI errors 2024-02-29 19:28:45 +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
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
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
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