Commit Graph

5065 Commits

Author SHA1 Message Date
Josh Junon
1cc354321d update dependabot schedule and grouping 2024-02-07 12:42:21 +01:00
Kiril Videlov
c49d6f11e9 fix: error propagation when listing remote branches 2024-02-07 10:57:19 +01:00
Nikita Galaiko
16f53de3d7
Merge pull request #2552 from gitbutlerapp/gb-818-add-test-for-unapplying-ownership
GB-818 Add test for unapplying ownership
2024-02-07 08:10:26 +01:00
Qix
f5c2cb6169
Merge pull request #2548 from gitbutlerapp/dependabot/cargo/tauri-plugin-window-state-056a458
Bump tauri-plugin-window-state from `70d9908` to `056a458`
2024-02-06 23:39:29 +01:00
Qix
f807e11b29
Merge pull request #2547 from gitbutlerapp/dependabot/cargo/tauri-plugin-single-instance-056a458
Bump tauri-plugin-single-instance from `70d9908` to `056a458`
2024-02-06 23:39:06 +01:00
Qix
0ba75b67b1
Merge pull request #2560 from gitbutlerapp/dependabot/npm_and_yarn/npm-patch-updates-ed2aa3bed1
Bump the npm-patch-updates group with 6 updates
2024-02-06 23:38:45 +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
Qix
0d201bd09c
Merge pull request #2546 from gitbutlerapp/dependabot/cargo/rust-patch-updates-1fe477dca3
Bump the rust-patch-updates group with 3 updates
2024-02-06 23:25:50 +01:00
Qix
bf47043cd3
Merge pull request #2545 from gitbutlerapp/dependabot/cargo/rust-minor-updates-f45cd5c9ce
Bump the rust-minor-updates group with 1 update
2024-02-06 23:25:35 +01:00
Qix
b4b7a9db67
Merge pull request #2559 from gitbutlerapp/dependabot/npm_and_yarn/npm-minor-updates-777d47e716
Bump the npm-minor-updates group with 4 updates
2024-02-06 23:23:26 +01: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
Qix
82a0677847
Merge pull request #2558 from gitbutlerapp/pull-request-actions-trigger
trigger CI on pull_request in addition to push
2024-02-06 23:14:16 +01:00
Josh Junon
a2cc3ea2f3 trigger CI on pull_request in addition to push 2024-02-06 23:12:43 +01:00
Qix
6761c9996d
Merge pull request #2557 from namanlp/enhance-tauri
Add authors in Packager.toml
2024-02-06 23:11:45 +01:00
Naman Garg
1cf8880a43
Update Author Email 2024-02-07 03:29:59 +05:30
Naman Garg
42befc62cd
Add authors in Packager.toml 2024-02-07 02:44:07 +05:30
Kiril Videlov
1501699689 Revert "update rate limiting for Sentry events to allow for burst"
This reverts commit 64962078d2.
2024-02-06 21:01:46 +01:00
Nikita Galaiko
a44d955262 remove obsolete test 2024-02-06 13:12:06 +01:00
Nikita Galaiko
ff8aac3d32 apply reverse hunk to unapply ownership 2024-02-06 12:48:43 +01:00
Mattias Granlund
4462d08371
Merge pull request #2550 from gitbutlerapp/show-merge-button-for-prs-without-checks
Show merge button for PRs without checks
2024-02-05 19:13:33 +01: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
dependabot[bot]
1c88d963e3
Bump tauri-plugin-window-state from 70d9908 to 056a458
Bumps [tauri-plugin-window-state](https://github.com/tauri-apps/plugins-workspace) from `70d9908` to `056a458`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](70d99086de...056a458d30)

---
updated-dependencies:
- dependency-name: tauri-plugin-window-state
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 16:24:10 +00:00
dependabot[bot]
ae78f53096
Bump tauri-plugin-single-instance from 70d9908 to 056a458
Bumps [tauri-plugin-single-instance](https://github.com/tauri-apps/plugins-workspace) from `70d9908` to `056a458`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](70d99086de...056a458d30)

---
updated-dependencies:
- dependency-name: tauri-plugin-single-instance
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 16:22:25 +00:00
dependabot[bot]
3e10cfbb3f
Bump the rust-patch-updates group with 3 updates
Bumps the rust-patch-updates group with 3 updates: [itertools](https://github.com/rust-itertools/itertools), [reqwest](https://github.com/seanmonstar/reqwest) and [sentry](https://github.com/getsentry/sentry-rust).


Updates `itertools` from 0.12.0 to 0.12.1
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.0...v0.12.1)

Updates `reqwest` from 0.11.23 to 0.11.24
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.23...v0.11.24)

Updates `sentry` from 0.32.1 to 0.32.2
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.32.1...0.32.2)

---
updated-dependencies:
- dependency-name: itertools
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-patch-updates
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-patch-updates
- dependency-name: sentry
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 16:20:33 +00:00
Nikita Galaiko
64962078d2 update rate limiting for Sentry events to allow for burst 2024-02-05 17:09:39 +01:00
dependabot[bot]
6f66db2780
Bump the rust-minor-updates group with 1 update
Bumps the rust-minor-updates group with 1 update: [tokio](https://github.com/tokio-rs/tokio).


Updates `tokio` from 1.35.1 to 1.36.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 16:08:23 +00: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
daf389a4f6
Merge pull request #2534 from gitbutlerapp/show-disabled-merged-button-when-pr-merged
Show disabled "merged" button when PR merged
2024-02-04 21:20:27 +01:00
Mattias Granlund
34b10fae7d
Show disabled "merged" button when PR merged 2024-02-04 21:19:07 +01:00
Mattias Granlund
28efb148ae
Merge pull request #2533 from gitbutlerapp/bugfix-pr-status-when-pr-closed-and-remote-branch-deleted
Bugfix pr status when pr closed and remote branch deleted
2024-02-04 21:05:10 +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
c37fbc2872
Merge pull request #2532 from gitbutlerapp/add-error-handling-for-failure-to-load-pr-status
Add error handling for failure to load PR status
2024-02-04 20:34:05 +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
f65f42f50b
Merge pull request #2531 from gitbutlerapp/make-pr-status-reloadable
Make PR status reloadable
2024-02-04 20:23:21 +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
44860048fb
Merge pull request #2530 from gitbutlerapp/add-github-checks-status-to-branch-header-test-
Add github checks status to branch header [test]
2024-02-04 19:39:19 +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