Commit Graph

5438 Commits

Author SHA1 Message Date
Mattias Granlund
44b705697b Add keyboard nav to FileTree as well 2024-03-03 12:15:41 +01:00
Pranav2612000
b1798ab79f fix: show Discard files (plural) if more than 1 file selected 2024-03-03 16:38:56 +05:30
Alabhya Jindal
bd9c12f486 Fix lint issues 2024-03-03 15:36:27 +05:30
Alabhya Jindal
c93efa1986 Add comments 2024-03-03 15:29:48 +05:30
Alabhya Jindal
a1c5137aa6 Improve keydown function 2024-03-03 15:22:08 +05:30
Mattias Granlund
20d50e17e3 Update text: discard file -> discard changes 2024-03-03 10:46:20 +02:00
Alabhya Jindal
4a19332092 Passed files as FileTree 2024-03-03 14:15:24 +05:30
Kiril Videlov
36128f064e
Merge pull request #2992 from gitbutlerapp/omit-processing-large-files
perf: ommit files larger than 50mb from being processed
2024-03-03 00:45:36 +01:00
Kiril Videlov
33572ea955
perf: ommit files larger than 50mb from being processed 2024-03-02 23:15:06 +01:00
Pavel Laptev
5f928c6d44
Merge pull request #2991 from gitbutlerapp/CSS-fixes
CSS fixes
2024-03-02 22:22:11 +01:00
Pavel Laptev
9bd3e89430 fix SVG spinner radius 2024-03-02 22:20:30 +01:00
Pavel Laptev
a74947764a PR card tweak
- check is `status` tag `filled` or not
- added `no checks` label
- removed `border` on status tags
2024-03-02 22:16:38 +01:00
Pavel Laptev
5058ca253a - restrickted pinter events for Tooltip 2024-03-02 21:25:27 +01:00
Pavel Laptev
1b1435c1c6 Spinner animation time changed 2024-03-02 21:25:27 +01:00
Pavel Laptev
32d4b026a0 Refactor: Button and Dropdown
- removed `:global` rule
- removed `class` prop from `Button` as not used
- removed `joinClassNames` function as not efficient and almost not used
- added `isDropdownChild` to `Button`
2024-03-02 21:25:27 +01:00
Pavel Laptev
a30a5083cd updated Spinner animation and styles 2024-03-02 21:25:27 +01:00
Pavel Laptev
fddf37a95d styles: Tag spinner style updated 2024-03-02 21:25:27 +01:00
AbhishekThorat
010e2166ea - Address review comment. - Used openExternalUrl instead of open method directly 2024-03-02 21:23:50 +02:00
AbhishekThorat
eeb1336445 - lint fix 2024-03-02 21:23:50 +02:00
AbhishekThorat
c25f1976f2 - Add missing import for open tauri api 2024-03-02 21:23:50 +02:00
Mattias Granlund
e5cdd0fa4d Use external url opener on login page
- provides a toast with feedback on error
2024-03-02 17:39:05 +02:00
Mattias Granlund
24bf86a1bf Fix top level page loading indicator
- the previous method would render to the page as undefined
2024-03-02 17:16:08 +02:00
Mattias Granlund
47e54e5bbb Use filled tag when github checks have passed 2024-03-02 16:16:57 +02:00
Mattias Granlund
cd879ab014 Create new pull request card 2024-03-02 12:13:06 +02:00
Kiril Videlov
2f547b66cb
Merge pull request #2973 from gitbutlerapp/dependabot/cargo/tauri-plugin-log-ed682dd
Bump tauri-plugin-log from `da76481` to `ed682dd`
2024-03-01 23:14:41 +01:00
Kiril Videlov
1db0f8b686
Merge pull request #2974 from gitbutlerapp/dependabot/cargo/tauri-plugin-single-instance-ed682dd
Bump tauri-plugin-single-instance from `da76481` to `ed682dd`
2024-03-01 23:14:22 +01:00
Kiril Videlov
9f1ae51861
Merge pull request #2972 from gitbutlerapp/dependabot/cargo/tauri-plugin-window-state-ed682dd
Bump tauri-plugin-window-state from `da76481` to `ed682dd`
2024-03-01 23:14:09 +01:00
Kiril Videlov
ae3542d625
Merge pull request #2971 from gitbutlerapp/dependabot/cargo/tauri-plugin-store-ed682dd
Bump tauri-plugin-store from `da76481` to `ed682dd`
2024-03-01 23:13:52 +01:00
Scott Chacon
d4f89e8588 Merged origin/master into Update unapply files function 2024-03-01 22:15:03 +01:00
dependabot[bot]
eb0f8519d4
Bump tauri-plugin-window-state from da76481 to ed682dd
Bumps [tauri-plugin-window-state](https://github.com/tauri-apps/plugins-workspace) from `da76481` to `ed682dd`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](da76481ad3...ed682dd96e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 21:07:15 +00:00
dependabot[bot]
e8bff0a7d9
Bump tauri-plugin-single-instance from da76481 to ed682dd
Bumps [tauri-plugin-single-instance](https://github.com/tauri-apps/plugins-workspace) from `da76481` to `ed682dd`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](da76481ad3...ed682dd96e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 21:05:47 +00:00
Kiril Videlov
a51f56de87
Merge pull request #2970 from gitbutlerapp/dependabot/cargo/rust-updates-c15be7964f
Bump the rust-updates group with 10 updates
2024-03-01 22:03:29 +01:00
dependabot[bot]
c3592ea526 Bump the npm-updates group with 15 updates
Bumps the npm-updates group with 15 updates:

| Package | From | To |
| --- | --- | --- |
| [@tauri-apps/cli](https://github.com/tauri-apps/tauri) | `1.5.9` | `1.5.10` |
| [@codemirror/lang-javascript](https://github.com/codemirror/lang-javascript) | `6.2.1` | `6.2.2` |
| [@codemirror/state](https://github.com/codemirror/state) | `6.4.0` | `6.4.1` |
| [@codemirror/view](https://github.com/codemirror/view) | `6.23.1` | `6.24.1` |
| [@sentry/sveltekit](https://github.com/getsentry/sentry-javascript) | `7.100.1` | `7.104.0` |
| [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) | `1.30.3` | `1.30.4` |
| [eslint](https://github.com/eslint/eslint) | `8.56.0` | `8.57.0` |
| [inter-ui](https://github.com/philipbelesky/inter-ui) | `4.0.1` | `4.0.2` |
| [nanoid](https://github.com/ai/nanoid) | `5.0.5` | `5.0.6` |
| [postcss](https://github.com/postcss/postcss) | `8.4.34` | `8.4.35` |
| [postcss-load-config](https://github.com/postcss/postcss-load-config) | `5.0.2` | `5.0.3` |
| [posthog-js](https://github.com/PostHog/posthog-js) | `1.105.1` | `1.110.0` |
| [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) | `3.1.2` | `3.2.2` |
| [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) | `4.2.10` | `4.2.12` |
| [svelte-check](https://github.com/sveltejs/language-tools) | `3.6.3` | `3.6.6` |


Updates `@tauri-apps/cli` from 1.5.9 to 1.5.10
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v1.5.9...@tauri-apps/cli-v1.5.10)

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

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

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

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

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

Updates `eslint` from 8.56.0 to 8.57.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.56.0...v8.57.0)

Updates `inter-ui` from 4.0.1 to 4.0.2
- [Changelog](https://github.com/philipbelesky/inter-ui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/philipbelesky/inter-ui/commits)

Updates `nanoid` from 5.0.5 to 5.0.6
- [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.5...5.0.6)

Updates `postcss` from 8.4.34 to 8.4.35
- [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.34...8.4.35)

Updates `postcss-load-config` from 5.0.2 to 5.0.3
- [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/5.0.2...v5.0.3)

Updates `posthog-js` from 1.105.1 to 1.110.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/commits/v1.110.0)

Updates `prettier-plugin-svelte` from 3.1.2 to 3.2.2
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v3.1.2...v3.2.2)

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

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

---
updated-dependencies:
- dependency-name: "@tauri-apps/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: "@codemirror/lang-javascript"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: "@codemirror/state"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: "@codemirror/view"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: "@sentry/sveltekit"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: inter-ui
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: nanoid
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: postcss-load-config
  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-minor
  dependency-group: npm-updates
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 22:13:20 +02:00
Mattias Granlund
dd577b62c5 fix problem with stuck "busy..." state 2024-03-01 21:56:45 +02:00
Josh Junon
64794dca9b
Merge pull request #2980 from gitbutlerapp/fix-build-warnings
remove build warnings
2024-03-01 18:51:07 +01:00
Josh Junon
53aeb8a1a4 remove build warnings 2024-03-01 18:40:39 +01:00
dependabot[bot]
2af685d388
Bump the rust-updates group with 10 updates
Bumps the rust-updates group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [serde](https://github.com/serde-rs/serde) | `1.0.196` | `1.0.197` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.56` | `1.0.57` |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.79` | `1.0.80` |
| [bstr](https://github.com/BurntSushi/bstr) | `1.9.0` | `1.9.1` |
| [chrono](https://github.com/chronotope/chrono) | `0.4.33` | `0.4.34` |
| [governor](https://github.com/boinkor-net/governor) | `0.6.0` | `0.6.3` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.113` | `1.0.114` |
| [tauri](https://github.com/tauri-apps/tauri) | `1.5.4` | `1.6.0` |
| [log](https://github.com/rust-lang/log) | `0.4.20` | `0.4.21` |
| [tempfile](https://github.com/Stebalien/tempfile) | `3.10.0` | `3.10.1` |


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

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

Updates `anyhow` from 1.0.79 to 1.0.80
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.79...1.0.80)

Updates `bstr` from 1.9.0 to 1.9.1
- [Commits](https://github.com/BurntSushi/bstr/compare/1.9.0...1.9.1)

Updates `chrono` from 0.4.33 to 0.4.34
- [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.33...v0.4.34)

Updates `governor` from 0.6.0 to 0.6.3
- [Release notes](https://github.com/boinkor-net/governor/releases)
- [Changelog](https://github.com/boinkor-net/governor/blob/master/release.toml)
- [Commits](https://github.com/boinkor-net/governor/compare/v0.6.0...v0.6.3)

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

Updates `tauri` from 1.5.4 to 1.6.0
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/tauri-v1.5.4...tauri-v1.6.0)

Updates `log` from 0.4.20 to 0.4.21
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.20...0.4.21)

Updates `tempfile` from 3.10.0 to 3.10.1
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.0...v3.10.1)

---
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: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: bstr
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: governor
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: tauri
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-updates
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 17:12:15 +00:00
dependabot[bot]
8bed6e9711
Bump tauri-plugin-store from da76481 to ed682dd
Bumps [tauri-plugin-store](https://github.com/tauri-apps/plugins-workspace) from `da76481` to `ed682dd`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](da76481ad3...ed682dd96e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 17:04:22 +00:00
Josh Junon
37e316e0c7
Merge pull request #2978 from gitbutlerapp/Virtual-branch-4
initial round of dead code removal
2024-03-01 18:00:40 +01:00
Josh Junon
5c6ce60833 initial round of dead code removal 2024-03-01 17:39:42 +01:00
Josh Junon
1a846c9621
Merge pull request #2977 from gitbutlerapp/re-add-cargo-config
re-add cargo config
2024-03-01 17:38:23 +01:00
Josh Junon
052589c75a re-add cargo config 2024-03-01 17:26:55 +01:00
dependabot[bot]
8b08f2d9e6
Bump tauri-plugin-log from da76481 to ed682dd
Bumps [tauri-plugin-log](https://github.com/tauri-apps/plugins-workspace) from `da76481` to `ed682dd`.
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](da76481ad3...ed682dd96e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 16:02:14 +00:00
Josh Junon
eb3d42edb6
Merge pull request #2968 from gitbutlerapp/Virtual-branch-4
move from lib+bin to bin, refactor tests into crate
2024-03-01 16:58:38 +01:00
Josh Junon
9e7c5c22fa
Merge pull request #2969 from gitbutlerapp/Virtual-branch-5
ignore .vscode in all cases
2024-03-01 16:35:42 +01:00
Josh Junon
2b53662775 fix remaining clippy errors after main.rs refactor 2024-03-01 15:49:33 +01:00
Josh Junon
d9187c8891 switch global config methods to static methods 2024-03-01 15:35:09 +01:00
Josh Junon
a54f7a1461 ignore .vscode in all cases 2024-03-01 15:30:53 +01:00
Scott Chacon
99d95e01c6 lol, prettier 2024-03-01 15:29:37 +01:00
Scott Chacon
748630b262 some docs and fixups 2024-03-01 15:25:20 +01:00