Commit Graph

693 Commits

Author SHA1 Message Date
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
Caleb Owens
7e2ef922dd Handle commit descriptions that start with just one new line rather than 2 2024-02-19 22:14:39 +00:00
Caleb Owens
5b340f1301 Update icon alignment, and author-name
Fix linting errors
2024-02-19 22:14:39 +00:00
Caleb Owens
adbebb93fd Updated styles and now pull title and body from commit methods
Update styles
Update title class
Updated styles
Refactor conditions
2024-02-19 22:14:39 +00:00
Caleb Owens
95b18f8806 More changes
With more lines
2024-02-19 22:14:39 +00:00
Caleb Owens
6c0603813b Add tooltip to show full commit message 2024-02-19 22:14:39 +00:00
Pavel Laptev
44cb3d5b42 small UI tweaks 2024-02-19 21:47:21 +01:00
Pavel Laptev
9a5fe102a7 NotOnGitButlerBranch refactor
- fixed screen flickering
- page layout updated
2024-02-19 21:43:51 +01:00
Pavel Laptev
7227d7acf6 small copy change
in order to make the button shorter
2024-02-19 21:42:27 +01:00
AbhishekThorat
48ea49f323 - Lint fix 2024-02-20 01:20:14 +05:30
AbhishekThorat
dea2b64b6f - Minor variable name change 2024-02-20 01:16:56 +05:30
Abhishek Thorat
7acfd2a8a9
Merge branch 'master' into support/remove-project-from-not-on-git-butler-branch 2024-02-20 01:01:13 +05:30
AbhishekThorat
411f85b783 - Fix project not found issue after deleting project from non-git-butler-branch screen 2024-02-19 23:47:48 +05:30
Kiril Videlov
fde55c81ac
Merge pull request #2816 from Meesayen/add-file-discard-menu-in-tree-view
chore: applied context menu to discard file to the tree view
2024-02-19 18:51:43 +01:00
AbhishekThorat
016d79928c - lint fix 2024-02-19 21:30:48 +05:30
AbhishekThorat
abf4f9d16e Merge branch 'master' of https://github.com/AbhishekThorat/gitbutler into support/remove-project-from-not-on-git-butler-branch 2024-02-19 21:27:51 +05:30
AbhishekThorat
19495250e0 - Add Remove this project ... button with not on git butler branch screen 2024-02-19 21:23:09 +05:30
Pavel Laptev
9c52e18d39 UI fix: replaced textarea element with TextArea component 2024-02-19 15:30:57 +01:00
Pavel Laptev
aa20f30f4d CSS fix: trancate long virtual branch names 2024-02-19 15:27:00 +01:00
Pavel Laptev
673e6c1a42 project setup card feature style fix 2024-02-19 15:26:22 +01:00
Meesayen
a8e1c7bc7d chore: applied context menu to discard file to the tree view 2024-02-19 14:59:27 +01:00
Meesayen
0fddf1bc5b chore: consider "contextmenu" event as a click outside event too 2024-02-19 15:46:16 +02:00
Nikita Galaiko
658a1ab1be connect ui to move_commit 2024-02-19 14:43:20 +01:00
AbhishekThorat
52607dfb75 - Add default branch check before deleting virtual branch directly 2024-02-19 15:35:10 +02:00
AbhishekThorat
fa8386552c fix - Avoid showing delete branch modal for empty virtual branch. 2024-02-19 15:35:10 +02:00
Meesayen
de7d869411 fix: hunk and file context menu now correctly dismiss 2024-02-19 15:27:09 +02:00
Meesayen
f36ba52b27 fix: the branch card's options menu is truncated by a recently added overflow:hidden 2024-02-19 15:14:59 +02:00
Dino Lindlau
16f834fc08 Add a custom renderer for links, same as in ToastControlelr 2024-02-19 13:08:18 +02:00
Pavel Laptev
21d11c84c5 refactor: TextBox component refactor, select component updated 2024-02-19 01:29:01 +01:00
Pavel Laptev
54a5e4eef9 UI: card style update 2024-02-19 01:27:40 +01:00
Pavel Laptev
ae0c24ffaa shadow design tokens update 2024-02-19 00:24:14 +01:00
Pavel Laptev
2959840c3f discard file copy update 2024-02-19 00:22:52 +01:00
Meesayen
d133f21b30 chore: fix linting issue 2024-02-18 20:53:35 +01:00
Federico Giovagnoli
bbdb24973c
Merge branch 'master' into discard-entire-file-via-contextmenu 2024-02-18 20:51:37 +01:00
Pavel Laptev
564ea365f1 resizer position bug fixed 2024-02-18 20:12:36 +01:00
Kiril Videlov
4797efd663
Merge branch 'master' into discard-entire-file-via-contextmenu 2024-02-18 15:48:17 +01:00
Pavel Laptev
bd01a2d88d small css fixes, color theme tweaking 2024-02-18 15:27:56 +01:00
Pavel Laptev
ccaa380b36 light color for intaractive states updated 2024-02-18 15:23:03 +01:00
Meesayen
8ba3ad3fe1 chore: fix linting issue 2024-02-18 14:22:50 +01:00
Federico Giovagnoli
10ae89202d
Merge branch 'master' into discard-entire-file-via-contextmenu 2024-02-18 14:18:26 +01:00
Pavel Laptev
e2b42d5778 input focus bacground updated 2024-02-18 00:33:04 +01:00
Pavel Laptev
ad492d0c77 updated color theme, postcss files renamed to css, input classes refactoring 2024-02-18 00:23:14 +01:00
Pavel Laptev
a2a4df45de removed unused CSS, added role="button in order to handle button-like elements 2024-02-17 23:53:23 +01:00
Pavel Laptev
962addd140 comented css removed 2024-02-17 23:53:23 +01:00
Pavel Laptev
8681f1438d commit textarea border-radius fix 2024-02-17 23:53:23 +01:00
Kiril Videlov
64ee34e0a9 feat: update projectCurrentCommitMessage function to include branchId parameter and use it in relevant places 2024-02-17 21:25:00 +01:00
Kiril Videlov
029377be06 feat: when a commit is undone, the commit message box will be pre-filled with the last message 2024-02-17 20:32:24 +01:00
Kiril Videlov
2a48b7f072 feat: the commit message will no longer be lost during navigation 2024-02-17 20:32:24 +01:00
Kiril Videlov
f252d0c8f0 fix: dont automatically show large diffs 2024-02-17 19:54:02 +01:00
Caleb Owens
9af53324d3 Fix linting issues 2024-02-17 18:58:09 +01:00
Caleb Owens
088cf5a4bb Only show "Force push to remote" when pushing zero commits to a branch 2024-02-17 18:58:09 +01:00
Pavel Laptev
af907c2902 remove code duplication, readonly state for file list tree fixed 2024-02-17 18:22:21 +01:00
Caleb Owens
3a4fb738c8 Add loading state to PushButton when in "pr" state 2024-02-17 14:36:52 +01:00
Meesayen
f477d8d277 chore: disable discard button for binary files for now 2024-02-17 13:23:13 +01:00
Meesayen
7023e43806 chore: added confirmation moda & handled multi selection of files 2024-02-17 13:13:12 +01:00
Meesayen
548bd2c3c0 fix: missing branchController input in some components 2024-02-17 12:16:11 +01:00
Meesayen
25e26b28aa chore: lint fixes 2024-02-17 12:16:11 +01:00
Meesayen
bd7bf3b8a9 chore: DRYer approach 2024-02-17 12:16:11 +01:00
Meesayen
fd7c18d121 feat: ability to discard changes to an entire file 2024-02-17 12:16:11 +01:00
Pavel Laptev
7bcd2b8ae9 file list item: hover updated, added space between file list items 2024-02-17 00:42:56 +01:00
Pavel Laptev
a9797b22a7 removed :backdrop css variables
checkbox icon updated and removed  `:backdrop` css variables
2024-02-17 00:12:07 +01:00
Caleb Owens
b787c823af Split Credit prompt into two sentences 2024-02-16 22:57:25 +01:00
Caleb Owens
3a75baa89c Update the wording in the settings page to use opt-in terminology. 2024-02-16 22:57:25 +01:00
Caleb Owens
e7a00c7700 Remove the prompt in the commit box as it now targets users who opt in.
This seems counterproductive as they're already supporting by sharing the product
2024-02-16 22:57:25 +01:00
Caleb Owens
433e965a19 Adapt prompt in the commit box to use new setting name 2024-02-16 22:57:25 +01:00
Caleb Owens
7f71b96342 Updated to have allow changing annotation settings and removed copy around the notion of becoming a supporter to disable it (Though you should still become one!!) 2024-02-16 22:57:25 +01:00
Caleb Owens
f301d2d35b Update the default value for signCommits in frontend to false to match backend 2024-02-16 22:56:40 +01:00
Pavel Laptev
b2fc858560 comment typo 2024-02-16 17:47:34 +01:00
Pavel Laptev
d014d12395 - hide AuthorIcons
- `:backdrop` rule removed, because there was only one token uses this rule
- improved `opened` branch UI
2024-02-16 17:44:11 +01:00
Andreas Skielboe
18a65938f4 Fix branch name change when pressing Enter 2024-02-16 17:16:06 +01:00
Caleb Owens
3ea909a79e Fix boolean conversation type issue 2024-02-16 17:12:10 +01:00
Caleb Owens
0b45a1d6b8 Handle pushing when no force is needed, and don't show when there are no changes to push 2024-02-16 17:12:10 +01:00
Caleb Owens
4d20a7252c Correct code formatting 2024-02-16 17:12:10 +01:00
Caleb Owens
5740c16ee8 Show the push button when there are differences after undoing commits and the branch requires force pushing 2024-02-16 17:12:10 +01:00
Caleb Owens
f708c1568e Remove unneeded condition (the no commits case is handled by the CommitList element itself) 2024-02-16 17:12:10 +01:00
Andreas Skielboe
5de33a5ba3 ensure line number are draggable when not selectable 2024-02-16 16:54:57 +01:00
Andreas Skielboe
af02c7cb15 show grab curser on hunk line numbers 2024-02-16 15:51:52 +01:00
Andreas Skielboe
68d9de295e only show hunk line grab cursor if dragging is enabled 2024-02-16 15:51:52 +01:00
Kiril Videlov
913d4b0eeb feat: add a settings toggle for disabling auto-branch names even with ai generaton enabled 2024-02-16 14:46:20 +01:00
Andreas Skielboe
8377a303d5 file diff removed lines prefix should be - 2024-02-16 14:13:13 +01:00
Pavel Laptev
ddf0efb5b6 illustrations updated 2024-02-16 01:14:11 +01:00
Pavel Laptev
a882b949c3 updated all design tokens, added new css variables for interactive states --darken 2024-02-16 01:07:47 +01:00
Caleb Owens
8f0c695465 Ensure searches on PRs also includes the branch name 2024-02-15 23:57:12 +01:00
Caleb Owens
4570a82256 Disable spellcheck in most locations around the app (places where spellcheck="true" has been specified, I've left it as is) 2024-02-15 23:54:34 +01:00
Caleb Owens
78053bb3c1 Move to lowercase spellcheck to prevent a svelte check warning. 2024-02-15 23:54:34 +01:00
Caleb Owens
23744f0c70 Disable auto completions in branch filter field 2024-02-15 23:54:34 +01:00
Pavel Laptev
eb27c95f25 Styles fix: file list item width fixed on structure view 2024-02-15 21:59:52 +01:00
Juan P Barrios
974ecfee55 fix: vite-plugin-svelte error on empty scoped-style element 2024-02-15 21:28:21 +01:00
Juan P Barrios
83bb41e488 Simplify slice manipulation 2024-02-15 19:25:43 +01:00
Juan P Barrios
2cb9711c54 Fixes #2708
- Assumes all upstream branch names will start with 'refs/remotes/', then
- slices out the remote branch name without making any assumptions as to what it's named, and
- joins the rest of the split elements
2024-02-15 19:25:43 +01:00
Pavel Laptev
8ae99636d8 Double-clicking on the header was removed, this caused modal errors when closing 2024-02-15 14:35:13 +01:00
Pavel Laptev
f2986e6271 Fix: outdated checkbox design removed from ContextMenuItem 2024-02-15 14:24:16 +01:00
Kiril Videlov
99c2c443fe feat: Add information about AI commit message generation and usage of OpenAI's API in GitButler 2024-02-15 11:36:14 +01:00
Mattias Granlund
167b0b5a4d Capture push and pr success/failure in posthog
- just a start since we currently are not getting much data on this
2024-02-15 11:11:38 +01:00
Kiril Videlov
28d5aca9c2 dont add gitbutler as committer by default 2024-02-14 22:40:44 +01:00
Pavel Laptev
5768623be5 fix: append dialog element to body on mount to prevent overlapping with other elements' actions 2024-02-14 21:46:05 +01:00
Pavel Laptev
4a62c0f941 chore: update styling and structure of analytics settings page, added new component ClickableCard, Link style updated, InfoMessage component style updated 2024-02-14 20:44:50 +01:00
Pavel Laptev
49129fb15a chore: formatting fix 2024-02-14 13:11:44 +01:00
Pavel Laptev
d16010ac43 chore: if file view was open the resizer was behind the view 2024-02-14 13:10:46 +01:00
Pavel Laptev
cea8c74dcb fix: IconLink component styles updated, welcome screen styles updated, added conditional rendering for the user button 2024-02-14 13:05:44 +01:00
Mattias Granlund
d726a58318 Add missing import to fix openExternalUrl 2024-02-13 23:46:37 +02:00
Pavel Laptev
9b3e99fe83 fix: automatically close file on branch collapse. 2024-02-13 22:30:27 +01:00
Mattias Granlund
d94ba76302 Fix incorrect error message 2024-02-13 22:35:00 +02:00
Navid Salehi
259eda1ee5 Add tooltip for project setting icon button 2024-02-13 20:08:16 +01:00
Mattias Granlund
232ea42256 Show toast when failing to open external link
- toast contains url
- can be copied or clicked
2024-02-13 19:22:43 +01:00
Mattias Granlund
80dab85ae2 Show analytics settings title conditionally
- we don't want it in the analytics confirmation component
2024-02-13 19:09:10 +01:00
Mattias Granlund
a1cea76380 Add prompt for analytics consent
- shows on first use before adding project
2024-02-13 15:46:28 +01:00
Pavel Laptev
fb59709589 chore: fix formatting in switch repository message 2024-02-13 11:45:02 +01:00
Pavel Laptev
6d14f4dfd5 chore: update switch repository message and fix collapsed-lane double click event 2024-02-13 11:44:18 +01:00
Kiril Videlov
d605df4bd2 chore: add disabled state to buttons based on user authentication status 2024-02-12 23:04:57 +01:00
Kiril Videlov
1c4f8a0ed2 chore: add support for Python language parser 2024-02-12 18:35:08 +01:00
Kiril Videlov
a927901fd7 fix: display error message correctly in the UI 2024-02-12 17:16:24 +01:00
Pavel Laptev
5375a84163 chore: improve collapsible lane functionality and styling 2024-02-12 13:45:35 +01:00
Pavel Laptev
2b5a8978d4 style: update border style and color for a container and adjust text color and line height for span element 2024-02-11 23:03:41 +01:00
Kiril Videlov
920d0e96a8 fix: listing of remote branches no longer fetches commits and metadata 2024-02-11 22:52:52 +01:00
Pavel Laptev
fb78f18ad5 chore: refactor defaultBranchWidthRem initialization and remove unnecessary code 2024-02-11 22:17:26 +01:00
Pavel Laptev
232bb7be16 style: add hover effect to collapsed lane arrow icon 2024-02-11 22:17:00 +01:00
Pavel Laptev
5fa16a263a chore: clean up code formatting and remove commented out code 2024-02-11 22:13:27 +01:00
Pavel Laptev
3427a3e8c5 Merged origin/master into Collapsable lane 2024-02-11 22:09:15 +01:00
Kiril Videlov
d234649e47 feat: add support for fetching remote branch data and displaying commits in the branch view 2024-02-11 21:54:39 +01:00
Pavel Laptev
22c6b7813c chore: simplify code formatting and remove unnecessary code 2024-02-11 20:42:29 +01:00
Pavel Laptev
5e6d5c466b chore: refactor code formatting and remove unused imports and variables 2024-02-11 20:40:43 +01:00
Kiril Videlov
1a9b532edf persist lane collapsed state in local storage 2024-02-11 13:05:26 +01:00
Pavel Laptev
9eaae9f1ab chore: remove unused hasNextSibling variable and console.log statements 2024-02-10 15:55:55 +01:00
Pavel Laptev
b7c1e8cd36 chore: update tag labels for integrated and virtual lanes, and remote tag to improve consistancy 2024-02-10 00:25:37 +01:00
Pavel Laptev
4c977840d6 style: update padding and remove commented out code in collapsed lane component 2024-02-09 23:49:44 +01:00
Pavel Laptev
c1e69998dc Merged origin/master into Collapsable lane 2024-02-09 23:18:26 +01:00
Pavel Laptev
e107f6b00c tag component update, collapsable branches frontend added 2024-02-09 23:18:10 +01:00
Kiril Videlov
a42bbd7ffd feat: adds support for omitting host certificate checks when authenticating with ssh 2024-02-09 17:51:58 +01:00
Pavel Laptev
c6bc57cb90 Added new icons, merge conflicts resolved 2024-02-09 12:17:47 +01:00
Pavel Laptev
b84ca9e3de chore: remove unused CSS classes for status tags 2024-02-09 12:12:04 +01:00
Pavel Laptev
77646b66f7 refactor: update status tags and tooltips in UI
- Removed duplicate icons and unnecessary div elements
- Replaced div elements with custom Tag components for better consistency and readability
- Updated tooltips for each status tag to provide clearer information to the user
- Updated CSS selector to exclude elements with the "not-button" class from hover effect
2024-02-09 12:11:21 +01:00
Kiril Videlov
0fe1f93e89 fix: update branch card class and button logic to correctly handle active and selected branches 2024-02-08 16:50:38 +01:00
Kiril Videlov
e98bb4fc17 fix: conditional check for branches length in template 2024-02-08 16:19:17 +01:00
Pavel Laptev
b386643d49 lint fixes 2024-02-07 23:25:49 +01:00
Pavel Laptev
f80c6ba14e Formating fix 2024-02-07 23:25:07 +01:00
Pavel Laptev
0c11f68943 Improved project remove UX, updated text styles 2024-02-07 23:19:41 +01:00
Kiril Videlov
85407d14ec fix: add error message when remote branches are not available for virtual branch work 2024-02-07 16:08:35 +01:00
Pavel Laptev
0324ac7b96 eslint format fixes 2024-02-07 15:53:15 +01:00
Pavel Laptev
97cd4053a7 lint fixes 2024-02-07 15:42:14 +01:00
Pavel Laptev
448be7fb20 updated file preview paddings 2024-02-07 15:25:17 +01:00
Pavel Laptev
7af2386a1f File changes indication changed, updated style for the Tag component and added more color, Tag color name changed 2024-02-07 14:54:15 +01:00
Pavel Laptev
e8142667fd added new purple pallete to design tokens, added new propert reversedDirection to the Tag component 2024-02-07 13:59:02 +01:00
dependabot[bot]
e406b2bf9e
Bump the npm-updates group with 2 updates
Bumps the npm-updates group with 2 updates: [@sentry/sveltekit](https://github.com/getsentry/sentry-javascript) and [posthog-js](https://github.com/PostHog/posthog-js).


Updates `@sentry/sveltekit` from 7.100.0 to 7.100.1
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.100.1/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.100.0...7.100.1)

Updates `posthog-js` from 1.105.0 to 1.105.1
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/commits)

---
updated-dependencies:
- dependency-name: "@sentry/sveltekit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: posthog-js
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 11:46:18 +00:00
Kiril Videlov
c49d6f11e9 fix: error propagation when listing remote branches 2024-02-07 10:57:19 +01:00
dependabot[bot]
01cee54312
Bump the npm-patch-updates group with 6 updates
Bumps the npm-patch-updates group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@codemirror/lang-python](https://github.com/codemirror/lang-python) | `6.1.3` | `6.1.4` |
| [@codemirror/language](https://github.com/codemirror/language) | `6.10.0` | `6.10.1` |
| [nanoid](https://github.com/ai/nanoid) | `5.0.4` | `5.0.5` |
| [postcss](https://github.com/postcss/postcss) | `8.4.33` | `8.4.34` |
| [prettier](https://github.com/prettier/prettier) | `3.2.4` | `3.2.5` |
| [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) | `4.2.9` | `4.2.10` |


Updates `@codemirror/lang-python` from 6.1.3 to 6.1.4
- [Changelog](https://github.com/codemirror/lang-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-python/compare/6.1.3...6.1.4)

Updates `@codemirror/language` from 6.10.0 to 6.10.1
- [Changelog](https://github.com/codemirror/language/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/language/compare/6.10.0...6.10.1)

Updates `nanoid` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/5.0.4...5.0.5)

Updates `postcss` from 8.4.33 to 8.4.34
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.33...8.4.34)

Updates `prettier` from 3.2.4 to 3.2.5
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.2.4...3.2.5)

Updates `svelte` from 4.2.9 to 4.2.10
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/svelte@4.2.10/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@4.2.10/packages/svelte)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-python"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: "@codemirror/language"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: nanoid
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 22:27:01 +00:00
dependabot[bot]
8759439738
Bump the npm-minor-updates group with 4 updates
Bumps the npm-minor-updates group with 4 updates: [@sentry/sveltekit](https://github.com/getsentry/sentry-javascript), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [posthog-js](https://github.com/PostHog/posthog-js).


Updates `@sentry/sveltekit` from 7.98.0 to 7.100.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.98.0...7.100.0)

Updates `@typescript-eslint/eslint-plugin` from 6.19.1 to 6.21.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.21.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.19.1 to 6.21.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.21.0/packages/parser)

Updates `posthog-js` from 1.103.1 to 1.105.0
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.103.1...v1.105.0)

---
updated-dependencies:
- dependency-name: "@sentry/sveltekit"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-updates
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-updates
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-updates
- dependency-name: posthog-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 22:19:05 +00:00
Mattias Granlund
eb1556f0d7 Show merge button for PRs without checks
- for now the button will unfortunately only appear after five seconds when no checks are configured
- we need to find an API that tells us if checks are configured or not
- octokit.checks.listForRef gives [] result immediately after pr created, then changes
2024-02-05 19:05:26 +01:00
Mattias Granlund
d3aca530fa Fetch base branch after merging pull request 2024-02-05 13:56:04 +01:00
Mattias Granlund
ecd37a38a8 Retry fetching checks after PR creation 2024-02-05 13:46:11 +01:00
Mattias Granlund
f45e29b474 Add dropdown for choice of merge, rebase and squash 2024-02-04 22:19:58 +01:00
Mattias Granlund
34b10fae7d
Show disabled "merged" button when PR merged 2024-02-04 21:19:07 +01:00
Mattias Granlund
a64ea2586c
Bugfix pr status when pr closed and remote branch deleted
- manually refetch after completing merge
- change update terminology to fetch, reads more correct
2024-02-04 20:58:57 +01:00
Mattias Granlund
1eb7c34fae
Add error handling for failure to load PR status
- silently ignore if commit/sha not found (happens after merge)
2024-02-04 20:28:00 +01:00
Mattias Granlund
cee31fe1bf Make PR status reloadable
- also adds tooltip based on status
2024-02-04 20:18:08 +01:00
Mattias Granlund
0c63a1b7cf Add github checks status to branch header
- more work needed on when to request and how often to update
2024-02-04 19:09:08 +01:00
Mattias Granlund
a34f766dac Remove resizer from FileCard component
- resizing should be done in context of e.g. branch lane
- leaves branch previews with simpler max 50rem file previews
- no need for those pages to have resizers since we have no actual designs yet
2024-02-04 13:41:34 +01:00
Mattias Granlund
6a56fa582c Show busy indicator when updating base branch
- make update button its own component
- show busy while updating
- remove unnecessary log statement
2024-02-04 12:38:25 +01:00
Mattias Granlund
26fdfdbc39 Pre-populate default when changing remote branch name
- requested by r0derik on discord
2024-02-04 10:38:25 +01:00
Mattias Granlund
ca89384ef5 Fix file status for remote files
- the heuristics for A and D are correct when there is exactly one hunk
- more than one hunk means the file was modified
2024-02-04 10:24:55 +01:00
Mattias Granlund
389959b756 Add option for creating draft pull request
- as additional option for the push button
2024-02-04 10:24:40 +01:00
Mattias Granlund
d68ae9e697 Fix typo in error message 2024-02-03 15:30:48 +01:00
Mattias Granlund
d900ad9649 Remove drag handle from branch preview headers
- would be preferable to reuse header layout than copying it branch lanes
2024-02-03 15:19:42 +01:00
Mattias Granlund
cdaaccae2c Add commit link to footer of opened commit card 2024-02-02 17:54:46 +01:00
Mattias Granlund
a7aad139c0 Use same route for viewing remote branchs and PRs
- like in the board, show tag with link to pull request
- if remote branch does not exist then fall back to old page
- similar header to other branches
- explore commit diffs
2024-02-02 17:54:46 +01:00
Mattias Granlund
78296f76b0 fix: delete branch instead of applying branch 2024-02-02 15:18:46 +01:00
Mattias Granlund
79e0cc7c2f Remove clowny console.log 2024-02-01 18:06:45 +01:00
Mattias Granlund
7b4ea0e45e Compute file status for remote files
- based on the diff header
2024-02-01 18:03:10 +01:00
Mattias Granlund
a85087436c Fix commit card styling
- refactored a bit after losing the 10px gap between description and author
2024-02-01 17:59:33 +01:00
Mattias Granlund
874005c1ff Enable file diff viewing for commits in trunk 2024-02-01 17:49:32 +01:00
Mattias Granlund
e5fe606ab0 Lock hunks when viewing remote files
- readonly prop for hunks to disable cursor and dragging
- removes a console.log
- undo a previous change related to AnyFile
- fix gap between text selection blocks line numbers
2024-02-01 16:02:28 +01:00
Mattias Granlund
90e7b0f192 Replace LocalFile | RemoteFile with AnyFile 2024-02-01 11:07:13 +01:00
Mattias Granlund
c813dddcd9 Rename File -> LocalFile 2024-02-01 11:07:13 +01:00
Mattias Granlund
f5428dcec7 Make it possible to view remote commits using existing components
- we need a union type rather than using File | RemoteFile everywhere
2024-02-01 11:07:13 +01:00
Mattias Granlund
2138a5cc03 Use same FileDiff in FileCard and CommitCard 2024-01-31 18:40:33 +01:00
Mattias Granlund
d838d39600 Extract FileDiff component from FileCard 2024-01-31 18:40:33 +01:00
Mattias Granlund
f5b86497b9 Fix clone with rotation bug (drag & drop) 2024-01-31 13:30:14 +01:00
Mattias Granlund
4de440e444 Refactor hunk viewer (and break it out from FileCard)
- necessary for aligning commit diff viewer and branch diff viewer
2024-01-31 13:22:28 +01:00
Mattias Granlund
3d5a692eee Refactor Icon component
- remove last specific icon svelte component in favor of inline
- move Icon component to common components lib
2024-01-31 13:13:07 +01:00
Pavel Laptev
27c5d704b3 lint fixes 2024-01-30 14:27:32 +01:00
Pavel Laptev
0a554057f8 New branch container width updated 2024-01-30 14:24:33 +01:00
Pavel Laptev
4c76c9d6fc lint fixes 2024-01-30 00:01:34 +01:00
Pavel Laptev
7b549f5cfb added condtional tag rendering to Project setup 2024-01-29 23:55:11 +01:00
Pavel Laptev
381f8b87fc Project setup and decorative view layout fixes, svg icon opacity issue fixed 2024-01-29 23:50:43 +01:00
Mattias Granlund
c7df449b1a Add help param to BranchIcon component
- fixes position of tooltip
2024-01-29 23:09:38 +01:00
Mattias Granlund
0ae3b2f3b2 Allow undefined param for front end tooltip
- makes it easier to bind to properties that can be undefined
2024-01-29 23:07:14 +01:00
Mattias Granlund
6c0da83d1e Fix a couple of small things 2024-01-29 22:24:42 +01:00
Kiril Videlov
cea360a0cd refactor: remove console.log statement from tooltip getter 2024-01-29 20:22:11 +01:00
Kiril Videlov
c17580e8e1 feat: add tooltip functionality to branch icons in the UI to provide additional information about the branch state
chore: remove duplicate import of tooltip in a component
2024-01-29 20:18:16 +01:00
Mattias Granlund
0315ff20a9 Add delete branch button for unapplied branches
- reported missing by discord user
2024-01-29 19:53:26 +01:00
Kiril Videlov
6232bf3267 fix: dragging of lanes on Linux / Windows 2024-01-29 19:35:58 +01:00
Kiril Videlov
f8d02dfe4e fix: commit card style attribute 2024-01-29 17:50:21 +01:00
dependabot[bot]
8bab1f6e07 Bump the npm-patch-updates group with 4 updates
Bumps the npm-patch-updates group with 4 updates: [@codemirror/lang-html](https://github.com/codemirror/lang-html), [@codemirror/view](https://github.com/codemirror/view), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser).


Updates `@codemirror/lang-html` from 6.4.7 to 6.4.8
- [Changelog](https://github.com/codemirror/lang-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-html/compare/6.4.7...6.4.8)

Updates `@codemirror/view` from 6.23.0 to 6.23.1
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/view/compare/6.23.0...6.23.1)

Updates `@typescript-eslint/eslint-plugin` from 6.19.0 to 6.19.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.19.0 to 6.19.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.19.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-html"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: "@codemirror/view"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 16:51:22 +01:00
dependabot[bot]
d5b77bd98f Bump the npm-minor-updates group with 2 updates
Bumps the npm-minor-updates group with 2 updates: [@sentry/sveltekit](https://github.com/getsentry/sentry-javascript) and [posthog-js](https://github.com/PostHog/posthog-js).


Updates `@sentry/sveltekit` from 7.94.1 to 7.98.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.94.1...7.98.0)

Updates `posthog-js` from 1.100.0 to 1.103.1
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.100.0...v1.103.1)

---
updated-dependencies:
- dependency-name: "@sentry/sveltekit"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-updates
- dependency-name: posthog-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 16:50:34 +01:00
Mattias Granlund
7660b4c4f0 Separate dropzone from draggable 2024-01-29 16:23:12 +01:00
Mattias Granlund
de4cd8e5a4 Delete most standalone (and unused) icons 2024-01-29 15:59:19 +01:00
Mattias Granlund
8c26d6794a Delete unused code and move more things
- part of ongoing project structure cleanup
2024-01-29 15:59:19 +01:00
Mattias Granlund
fb2f8cca16 Moving the rest of components into $lib
- the routing structure is now almost free from component files
2024-01-29 15:21:35 +01:00
Mattias Granlund
9d762f295d Delete unused components 2024-01-29 14:47:04 +01:00
Mattias Granlund
1eb0ba432a Move more components into $lib 2024-01-29 14:47:04 +01:00
Mattias Granlund
8d878ee96c Move components into $lib
- tidying up project structure
2024-01-29 14:47:04 +01:00
Mattias Granlund
34ceebfcb9 Rename branch property readonly -> isUnapplied 2024-01-29 14:21:32 +01:00
Mattias Granlund
ecede7f6a6 fix: add error toast notification when loading remote branches fails 2024-01-29 13:57:47 +01:00
Pavel Laptev
b78cbda736 target branch color updated 2024-01-29 12:31:00 +01:00
Mattias Granlund
89b0384f48 chore: update label for stashed context menu item to "Unapplied" 2024-01-29 11:28:08 +01:00
Mattias Granlund
9d4a709012 Sort front end imports using eslint plugin 2024-01-29 09:44:08 +01:00
Mattias Granlund
80b48778f8 Enable eslint import/order plugin 2024-01-29 09:44:08 +01:00
Mattias Granlund
45c84564d4 Drop unused card expansions code 2024-01-29 09:44:08 +01:00
Pavel Laptev
e3daa34873 illustration updated 2024-01-28 21:25:19 +01:00
Mattias Granlund
eca69de970 Use 1 sec tooltip delay for ahead/behind 2024-01-28 21:24:50 +01:00
Mattias Granlund
e5c5d143a6 Remove plus/minus signs from ahead behind
- also separates tooltip into two separate tooltips
2024-01-28 21:24:50 +01:00
Kiril Videlov
7a05d6914c feat: adds configurable telemetry settings for error reporting and metrics tracking 2024-01-28 12:59:22 +01:00
Pavel Laptev
7880be56d2 hide empty containers 2024-01-28 03:19:51 +01:00
Pavel Laptev
c1d0746cc2 Tokens updates and commits footer layout fix 2024-01-28 02:57:23 +01:00
Kiril Videlov
86714636d5 chore: remove unnecessary console.log statements 2024-01-27 20:17:25 +01:00
Mattias Granlund
d9102716d8 Put stashed branches in the sidenav again 2024-01-27 14:39:04 +01:00
Mattias Granlund
a561a004f7 Fix diff indentation problem
- we adjusted indentation in the past when we had no horizontal scroll
2024-01-27 13:44:14 +01:00
Mattias Granlund
7ded6ae5b6 chore: fix filterByText function to correctly filter branches by search term 2024-01-27 13:30:30 +01:00
Mattias Granlund
9d7ebabb84 chore: remove user-select: none from board 2024-01-27 13:25:27 +01:00
Mattias Granlund
e6107aab30 chore: remove unused draggable file feature from file card component 2024-01-27 13:24:47 +01:00
Mattias Granlund
20c725819b feat: add distinctUntilChanged operator to prevent emitting duplicate values in getHeads function 2024-01-26 14:32:18 +01:00