Commit Graph

887 Commits

Author SHA1 Message Date
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
Mattias Granlund
6b3e1ee027 Fix dragging file while file card open 2024-01-26 14:17:37 +01:00
Mattias Granlund
23e7cd7409 feat: add toggle button to stash/unstash branch changes in the UI 2024-01-26 11:58:59 +01:00
Mattias Granlund
85ce4a7b40 Set correct tooltip font-size 2024-01-26 11:23:34 +01:00
Mattias Granlund
83523e811a Nit pick some variable names in tooltip.ts 2024-01-25 23:26:34 +01:00
Mattias Granlund
79629e9ca6 Replace tooltip with use:directive implementation
- tooltip placed in document root, absolutely positioned
- position retained during zoom
2024-01-25 20:19:16 +01:00
Kiril Videlov
35fd485858 chore: remove unused code and styles for update banner component 2024-01-25 14:21:48 +01:00
Pavel Laptev
f9b1bffdf4 updated resize shift variable 2024-01-25 01:52:17 +01:00
Kiril Videlov
df81625c1f chore: add tooltips to provide additional information for unapplied and applied branch changes buttons 2024-01-24 22:47:45 +01:00
Kiril Videlov
3a1b79ad4f chore: update tooltips for stashed changes and virtual branch changes in the UI 2024-01-24 22:18:42 +01:00
Kiril Videlov
bc2674d9f3 chore: update branch selection buttons with tooltips to clarify their functionality 2024-01-24 22:18:21 +01:00
Qix
0195eacc73
Merge pull request #2382 from gitbutlerapp/dependabot/npm_and_yarn/npm-patch-updates-33a9f5d2c6
chore(deps-dev): bump the npm-patch-updates group with 2 updates
2024-01-24 18:41:43 +01:00
Mattias Granlund
eacb2db6c6 Use textbox components on settings page 2024-01-24 18:26:16 +01:00
Kiril Videlov
975729d409 chore: update terminology from "applied branches" to "workspace" 2024-01-24 17:50:36 +01:00
Pavel Laptev
04db6b7da1
Merge pull request #2428 from gitbutlerapp/lane-style-updates
Lane style updates
2024-01-24 16:53:11 +01:00
Mattias Granlund
8c72a6b7f3 Remove dead stashed branches code 2024-01-24 16:52:33 +01:00
Pavel Laptev
463a0db255 unused CSS removed 2024-01-24 16:51:20 +01:00
Pavel Laptev
0935f1db75 File card animation duration updated 2024-01-24 16:49:06 +01:00
Pavel Laptev
c4f9973373 lint fixes 2024-01-24 16:38:06 +01:00
Pavel Laptev
0db0f0342b lint fixes 2024-01-24 16:29:49 +01:00
Pavel Laptev
bfffc227e4 lint fixes 2024-01-24 16:24:43 +01:00
Pavel Laptev
9176b0e693 Merged origin/master into lane-style-updates 2024-01-24 16:20:25 +01:00
Pavel Laptev
e4ef5fb497 resizer updated, expander icon hover updated 2024-01-24 16:20:17 +01:00
Mattias Granlund
b4d56e191f Fix posthog events
- broken due register call coming before init
2024-01-24 15:30:04 +01:00
Pavel Laptev
73cad6b808 Update lane and board styles 2024-01-24 11:16:18 +01:00
Pavel Laptev
6999c94586 Merged origin/master into lane-style-updates 2024-01-24 11:08:01 +01:00
Pavel Laptev
8934384d83 Merged origin/master into lane-style-updates 2024-01-24 11:07:32 +01:00
Mattias Granlund
3e37ffc095 Go to board instead of base on startup 2024-01-24 10:55:24 +01:00
Mattias Granlund
0cacc62c34 Move PR creation logic to service
- makes the UI component easier to manage
2024-01-24 10:45:07 +01:00
Mattias Granlund
84807f3e9b Drop unused stashed preview file 2024-01-24 10:39:39 +01:00
Pavel Laptev
c1364a1fe5 many trunk changes 2024-01-24 10:27:51 +01:00
Mattias Granlund
3e93e82765 fix: update check for branch link selection to use endsWith() instead of includes() 2024-01-24 10:18:18 +01:00
Mattias Granlund
717e5a6dcd Filter sidenav branches correctly
- incorrect filtering included unapplied vbranches with upstream
2024-01-24 00:18:18 +01:00
Pavel Laptev
56107652bb fixing branches height 2024-01-24 00:14:23 +01:00
Mattias Granlund
16ab8d71c8 fix: update check for new updates to not show banner if app is up to date 2024-01-23 22:09:29 +01:00
Mattias Granlund
a56ea36666 Keep unapplied branches in the board
- disable draggables and drop zones when readonly
- dim header and add tag to distinguish from other statuses
2024-01-23 21:47:21 +01:00
Mattias Granlund
8671249176 Fix short lane context menu clipping 2024-01-23 21:26:51 +01:00
Mattias Granlund
0d266467ad Make code selectable again 2024-01-23 21:25:17 +01:00
Pavel Laptev
91e0bdd19e Merged origin/master into Lane style updates 2024-01-23 17:40:14 +01:00
Pavel Laptev
06457badd6 status tag colors and copy updated 2024-01-23 17:38:10 +01:00
Pavel Laptev
027cee9f0e Merged origin/master into Lane style updates 2024-01-23 17:21:58 +01:00
Pavel Laptev
2aa4ff7169 workaround for full height containers 2024-01-23 17:21:21 +01:00
Mattias Granlund
2f874b2541 Grow file card to match lane width 2024-01-23 17:05:42 +01:00
Pavel Laptev
db309df701 lane style updates 2024-01-23 16:39:08 +01:00
Mattias Granlund
7f0434cbb1 Fix frontend branch name transformation 2024-01-23 16:12:31 +01:00
Mattias Granlund
94882fb83a Fix pr creation by awaiting push & reload 2024-01-23 16:09:40 +01:00
Mattias Granlund
e95f8319e0 fix: remove unnecessary check for hunk.locked in ContextMenuItem 2024-01-23 16:08:03 +01:00
Mattias Granlund
14cafcdc1e Move Sentry initialization
- makes sense to have it in sentry.ts and called from root layout.ts
2024-01-23 15:09:37 +01:00
Mattias Granlund
3915ff2530 chore: refactor PostHog initialization and capture branch push wait count for analytics 2024-01-23 14:49:30 +01:00
Mattias Granlund
2bab8d5cb5 Add try/catch to creating pr 2024-01-23 13:56:08 +01:00
Mattias Granlund
d798ef84c0 Fix idleness after PR creation
- also drop unused dependencies
2024-01-23 11:44:28 +01:00
Mattias Granlund
7b60d60072 Improve PR creation
- skip pushing if no local commits
- retry pr creation without pushing again
2024-01-23 11:13:42 +01:00
Mattias Granlund
51f727c950
Merge pull request #2389 from gitbutlerapp/simpify-app-updater-logic
Simpify app updater logic
2024-01-23 10:32:49 +01:00
Mattias Granlund
6a4b78a0be Simplify app updating logic
- combines both install available and install status into one stream
2024-01-23 10:30:58 +01:00
Kiril Videlov
1b149af40c 🐛 fix: disable draggable hunk if it is locked or readonly 2024-01-23 10:22:52 +01:00
Mattias Granlund
ed62435ecd
Merge pull request #2388 from gitbutlerapp/improve-select-drop-down-component
Improve select drop down component
2024-01-23 10:12:54 +01:00
Mattias Granlund
d0ac00be97 Improve select drop down component
- selected option no longer disabled
- replace native select on project setup page
- initially selected item bound by value
- limit drop down height
- make drop down scrollable
2024-01-23 10:10:53 +01:00
Kiril Videlov
1c2634c824 on hover show what a hunk is locked to 2024-01-22 18:06:40 +01:00
Kiril Videlov
7d69bf6112 add tauri drag regions 2024-01-22 17:27:30 +01:00
dependabot[bot]
4079e6d87e
chore(deps-dev): bump the npm-patch-updates group with 2 updates
Bumps the npm-patch-updates group with 2 updates: [@types/crypto-js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/crypto-js) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `@types/crypto-js` from 4.2.1 to 4.2.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/crypto-js)

Updates `vite` from 4.5.1 to 4.5.2
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite)

---
updated-dependencies:
- dependency-name: "@types/crypto-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: vite
  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-22 15:38:11 +00:00
Kiril Videlov
8ac1367e78 make some elements non-selectable 2024-01-22 16:17:46 +01:00
Kiril Videlov
e2d1777a19 🎨 style: update text in new branch creation UI 2024-01-22 14:17:34 +01:00
Mattias Granlund
e6d9691396 Remote "target" button in readonly mode 2024-01-22 10:48:57 +01:00
Pavel Laptev
86f4a91da2 styles updated 2024-01-21 21:58:53 +01:00
Kiril Videlov
61ad099feb this is a revert to a previous working version 2024-01-21 21:28:43 +01:00
Pavel Laptev
2b9318da15 updated “Up to date screen" 2024-01-21 20:50:44 +01:00
Pavel Laptev
9e119e4e47 minor css fixes 2024-01-20 16:29:40 +01:00
Pavel Laptev
bfa3ba69f0 css fixes 2024-01-20 16:29:06 +01:00
Pavel Laptev
3407c52219 tag component - added new property “shrinkable” in order to make the text in the component shrinkable with ellipsis 2024-01-20 16:17:15 +01:00
Pavel Laptev
bc808248f3 added new data attr in order to exclude elements from the draggable preview 2024-01-20 16:02:38 +01:00
Pavel Laptev
ad3d05ddd2 Status tag updated 2024-01-20 03:41:03 +01:00
Pavel Laptev
ff62088bac lane styles simplified, default cursor updated, Tag component cursor updated, Icon button updated. 2024-01-20 03:23:53 +01:00
Pavel Laptev
09d4b99e27 added notClickable to buttons, dropzone fixes 2024-01-20 01:06:04 +01:00
Kiril Videlov
0439559a5c Improved hunk locking
Adds a lockedBy property to hunks on the API, containing a commit id to whitch the hunk is considered locked
2024-01-19 22:03:26 +01:00
dependabot[bot]
e2d0df225d
chore(deps-dev): bump the npm-patch-updates group with 10 updates
Bumps the npm-patch-updates group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@codemirror/lang-markdown](https://github.com/codemirror/lang-markdown) | `6.2.3` | `6.2.4` |
| [@codemirror/lang-vue](https://github.com/codemirror/lang-vue) | `0.1.2` | `0.1.3` |
| [@codemirror/lang-wast](https://github.com/codemirror/lang-wast) | `6.0.1` | `6.0.2` |
| [@types/diff](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/diff) | `5.0.3` | `5.0.9` |
| [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.16` | `10.4.17` |
| [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | `2.29.0` | `2.29.1` |
| [postcss](https://github.com/postcss/postcss) | `8.4.31` | `8.4.33` |
| [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) | `0.5.6` | `0.5.11` |
| [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) | `4.2.2` | `4.2.9` |
| [svelte-check](https://github.com/sveltejs/language-tools) | `3.6.2` | `3.6.3` |


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

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

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

Updates `@types/diff` from 5.0.3 to 5.0.9
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/diff)

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

Updates `eslint-plugin-import` from 2.29.0 to 2.29.1
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.29.0...v2.29.1)

Updates `postcss` from 8.4.31 to 8.4.33
- [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.31...8.4.33)

Updates `prettier-plugin-tailwindcss` from 0.5.6 to 0.5.11
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.6...v0.5.11)

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

Updates `svelte-check` from 3.6.2 to 3.6.3
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-3.6.2...svelte-check-3.6.3)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-markdown"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: "@codemirror/lang-vue"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: "@codemirror/lang-wast"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: "@types/diff"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-patch-updates
- dependency-name: eslint-plugin-import
  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-plugin-tailwindcss
  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
- dependency-name: svelte-check
  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-19 17:57:02 +00:00
dependabot[bot]
2de5df540b
chore(deps-dev): bump the minor group with 10 updates
Bumps the minor group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@codemirror/view](https://github.com/codemirror/view) | `6.22.0` | `6.23.0` |
| [@sentry/sveltekit](https://github.com/getsentry/sentry-javascript) | `7.73.0` | `7.94.1` |
| [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) | `1.27.5` | `1.30.3` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `6.16.0` | `6.19.0` |
| [posthog-js](https://github.com/PostHog/posthog-js) | `1.96.1` | `1.100.0` |
| [prettier](https://github.com/prettier/prettier) | `3.1.1` | `3.2.4` |
| [svelte-outclick](https://github.com/babakfp/svelte-outclick) | `3.6.2` | `3.7.0` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.3.3` | `3.4.1` |
| [tauri-plugin-context-menu](https://github.com/c2r0b/tauri-plugin-context-menu) | `0.5.0` | `0.7.0` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.2.2` | `5.3.3` |


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

Updates `@sentry/sveltekit` from 7.73.0 to 7.94.1
- [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.73.0...7.94.1)

Updates `@sveltejs/kit` from 1.27.5 to 1.30.3
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@1.30.3/packages/kit)

Updates `@typescript-eslint/parser` from 6.16.0 to 6.19.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.19.0/packages/parser)

Updates `posthog-js` from 1.96.1 to 1.100.0
- [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.96.1...v1.100.0)

Updates `prettier` from 3.1.1 to 3.2.4
- [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.1.1...3.2.4)

Updates `svelte-outclick` from 3.6.2 to 3.7.0
- [Commits](https://github.com/babakfp/svelte-outclick/commits)

Updates `tailwindcss` from 3.3.3 to 3.4.1
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.3...v3.4.1)

Updates `tauri-plugin-context-menu` from 0.5.0 to 0.7.0
- [Commits](https://github.com/c2r0b/tauri-plugin-context-menu/commits)

Updates `typescript` from 5.2.2 to 5.3.3
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.3)

---
updated-dependencies:
- dependency-name: "@codemirror/view"
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@sentry/sveltekit"
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: posthog-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: svelte-outclick
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: tauri-plugin-context-menu
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:35:08 +00:00
Qix
bd60d6ce59
Merge pull request #2335 from gitbutlerapp/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.19.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.13.2 to 6.19.0
2024-01-19 18:17:43 +01:00
Qix
85ebb018ff
Merge pull request #2331 from gitbutlerapp/dependabot/npm_and_yarn/postcss-load-config-5.0.2
chore(deps-dev): bump postcss-load-config from 4.0.1 to 5.0.2
2024-01-19 18:15:43 +01:00
dependabot[bot]
092b1fd7a7
chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.13.2 to 6.19.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.19.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:15:41 +00:00
Qix
00ab61b062
Merge pull request #2312 from gitbutlerapp/dependabot/npm_and_yarn/lezer/common-1.2.1
chore(deps-dev): bump @lezer/common from 1.1.0 to 1.2.1
2024-01-19 18:14:53 +01:00
Qix
3061db46cb
Merge pull request #2329 from gitbutlerapp/dependabot/npm_and_yarn/types/lscache-1.3.4
chore(deps-dev): bump @types/lscache from 1.3.2 to 1.3.4
2024-01-19 18:14:14 +01:00
Qix
46e740d1da
Merge pull request #2330 from gitbutlerapp/dependabot/npm_and_yarn/inter-ui-4.0.1
chore(deps-dev): bump inter-ui from 3.19.3 to 4.0.1
2024-01-19 18:14:05 +01:00
Qix
fa0b65b041
Merge pull request #2328 from gitbutlerapp/dependabot/npm_and_yarn/reflect-metadata-0.2.1
chore(deps-dev): bump reflect-metadata from 0.1.13 to 0.2.1
2024-01-19 18:13:57 +01:00
dependabot[bot]
772b33daa0
chore(deps-dev): bump @lezer/common from 1.1.0 to 1.2.1
Bumps [@lezer/common](https://github.com/lezer-parser/common) from 1.1.0 to 1.2.1.
- [Changelog](https://github.com/lezer-parser/common/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lezer-parser/common/compare/1.1.0...1.2.1)

---
updated-dependencies:
- dependency-name: "@lezer/common"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:12:29 +00:00
Qix
84cf756515
Merge pull request #2285 from gitbutlerapp/dependabot/npm_and_yarn/vite-4.5.1
Bump vite from 4.5.0 to 4.5.1
2024-01-19 18:11:24 +01:00
dependabot[bot]
5d041c472f
chore(deps-dev): bump postcss-load-config from 4.0.1 to 5.0.2
Bumps [postcss-load-config](https://github.com/postcss/postcss-load-config) from 4.0.1 to 5.0.2.
- [Release notes](https://github.com/postcss/postcss-load-config/releases)
- [Changelog](https://github.com/postcss/postcss-load-config/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-load-config/compare/v4.0.1...5.0.2)

---
updated-dependencies:
- dependency-name: postcss-load-config
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:10:55 +00:00
dependabot[bot]
5693b6b8be
chore(deps-dev): bump inter-ui from 3.19.3 to 4.0.1
Bumps [inter-ui](https://github.com/philipbelesky/inter-ui) from 3.19.3 to 4.0.1.
- [Changelog](https://github.com/philipbelesky/inter-ui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/philipbelesky/inter-ui/commits)

---
updated-dependencies:
- dependency-name: inter-ui
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:09:56 +00:00
dependabot[bot]
44116ffa0f
chore(deps-dev): bump @types/lscache from 1.3.2 to 1.3.4
Bumps [@types/lscache](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lscache) from 1.3.2 to 1.3.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lscache)

---
updated-dependencies:
- dependency-name: "@types/lscache"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:09:37 +00:00
dependabot[bot]
2d6f1a95ab
chore(deps-dev): bump reflect-metadata from 0.1.13 to 0.2.1
Bumps [reflect-metadata](https://github.com/rbuckton/reflect-metadata) from 0.1.13 to 0.2.1.
- [Release notes](https://github.com/rbuckton/reflect-metadata/releases)
- [Changelog](https://github.com/rbuckton/reflect-metadata/blob/main/tsconfig-release.json)
- [Commits](https://github.com/rbuckton/reflect-metadata/compare/v0.1.13...v0.2.1)

---
updated-dependencies:
- dependency-name: reflect-metadata
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:09:19 +00:00
dependabot[bot]
d1de23fafc
chore(deps-dev): bump @codemirror/lang-html from 6.4.6 to 6.4.7
Bumps [@codemirror/lang-html](https://github.com/codemirror/lang-html) from 6.4.6 to 6.4.7.
- [Changelog](https://github.com/codemirror/lang-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-html/compare/6.4.6...6.4.7)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-html"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:04:56 +00:00
dependabot[bot]
2cf43afc44
chore(deps-dev): bump @codemirror/language from 6.9.3 to 6.10.0
Bumps [@codemirror/language](https://github.com/codemirror/language) from 6.9.3 to 6.10.0.
- [Changelog](https://github.com/codemirror/language/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/language/compare/6.9.3...6.10.0)

---
updated-dependencies:
- dependency-name: "@codemirror/language"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 17:00:19 +00:00
dependabot[bot]
95409c96b6
Bump vite from 4.5.0 to 4.5.1
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.1/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 16:29:30 +00:00
Pavel Laptev
f1910d47d6 minor css fixes 2024-01-19 14:13:27 +01:00
Pavel Laptev
68b8156604 minor css fixes 2024-01-19 14:12:23 +01:00
Mattias Granlund
965a51e1e8 Refactor branch lane layout
- whole lane scrollable rather than individual sections
- new upstream commit section
- fixed header at the top
- fixes scroll lock issue with nested scroll containers
- known issue with grey padding on drag
2024-01-19 13:58:37 +01:00
Pavel Laptev
676d9dbed7 minor css update 2024-01-19 01:34:47 +01:00
Pavel Laptev
2d61eab2e0 Dragndrop caption fontsize updated 2024-01-19 01:28:30 +01:00
Pavel Laptev
3ee42e8d3b minor styles tweak 2024-01-19 01:25:48 +01:00
Pavel Laptev
550583fc38 empty states updated, added missing text class 2024-01-19 00:48:10 +01:00
Qix
40cdc3a990
Merge pull request #2192 from gitbutlerapp/dependabot/npm_and_yarn/codemirror/state-6.4.0
chore(deps-dev): bump @codemirror/state from 6.3.1 to 6.4.0
2024-01-18 17:31:18 +01:00
Qix
aac17f7ddd
Merge pull request #2150 from gitbutlerapp/dependabot/npm_and_yarn/nanoid-5.0.4
chore(deps-dev): bump nanoid from 5.0.3 to 5.0.4
2024-01-18 17:30:46 +01:00
Mattias Granlund
cc44e2c8ff Add initial value for branches observable 2024-01-18 16:01:36 +01:00
Mattias Granlund
dd73f2397f Fix board reactivity when switching projects
- you would see old branch data until list_virtual_branches returned
2024-01-18 15:57:05 +01:00
Kiril Videlov
7b36315149 use the new change type to determine add/del/modified instead of hunk header 2024-01-18 15:31:53 +01:00
Kiril Videlov
27347f66fb serialize enum with lowercase 2024-01-18 15:31:53 +01:00
Kiril Videlov
8d564a6b45 skip types that we dont need for frontend 2024-01-18 15:31:53 +01:00
Kiril Videlov
b9b72fe7e2 🔨 chore: refactor diff printing to include change type information 2024-01-18 15:31:53 +01:00
Mattias Granlund
9e79bebb67 Show js error on problem loading repo page 2024-01-18 14:26:11 +01:00
Mattias Granlund
b5f3bb3609 feat: add tooltip to ahead/behind 2024-01-18 14:01:52 +01:00
Mattias Granlund
104a02c4ec feat: add locked indicator to file diff section
The changes in this commit add a locked indicator to the file diff section in the Svelte component. This indicator will be displayed if the section's hunk is locked.
2024-01-18 12:23:47 +01:00
Pavel Laptev
d8556e7b74 input width calculation fixed 2024-01-18 12:04:03 +01:00
Mattias Granlund
be55e6b487 Update ahead/behind again
- changed the style again to be more subtle
2024-01-18 11:50:51 +01:00
Pavel Laptev
736bee1706 new text class 2024-01-18 11:32:27 +01:00
Mattias Granlund
68b23c20f3 Update ahead/behind styles 2024-01-18 11:11:09 +01:00
Pavel Laptev
414f0ddde7 format updated 2024-01-18 02:13:45 +01:00
Pavel Laptev
5aa57b9189 Prettier formatted 2024-01-18 02:10:38 +01:00
Pavel Laptev
281c5e8c4c udated font spelling 2024-01-18 02:09:50 +01:00
Pavel Laptev
b78c46d999 Updated ahead/behind 2024-01-18 02:07:29 +01:00
Pavel Laptev
e567f29c21 Mono font updated 2024-01-18 02:01:17 +01:00
Kiril Videlov
a26a87f655 improve sentry perfm metrics fr pr service 2024-01-17 22:56:12 +01:00
Mattias Granlund
7ad3be8350 Fix even more UI bugs
- show delete confirmation dialog from problem loading repo page
- prevent error signal race condition when deleting project
- move app window from decorated view
- fix selected item in select list
2024-01-17 18:05:23 +01:00
Mattias Granlund
d26bb05027 Pnpm format files 2024-01-17 17:52:54 +01:00
Qix
163acf7d89
tell prettier to ignore .editorconfig (#2293)
* tell prettier to ignore .editorconfig

* tell prettier to ignore .editorconfig
2024-01-17 16:45:43 +00:00
Mattias Granlund
845855dc81 fix: update context menu labels for creating branches to the left and right 2024-01-17 16:47:18 +01:00
Mattias Granlund
da5fd9cc7a Add ahead/behind to navigation panel 2024-01-17 16:23:22 +01:00
Mattias Granlund
1dbba1f9db Fix sync & delete button UI bugs 2024-01-17 15:59:21 +01:00
Mattias Granlund
942316861a Fixes a few bugs
- project setup back button
- delete repo from problem page
- go to home screen after deleting repo from settings page
2024-01-17 14:18:51 +01:00
Mattias Granlund
52887a96bd Fix occasional back button issue 2024-01-17 12:42:16 +01:00
Mattias Granlund
47012bfe2f Hook up new app uodater 2024-01-17 00:08:17 +01:00
Pavel Laptev
50dfc8a967 - color replaced to a variable 2024-01-17 00:08:17 +01:00
Pavel Laptev
08cf0a658a update component updated 2024-01-17 00:08:17 +01:00
Pavel Laptev
5c30a71b3b Returned back for attr to the selector 2024-01-17 00:03:47 +01:00
Pavel Laptev
ad2ce2f83f Added new “error” state image, a few minor CSS fixes 2024-01-16 23:57:51 +01:00
Kiril Videlov
32a65ae110 feat: add instrumentation for creating pull requests in GitHub service 2024-01-16 22:49:33 +02:00
Pavel Laptev
f72f9b15b0 updated icons, “disabled” state for the Tag component 2024-01-16 16:56:49 +01:00
Mattias Granlund
3fb9dacbee More "problem state" improvements
- show project name on problem pages
- improve project switcher
2024-01-16 16:33:30 +01:00
Pavel Laptev
c316d9f4f1 tokens updates 2024-01-16 01:07:17 +01:00
Pavel Laptev
ee4552e8ee new icons and tokens 2024-01-15 22:25:15 +01:00
Kiril Videlov
45352e1a6a sanitize branch url 2024-01-15 22:34:45 +02:00
Mattias Granlund
01da5bee3e Refactor error pages
- new switched away from page
- new problem loading repo page
2024-01-15 20:35:40 +01:00
Pavel Laptev
90ff0c970b Added Iosevka font 2024-01-15 12:51:18 +01:00
Pavel Laptev
91eef7cb73 new text style added, tokens updated 2024-01-15 12:36:26 +01:00
Nikita Galaiko
1fd6b81c0f remove console.log 2024-01-15 10:31:10 +01:00
Nikita Galaiko
c75cf09bcf send local key update on change 2024-01-15 09:43:31 +01:00
Pavel Laptev
9f89cfcb65 removed test variable 2024-01-14 23:25:27 +01:00
Pavel Laptev
cd27581c45 updated welcome screen + tokens 2024-01-14 23:23:01 +01:00
Pavel Laptev
b79128a382 images updated 2024-01-14 15:51:37 +01:00
Pavel Laptev
410e54f512 iocns updated 2024-01-14 15:21:09 +01:00
Pavel Laptev
7c5e4a7360 Branch header updates 2024-01-14 14:50:46 +01:00
Mattias Granlund
456906d2e7 Make welcome screen responsive
- missed in earlier commit
2024-01-14 14:13:10 +01:00
Mattias Granlund
bec89c61fa New design for first experience and errors
- new welcome screen
- default to last opened project
- show decorated view when branch changed
- show decorated error view when repo can't be loaded

This commit became a bit too big, with many interdependent changes. Keep an eye out for regressions.
2024-01-14 13:59:28 +01:00
Pavel Laptev
ce9750bacc Project setup illustration update 2024-01-13 23:40:37 +01:00
Kiril Videlov
3419240e19 fix a bug where dragover and drop events dont fire
this happens when the webview is chromium (widnows, linux)
2024-01-14 00:30:00 +02:00
Pavel Laptev
945157c8c5 - styles updated 2024-01-12 01:58:26 +01:00
Pavel Laptev
1523d5f8cf - added imgThemed — for images that have dark and light themes
- styles updated
2024-01-12 01:24:59 +01:00
Mattias Granlund
77dd15f7d2 Add PP Editorial New serif font 2024-01-11 17:21:41 +01:00
Mattias Granlund
1579728fde Add IconLink component 2024-01-11 17:21:33 +01:00
Pavel Laptev
9b58c53636 new icons 2024-01-11 16:02:19 +01:00
Pavel Laptev
c2c5d7e9d0 new icons 2024-01-11 14:44:47 +01:00
Mattias Granlund
b3664cb462 Refactor project setup page 2024-01-11 00:30:32 +01:00
Kiril Videlov
e8259a54d0 🎨 style: update resizer styles for better user experience 2024-01-11 00:25:06 +01:00
Pavel Laptev
50ede9188c Updated tokens 2024-01-10 22:07:07 +01:00
Kiril Videlov
a5fca009a1 🔥 refactor: remove unused summarizeHunk function and its usage 2024-01-10 19:42:06 +01:00
Kiril Videlov
548a5b8f56 💄 style: add hover effect to resizer in CSS 2024-01-10 18:22:08 +01:00
Mattias Granlund
fb339aa8a8 fix: handle case when no files are selected for branch creation 2024-01-10 16:15:32 +01:00
Mattias Granlund
85fbbf428f fix: properly handle commit completion and reset commit message 2024-01-10 14:38:12 +01:00
dependabot[bot]
e082b3006b
chore(deps-dev): bump @codemirror/state from 6.3.1 to 6.4.0
Bumps [@codemirror/state](https://github.com/codemirror/state) from 6.3.1 to 6.4.0.
- [Changelog](https://github.com/codemirror/state/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/state/compare/6.3.1...6.4.0)

---
updated-dependencies:
- dependency-name: "@codemirror/state"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 10:49:01 +00:00
Kiril Videlov
4247d71294 Revert "chore(deps-dev): bump @codemirror/lang-vue from 0.1.2 to 0.1.3"
This reverts commit 8eeadb1da0.
2024-01-10 11:46:07 +01:00
Kiril Videlov
df63e15017 Revert "chore(deps-dev): bump @codemirror/lang-html from 6.4.6 to 6.4.7"
This reverts commit 8d4a41892b.
2024-01-10 11:46:07 +01:00
Kiril Videlov
2f2f2b5eba Revert "Revert "remove sentry api key from source code""
This reverts commit 72e6df813f.
2024-01-10 10:48:19 +01:00
Kiril Videlov
500af57829 Revert "Revert "Fix branch change detection""
This reverts commit 151d2df4f6.
2024-01-10 02:04:32 +01:00
Kiril Videlov
72e6df813f Revert "remove sentry api key from source code"
This reverts commit 4417510d55.
Seems broken
2024-01-10 02:03:24 +01:00
Kiril Videlov
151d2df4f6 Revert "Fix branch change detection"
This reverts commit 527ccddba6.
Breaks nightly
2024-01-10 01:14:48 +01:00
Mattias Granlund
527ccddba6 Fix branch change detection
- used to detect error response to listing
- now just observes wether or not branch is gitbutler/integration
2024-01-09 23:33:52 +01:00
Mattias Granlund
412b7c738b Fix file list text clipping
- line height often needs to be 120% to prevent clipping
2024-01-09 23:33:10 +01:00
dependabot[bot]
1c7a203444
chore(deps-dev): bump nanoid from 5.0.3 to 5.0.4
Bumps [nanoid](https://github.com/ai/nanoid) from 5.0.3 to 5.0.4.
- [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.3...5.0.4)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 22:31:56 +00:00
dependabot[bot]
8eeadb1da0 chore(deps-dev): bump @codemirror/lang-vue from 0.1.2 to 0.1.3
Bumps [@codemirror/lang-vue](https://github.com/codemirror/lang-vue) from 0.1.2 to 0.1.3.
- [Changelog](https://github.com/codemirror/lang-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-vue/compare/0.1.2...0.1.3)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-vue"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 23:31:12 +01:00
dependabot[bot]
8d4a41892b chore(deps-dev): bump @codemirror/lang-html from 6.4.6 to 6.4.7
Bumps [@codemirror/lang-html](https://github.com/codemirror/lang-html) from 6.4.6 to 6.4.7.
- [Changelog](https://github.com/codemirror/lang-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-html/compare/6.4.6...6.4.7)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-html"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 23:31:01 +01:00
dependabot[bot]
2dbb52128d chore(deps-dev): bump posthog-js from 1.95.1 to 1.96.1
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.95.1 to 1.96.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.95.1...v1.96.1)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 23:30:43 +01:00
Pavel Laptev
19f32249ee removed unused code 2024-01-09 21:47:04 +01:00
Pavel Laptev
451d9da8ed update info message styles 2024-01-09 21:44:26 +01:00
Mattias Granlund
f5042ceada Rename DropDown -> DropDownButton 2024-01-09 15:29:05 +01:00
Pavel Laptev
6e35a9fa71 tag non existing color removed 2024-01-09 15:14:29 +01:00
Pavel Laptev
273f189709 - removed unused tokens
- some tokens renamed
2024-01-09 15:14:29 +01:00
Nikita Galaiko
ffa40422d9
Merge pull request #2203 from gitbutlerapp/fix-draggable-file-function
Fix draggable file function
2024-01-09 15:12:04 +01:00
Nikita Galaiko
8ab6b09a32 fix: amend file ownership calculation 2024-01-09 15:02:33 +01:00
Nikita Galaiko
f2514ef4c2 Merged origin/master into refactor-reader-writer 2024-01-09 10:17:19 +01:00
Nikita Galaiko
4417510d55 remove sentry api key from source code 2024-01-09 09:59:19 +01:00
Mattias Granlund
392bc45383 Fix UI recovery when switching back to gitbutler branch 2024-01-08 17:17:48 +01:00
Mattias Granlund
f481ba5311 Increase line-height of new/empty branch message 2024-01-08 17:16:45 +01:00
Nikita Galaiko
4a92abdd9e
Merge pull request #2191 from gitbutlerapp/unapply-ownership-hunks
GB-776: Unapply ownership hunks
2024-01-08 16:02:20 +01:00
Nikita Galaiko
a68064723d allow unapplying locked ownerships 2024-01-08 15:39:31 +01:00
Mattias Granlund
2fcc03e939 Fix branch change copy
- shoud say you've switched _away_ from gitbutler/integration
2024-01-08 14:19:56 +01:00
Mattias Granlund
a19939ea39 Fix zoom shortcuts on Linux 2024-01-08 10:24:45 +01:00
Mattias Granlund
f3a84e42dd Show button spinner while committing 2024-01-07 21:47:22 +01:00
Mattias Granlund
29bacad3d9 Bugfix for context menu item disabled state 2024-01-07 15:02:57 +01:00
Mattias Granlund
f7c062eb7d Disable branch rename when it has integrated commits 2024-01-07 14:03:33 +01:00
Mattias Granlund
4381bdc196 Show gap between selected files in tree view 2024-01-06 13:28:08 +01:00
Mattias Granlund
f1a8617c92 Enabme shift + click for multiple drag & drop
- utilises .selected css class for knowing what elements are being dragged
- deselects list if dragging not selected item
2024-01-06 12:57:34 +01:00
Pavel Laptev
2862dce977 updated assets 2024-01-05 16:30:27 +01:00
Pavel Laptev
59d9039119 a few CSS updates to the Branch header 2024-01-05 15:32:08 +01:00
Pavel Laptev
1cc0787983 - branch header fixes 2024-01-05 15:23:34 +01:00
Pavel Laptev
46f093fdba - dragzone updates
- dialog cancel button style updates
2024-01-05 15:11:13 +01:00
Pavel Laptev
8d762f88d0 Merged origin/master into Update new branch styling 2024-01-05 14:34:17 +01:00
Pavel Laptev
ab0a19338e - new icons
- dropzone overlay component added
2024-01-05 14:34:13 +01:00
Mattias Granlund
f09563061e Add branch and pr links to header 2024-01-05 14:14:43 +02:00
Mattias Granlund
55ae30f62f Fix duplicate list_remote_branches call
- give head and fetches streams an initial value
2024-01-05 13:25:46 +02:00
Pavel Laptev
2c9270eee9 Merged origin/master into Update new branch styling 2024-01-05 12:00:29 +01:00
Pavel Laptev
4858d41606 changed the illustration images 2024-01-05 12:00:24 +01:00
Mattias Granlund
0fcf6877f7 Fix file status determination
- this broke when we stopped loading full file contents
2024-01-05 12:32:27 +02:00
Pavel Laptev
2cf90b2218 empty state - approach with svelte components 2024-01-05 00:08:53 +01:00
Mattias Granlund
1b02c240b1 Show deleted instead of pending if branch has integrated commit(s) 2024-01-04 19:24:25 +02:00
Mattias Granlund
54773d0bfe Enable remote branch naming 2024-01-04 19:13:00 +02:00
Pavel Laptev
b731d19c69 - Line height fixes
- branch header button size update
2024-01-04 12:29:19 +01:00
Pavel Laptev
b377f37d29 removed console.log() 2024-01-04 11:53:06 +01:00
Mattias Granlund
7a3ba7324d Add new type of toast along with controller
- not hooked up to anything yet
- we need to catch specific errors and provide copy (plus action)
2024-01-04 11:21:09 +02:00
Pavel Laptev
5809ab86bd refactor: remove unused code and styles 2024-01-04 01:23:25 +01:00
Pavel Laptev
955d21ab38 - Updated changes list CSS
- Updated default line-height to 120%
- Commitbox line-height updated
2024-01-04 01:20:24 +01:00
Qix
d70c6a970b
Merge pull request #2154 from gitbutlerapp/dependabot/npm_and_yarn/typescript-eslint/parser-6.16.0
chore(deps-dev): bump @typescript-eslint/parser from 6.14.0 to 6.16.0
2024-01-03 21:25:26 +01:00
Pavel Laptev
cd2cfad353 fix: adjust position of virtual branch icon in UI 2024-01-03 17:52:09 +01:00
Pavel Laptev
2652b19d98 chore: remove unused CSS variable --clr-theme-warn-element-dark 2024-01-03 17:21:16 +01:00
Pavel Laptev
24478163ca chore: update fill color for path in SVG element to var(--clr-theme-container-light) 2024-01-03 17:18:40 +01:00
Pavel Laptev
2b94956182 style: remove unnecessary fill attribute from SVG paths and their colors updated 2024-01-03 17:15:34 +01:00
Pavel Laptev
8350fe0c6b chore: update color variables and icons 2024-01-03 17:07:29 +01:00
Mattias Granlund
e59d14067c feat: add a new Svelte component for displaying info messages with different styles and buttons 2024-01-03 15:46:15 +02:00
Mattias Granlund
9a691e1003 chore: fix typo in CSS variable name for warn element dark color 2024-01-03 15:38:28 +02:00
Mattias Granlund
012c1c4a7d feat: add support for 'warn' color option in button component 2024-01-03 15:34:34 +02:00
Mattias Granlund
9a3d458e30 Fix persisting cloud sync setting 2024-01-02 14:11:46 +02:00
dependabot[bot]
918cf8cac8
chore(deps-dev): bump @typescript-eslint/parser from 6.14.0 to 6.16.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.14.0 to 6.16.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.16.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 16:03:33 +00:00
Pavel Laptev
1626cc7fba style: update height of .textbox__input to use var(--size-btn-l) instead of var(--space-32) 2023-12-30 23:28:04 +01:00
Pavel Laptev
8a86d65c6f fix: update loading spinner behavior and style
- Fixed the loading spinner behavior.
- Updated the loading spinner style to use a circle path instead of a spinning animation for better visual effect.
- Adjusted the size and speed of the loading spinner animation.
2023-12-29 15:06:18 +01:00
Pavel Laptev
8dec8764cc tag button updated 2023-12-29 02:13:33 +01:00
Pavel Laptev
772215daeb chore: remove unnecessary CSS class and style in file list component 2023-12-29 02:10:28 +01:00
Pavel Laptev
733228a971 chore: update styling and dimensions of folder and file icons 2023-12-29 02:02:50 +01:00
Qix
c6db11ae47
Merge pull request #2136 from gitbutlerapp/dependabot/npm_and_yarn/svelte-check-3.6.2
Bump svelte-check from 3.5.2 to 3.6.2
2023-12-28 15:24:51 +01:00
Qix
1968469d25
Merge pull request #2137 from gitbutlerapp/dependabot/npm_and_yarn/tauri-apps/api-1.5.3
Bump @tauri-apps/api from 1.5.0 to 1.5.3
2023-12-28 15:24:39 +01:00
dependabot[bot]
8f67493898
Bump eslint from 8.55.0 to 8.56.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.55.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.55.0...v8.56.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 15:48:21 +00:00
dependabot[bot]
7e215f6614
Bump @tauri-apps/api from 1.5.0 to 1.5.3
Bumps [@tauri-apps/api](https://github.com/tauri-apps/tauri) from 1.5.0 to 1.5.3.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/api-v1.5...@tauri-apps/api-v1.5.3)

---
updated-dependencies:
- dependency-name: "@tauri-apps/api"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 15:48:02 +00:00
dependabot[bot]
e826f9f3f0
Bump svelte-check from 3.5.2 to 3.6.2
Bumps [svelte-check](https://github.com/sveltejs/language-tools) from 3.5.2 to 3.6.2.
- [Release notes](https://github.com/sveltejs/language-tools/releases)
- [Commits](https://github.com/sveltejs/language-tools/compare/svelte-check-3.5.2...svelte-check-3.6.2)

---
updated-dependencies:
- dependency-name: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 15:47:40 +00:00
Mattias Granlund
5209087b8d Prevent commit when no files selected 2023-12-23 17:27:54 +01:00
Mattias Granlund
56b50af8ae Revert exclusion of closed PRs
- state was more confusing when commit is integrated
2023-12-23 17:14:18 +01:00
Mattias Granlund
da9a64c817 Add select all/none to branch files list view 2023-12-23 16:55:28 +01:00
Mattias Granlund
6ee895832c Configure eslnt so that it's happy
See: https://stackoverflow.com/questions/64933543/parsing-error-cannot-read-file-tsconfig-json-eslint
2023-12-23 13:13:40 +01:00
Josh Junon
c5c51c9254 move packages/* into root as crates 2023-12-22 14:20:02 +01:00