Commit Graph

5065 Commits

Author SHA1 Message Date
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
Kiril Videlov
a69b6d9279 Replace GUI with tool, since it better describes the scope of virtual branches 2024-02-01 10:45:49 +01:00
Scott Chacon
b12029a79d
Merge pull request #2498 from gitbutlerapp/schacon-patch-1
Update README.md
2024-02-01 10:07:50 +01:00
Scott Chacon
a2939ac3aa
Update README.md 2024-02-01 10:07:20 +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
Kiril Videlov
3e1a77e83a Remove LogsDir in favor of just path::PathBuf 2024-01-31 15:59:19 +01:00
Kiril Videlov
bfbfaacdd0 lint: fix clippy issues 2024-01-31 15:10:00 +01:00
Qix
2855a27c4c
Merge pull request #2476 from gitbutlerapp/dependabot/cargo/rust-patch-updates-4a55232a5a
Bump the rust-patch-updates group with 4 updates
2024-01-31 14:57:58 +01:00
Qix
00fcefcc56
Merge pull request #2475 from gitbutlerapp/dependabot/github_actions/dorny/paths-filter-3
Bump dorny/paths-filter from 2 to 3
2024-01-31 14:57:49 +01:00
Kiril Videlov
4e33c3ce68 Remote DataDir type in favor of just PathBuf 2024-01-31 14:39:47 +01:00
Mattias Granlund
f5b86497b9 Fix clone with rotation bug (drag & drop) 2024-01-31 13:30:14 +01:00
Mattias Granlund
fe218f0f0c
Merge pull request #2491 from gitbutlerapp/refactor-hunk-viewer-and-break-it-out-from-filecard-
Refactor hunk viewer (and break it out from FileCard)
2024-01-31 13:29:53 +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
Nikita Galaiko
ab8db66dbc
Merge pull request #2488 from gitbutlerapp/set-base-branch-go-back-to-integration
Set base branch go back to integration
2024-01-30 14:51:28 +01:00
Pavel Laptev
aa4ad828fa
Merge pull request #2489 from gitbutlerapp/update-new-branch-container-width
Update new branch container width
2024-01-30 14:29:11 +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
Nikita Galaiko
55a2641b32 fix going back to existing default target 2024-01-30 11:31:33 +01:00
Pavel Laptev
e04032d7d2
Merge pull request #2487 from gitbutlerapp/project-setup-and-decorative-view-layout-fixes
Project setup and decorative view layout fixes
2024-01-30 00:03:36 +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
Mattias Granlund
033b7f22b9 Add gitbutler, gitbutler-s3 and gravatar to browser csp
- fixes broken profile pictures
- not sure it's worth the effort to proxy through backend
2024-01-29 17:19:57 +01:00
Mattias Granlund
f8bce24af9 Reformat tauri conf files 2024-01-29 17:19:57 +01:00
dependabot[bot]
0cbffb2201
Bump the rust-patch-updates group with 4 updates
Bumps the rust-patch-updates group with 4 updates: [serde](https://github.com/serde-rs/serde), [chrono](https://github.com/chronotope/chrono), [serde_json](https://github.com/serde-rs/json) and [mmap-rs](https://github.com/StephanvanSchaik/mmap-rs).


Updates `serde` from 1.0.195 to 1.0.196
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196)

Updates `chrono` from 0.4.31 to 0.4.33
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.31...v0.4.33)

Updates `serde_json` from 1.0.111 to 1.0.113
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.111...v1.0.113)

Updates `mmap-rs` from 0.6.0 to 0.6.1
- [Changelog](https://github.com/StephanvanSchaik/mmap-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/StephanvanSchaik/mmap-rs/commits)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-patch-updates
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-patch-updates
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-patch-updates
- dependency-name: mmap-rs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-patch-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 16:01:13 +00: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
dependabot[bot]
e91bd7e605
Bump dorny/paths-filter from 2 to 3
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 2 to 3.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/v2...v3)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 15:23:08 +00: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