Commit Graph

8286 Commits

Author SHA1 Message Date
Jason Monsorno
eedb1095c1
Merge branch 'master' into EmptyHistory 2024-07-17 20:22:41 -04:00
Pavel Laptev
2c2c96328f
Revert "Focus on the last selected item bug (#4421)" (#4429)
This reverts commit c857d1005d.
2024-07-18 01:50:40 +02:00
Pavel Laptev
c857d1005d
Focus on the last selected item bug (#4421)
* Blur the selected item on `Esc`, elements role attr improved

* Removed `updateFocus` function

This function cause the autofocus on the previous selected item.

* Add semantic role to BranchFilesList component.

* Rearange attributes order

* Fix the Playwright test
2024-07-18 01:29:08 +02:00
Jason Monsorno
93e8e53c2f Check for empty data first as history can be empty. 2024-07-17 17:17:22 -04:00
Kiril Videlov
d766220eae
Merge pull request #4425 from gitbutlerapp/move-diff-code-to-a-crate
move hunk and diff code to a separate crate, out of the branch one
2024-07-17 20:27:03 +02:00
Kiril Videlov
6101c5c66f
move hunk and diff code to a separate crate, out of the branch one 2024-07-17 20:16:48 +02:00
Kiril Videlov
6a15002ed0
Merge pull request #4424 from gitbutlerapp/remove-cirular-dependency-between-virual-and-diff-modules
remove cirular dependency between virual and diff modules
2024-07-17 19:11:04 +02:00
Kiril Videlov
e6ccf764ee
supresss clippy warning about type complexity 2024-07-17 18:48:45 +02:00
Kiril Videlov
d5fffbd4ac
move HunkLock struct to branch actions crate 2024-07-17 18:30:23 +02:00
Kiril Videlov
5d74440d4c
remove lock attribute from diff hunk structs 2024-07-17 18:23:49 +02:00
Mattias Granlund
2a08b419ea Fix broken debounce in update interval
- this broke the 15 minute auto-updating interval
2024-07-17 11:32:31 +01:00
Kiril Videlov
9eeb47b63f
get_applied_status returns locks 2024-07-17 12:01:50 +02:00
Nico Domino
26240ec190
fix: update docs push-on-release action (#4418) 2024-07-17 09:35:37 +00:00
Nico Domino
ab5af61960
feat: use pnpm@9.5.0 catalogs feature to keep versions in sync within monorepo (#4411) 2024-07-17 10:48:51 +02:00
Kiril Videlov
3ad6b3fd10
Merge pull request #4409 from gitbutlerapp/dependabot/cargo/rust-updates-9e51e1549e
Bump the rust-updates group across 1 directory with 8 updates
2024-07-16 22:14:28 +02:00
Kiril Videlov
eed5643569
Merge pull request #4410 from Byron/lock-upgrades
clearer read-write separation
2024-07-16 22:14:16 +02:00
Caleb Owens
b5d2c8a54f
Merge pull request #4415 from gitbutlerapp/update-svelte
Fix up branches list
2024-07-16 19:48:03 +02:00
Caleb Owens
90d1465e5d
Fix up branches list 2024-07-16 19:39:46 +02:00
Kiril Videlov
99dfb0084f
Merge pull request #4414 from gitbutlerapp/revert-4402-rename-trunk-to-target
Revert "rename Trunk to Target in the UI"
2024-07-16 19:24:13 +02:00
Kiril Videlov
881e4b5289
Revert "rename Trunk to Target in the UI" 2024-07-16 19:22:46 +02:00
Caleb Owens
c00a76bcce
Merge pull request #4413 from gitbutlerapp/update-svelte
Fix everything runes runed
2024-07-16 18:27:56 +02:00
Caleb Owens
d203ed897c
Fix everything runes runed 2024-07-16 18:25:16 +02:00
Sebastian Thiel
4526006bf9
Show that not all users of get_applied_status need write permissions...
...according to tests.
2024-07-16 17:33:53 +02:00
dependabot[bot]
cdafe5bc2c
Bump the rust-updates group across 1 directory with 8 updates
Bumps the rust-updates group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [serde](https://github.com/serde-rs/serde) | `1.0.203` | `1.0.204` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.61` | `1.0.62` |
| [console-subscriber](https://github.com/tokio-rs/console) | `0.2.0` | `0.3.0` |
| [open](https://github.com/Byron/open-rs) | `5.2.0` | `5.3.0` |
| [sysinfo](https://github.com/GuillaumeGomez/sysinfo) | `0.30.12` | `0.30.13` |
| [rstest](https://github.com/la10736/rstest) | `0.20.0` | `0.21.0` |
| [clap](https://github.com/clap-rs/clap) | `4.5.8` | `4.5.9` |
| [diffy](https://github.com/bmwill/diffy) | `0.3.0` | `0.4.0` |



Updates `serde` from 1.0.203 to 1.0.204
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204)

Updates `thiserror` from 1.0.61 to 1.0.62
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62)

Updates `console-subscriber` from 0.2.0 to 0.3.0
- [Release notes](https://github.com/tokio-rs/console/releases)
- [Changelog](https://github.com/tokio-rs/console/blob/main/release-plz.toml)
- [Commits](https://github.com/tokio-rs/console/compare/console-subscriber-v0.2.0...console-subscriber-v0.3.0)

Updates `open` from 5.2.0 to 5.3.0
- [Release notes](https://github.com/Byron/open-rs/releases)
- [Changelog](https://github.com/Byron/open-rs/blob/main/changelog.md)
- [Commits](https://github.com/Byron/open-rs/compare/v5.2.0...v5.3.0)

Updates `sysinfo` from 0.30.12 to 0.30.13
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits/v0.30.13)

Updates `rstest` from 0.20.0 to 0.21.0
- [Release notes](https://github.com/la10736/rstest/releases)
- [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/la10736/rstest/compare/v0.20.0...v0.21.0)

Updates `clap` from 4.5.8 to 4.5.9
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.8...v4.5.9)

Updates `diffy` from 0.3.0 to 0.4.0
- [Changelog](https://github.com/bmwill/diffy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bmwill/diffy/commits)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: console-subscriber
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-updates
- dependency-name: open
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-updates
- dependency-name: sysinfo
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: rstest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-updates
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: diffy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 15:22:10 +00:00
Kiril Videlov
9e0a0728e1
Merge pull request #4408 from gitbutlerapp/upgrade-windows-crate
upgrade version of the windows crate
2024-07-16 17:09:33 +02:00
Kiril Videlov
cc8d7c9206 upgrade version of the windows crate 2024-07-16 16:48:42 +02:00
Kiril Videlov
8b96b2ec70
Merge pull request #4406 from gitbutlerapp/upgrade-mock-instant-version
upgrade mock_instant version
2024-07-16 15:59:38 +02:00
Kiril Videlov
2f06fcb7cf
upgrade mock_instant version 2024-07-16 15:51:15 +02:00
Nico Domino
b63f3855e7
fix: change button tooltip event listeners to pointer* versions (#4405) 2024-07-16 15:29:25 +02:00
Nico Domino
4373b1c56e
fix: more docs gha release cleanup (#4403) 2024-07-16 13:21:16 +00:00
Kiril Videlov
205a3ea11b
Merge pull request #4404 from gitbutlerapp/can-not-manage-hunk-depends-on-multiple-branches
feat: Improve hunk poisoning message in FileDiff.svelte
2024-07-16 15:16:29 +02:00
Kiril Videlov
fc622e60a6
feat: Improve hunk poisoning message in FileDiff.svelte 2024-07-16 15:14:48 +02:00
Kiril Videlov
b2db0ca653
Merge pull request #4402 from gitbutlerapp/rename-trunk-to-target
rename Trunk to Target in the UI
2024-07-16 14:56:54 +02:00
Kiril Videlov
9263813a50
rename Trunk to Target in the UI
As it is more descriptive what it is. Added a tooltip for a good measure
2024-07-16 14:52:13 +02:00
Caleb Owens
2bd00f9b4c
Merge pull request #4401 from gitbutlerapp/rename-daft-names
Rename daft names
2024-07-16 13:59:58 +02:00
Caleb Owens
3c2dca92ae
Remove unused and inaccuratly named functions 2024-07-16 13:57:55 +02:00
Caleb Owens
5756235768
Rename RemoteCommit -> Commit 2024-07-16 12:00:19 +02:00
Caleb Owens
af3b82e9f8
Rename Commit -> DetailedCommit 2024-07-16 11:59:55 +02:00
Caleb Owens
f8261130dc
Rename RemoteBranchData -> BranchData 2024-07-16 11:59:15 +02:00
Caleb Owens
4d5ff2f888
Rename RemoteBranch -> Branch 2024-07-16 11:58:45 +02:00
Caleb Owens
43cfc39fbe
Rename Branch -> VirtualBranch 2024-07-16 11:58:09 +02:00
Caleb Owens
6f1b815735
Merge pull request #4400 from gitbutlerapp/extract-branch-normalization-into-service
Extracted js normalize branch name into a service
2024-07-16 11:48:58 +02:00
Caleb Owens
8f01e64301
Extracted js normalize branch name into a service 2024-07-16 11:47:11 +02:00
Pavel Laptev
b888fbc834
normilize-branch-name-update (#4392)
* refactor: Normalized branch name handling

* Refactor: use only one normalize function (rust)

* Deletion: unused `normalizeBranchName` function

* Update lib.rs

* Changed test to reflect new functionality

---------

Co-authored-by: Caleb Owens <caleb@gitbutler.com>
2024-07-16 11:23:09 +02:00
Kiril Videlov
fcce329118
Merge pull request #4399 from gitbutlerapp/Fix-for-the-something-went-wrong-situation
Fix for the "something went wrong" situation
2024-07-16 10:51:15 +02:00
Kiril Videlov
92fb462db9
rudamentary indication in UI when hunk is poisoned
While this is not great, it will hapen rarely, and its much better than "something went wrong"
2024-07-16 10:43:54 +02:00
Nico Domino
bc8d00bb88
fix: update wp.com csp to wildcard subdomain (#4397) 2024-07-16 08:35:27 +00:00
Kiril Videlov
b9c26df9a1
indicate when a hunk is poisoned
This means that the hunk is 'locked/depends on' multiple branches, and because of this, it cannot be manipulated
2024-07-16 10:34:32 +02:00
Kiril Videlov
dac6c118e0
dont explode when a patch failed to apply
This condition arises when a hunk in fact depends on hunks from two other commits from two separate branches (i.e. it's a hunk that fuses with both)
2024-07-16 10:33:18 +02:00
Caleb Owens
d72cbfd7fc
Merge pull request #4398 from gitbutlerapp/fix-infinite-recursion-in-share-modal
Remove recursion error in ShareissueModal
2024-07-16 10:27:53 +02:00