Commit Graph

6286 Commits

Author SHA1 Message Date
Josh Junon
10c1b8cb0b
Merge pull request #3469 from gitbutlerapp/fix-needs-in-release-ci
fix needs clause in signing job
2024-04-09 12:06:06 -07:00
Josh Junon
dac3805cb5
fix needs clause in signing job 2024-04-09 21:05:26 +02:00
Josh Junon
1842b30c9d
Merge pull request #3468 from gitbutlerapp/release-signing
add release signing
2024-04-09 11:59:20 -07:00
Josh Junon
fb7ee674c8
comment out release reporting 2024-04-09 20:57:46 +02:00
Josh Junon
b36c4ce5e1
add release signing 2024-04-09 20:53:20 +02:00
Sebastian Thiel
7d4aede13e
remove clippy lints, or fix them up 2024-04-09 20:45:17 +02:00
Sebastian Thiel
906bfa3cf4
use the new testsupport crate 2024-04-09 20:45:17 +02:00
Sebastian Thiel
3a148a556f
Add a new testsupport crate that contains core/tests/shared.
It's code shared by multiple crates, and should be reusable
by means of a crate.
2024-04-09 20:45:16 +02:00
Pavel Laptev
59e441a2eb
added z-index variables (#3466)
* added z-index variables
in order to ease levels for `absolute` and `fixed` elements
2024-04-09 17:53:47 +02:00
Pavel Laptev
cee9b96142
Components props and style fixes (#3464)
* Components props and style fixes
2024-04-09 16:18:31 +02:00
Josh Junon
8e4ed63a07
Revert "Remove unused (?) allow clippy statements"
This reverts commit 7ee778a0eb.
2024-04-09 14:50:31 +02:00
Sebastian Thiel
91eb4d9b90 fix: assure all top-level application errors are traced. (#3451)
This way, errors are perfectly associated with their respective
top-level tauri function call, which simplifies debugging.

Note that stack-traces are only shown if the `RUST_BACKTRACE`
environment variable is set.
2024-04-09 12:52:20 +02:00
Toby Webb
7ee778a0eb Remove unused (?) allow clippy statements 2024-04-09 12:52:09 +02:00
Pavel Laptev
dcf43e94c3
Code fixes, update on:close Function for Files, Button styles update (#3444)
* Renamed `FileSelection` to `FileIdSelection`

In order to make it more specific,since we already have `selectedFiles`

* fix Project name input type

* button styles updated
2024-04-09 00:18:01 +02:00
Mattias Granlund
57349821b5 Make PR success criteria stricter
- prompted by feedback on discord
2024-04-08 23:11:19 +02:00
dependabot[bot]
59e71cff66 build(deps): bump the npm-updates group with 8 updates
Bumps the npm-updates group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [openai](https://github.com/openai/openai-node) | `4.31.0` | `4.33.0` |
| [@codemirror/legacy-modes](https://github.com/codemirror/legacy-modes) | `6.3.3` | `6.4.0` |
| [@octokit/rest](https://github.com/octokit/rest.js) | `20.0.2` | `20.1.0` |
| [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) | `2.35.1` | `2.36.0` |
| [nanoid](https://github.com/ai/nanoid) | `5.0.6` | `5.0.7` |
| [posthog-js](https://github.com/PostHog/posthog-js) | `1.116.6` | `1.120.2` |
| [svelte-check](https://github.com/sveltejs/language-tools) | `3.6.8` | `3.6.9` |
| [typescript](https://github.com/Microsoft/TypeScript) | `5.4.3` | `5.4.4` |


Updates `openai` from 4.31.0 to 4.33.0
- [Release notes](https://github.com/openai/openai-node/releases)
- [Changelog](https://github.com/openai/openai-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openai/openai-node/compare/v4.31.0...v4.33.0)

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

Updates `@octokit/rest` from 20.0.2 to 20.1.0
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v20.0.2...v20.1.0)

Updates `eslint-plugin-svelte` from 2.35.1 to 2.36.0
- [Release notes](https://github.com/sveltejs/eslint-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/eslint-plugin-svelte/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/eslint-plugin-svelte/compare/v2.35.1...v2.36.0)

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

Updates `posthog-js` from 1.116.6 to 1.120.2
- [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.116.6...v1.120.2)

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

Updates `typescript` from 5.4.3 to 5.4.4
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.3...v5.4.4)

---
updated-dependencies:
- dependency-name: openai
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: "@codemirror/legacy-modes"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: "@octokit/rest"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: eslint-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-updates
- dependency-name: nanoid
  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: svelte-check
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 21:02:58 +02:00
Mattias Granlund
d3742bf1ec Simplify layout.ts by removing fetch parameter
- it's not needed since the client is a single page application
2024-04-08 17:59:51 +02:00
Pavel Laptev
d2dde6cec5
scc: button fixes (#3453) 2024-04-08 11:26:30 +02:00
Pavel Laptev
e7377132bf
Design tokens updates (#3452)
* refactored design tokens

* color-mix CSS function replaced with oklch

OKLCH has more accurate and shorter way of making colors darker for hover effects
2024-04-08 09:06:17 +02:00
Mattias Granlund
603710329f Rename branchStoresCache.ts -> virtualBranch.ts
- split out `baseBranch.ts`, these should never have been in the same file
2024-04-07 15:03:18 +02:00
Caleb Owens
fa75c8f817
Merge pull request #3424 from gitbutlerapp/refactor-settings-into-multiple-files
Refactor settings into multiple real pages
2024-04-07 12:36:30 +01:00
Mattias Granlund
f4ba84753b Check for locked status correctly
- always check on boolean property instead of array length
2024-04-05 15:30:26 +02:00
Pavel Laptev
04fb7848ce
Smol CSS fixes (#3441)
* zindex remove: it crops the sidebar resizer thumb

* delete project button changed to the contrast one
2024-04-05 13:09:44 +02:00
Josh Junon
91c0800822
Merge pull request #3442 from gitbutlerapp/windows-unused-import
removed unused import on windows
2024-04-05 12:17:55 +02:00
Josh Junon
7a77d980bf
removed unused import on windows 2024-04-05 12:03:23 +02:00
Caleb Owens
2b780fdbde Removed overly specific type casts 2024-04-05 00:16:22 +01:00
Caleb Owens
d5f5f90e7a Fix import ordering in sidebar 2024-04-05 00:00:21 +01:00
Caleb Owens
d7ae34d612 Rename ProfileSIdebar to Sidebar 2024-04-04 23:56:36 +01:00
Caleb Owens
1b94b2fcdd Fix formatting 2024-04-04 23:06:02 +01:00
Caleb Owens
00910c8027 De-duplicate AnalyticsSettings 2024-04-04 23:06:02 +01:00
Caleb Owens
5ef5fa0143 Refactor settings into multiple real pages 2024-04-04 23:06:00 +01:00
Mattias Granlund
1c2db6f24f Allow amend while hunk/file locked
We have gone a bit back and forth here, but this should be the right way of handling locks wrt to dragging.

- uses dropzone accept call to dynamically block locked hunks/files
2024-04-04 21:06:30 +02:00
Mattias Granlund
96a3237ac1 Allow merging/rebasing from branch preview
- feels like you shouldn't need to apply a branch just to merge a pr
2024-04-04 19:14:05 +02:00
Mattias Granlund
e95fb62410 Flatten the AI service directory
- resolves cyclic dependency between the two packages
2024-04-04 19:06:28 +02:00
Mattias Granlund
54cba257dd Fix cyclical dependency in AI service 2024-04-04 18:19:26 +02:00
Mattias Granlund
295e14ee50 Improve wait conditions for PR checks
- continue waiting if there are check suites that haven't completed
2024-04-04 15:49:51 +02:00
Pavel Laptev
b36bc1ff4b
wiggle lock files if dragging (#3432)
* wiggle lock files if dragging

* lint fixes

* Expand lane only when clicking expand button

- previous behavior was click anywhere to expand

* wiggle lock files if dragging

* lint fixes

* minor comments change

---------

Co-authored-by: Mattias Granlund <mtsgrd@gmail.com>
2024-04-04 15:31:56 +02:00
Mattias Granlund
6b888c3e89 Expand lane only when clicking expand button
- previous behavior was click anywhere to expand
2024-04-04 15:19:57 +02:00
Mattias Granlund
5882d2ed32 Update two eslint npm packages
- dependabot doesn't suggest major upgrades
2024-04-04 14:57:28 +02:00
Josh Junon
b9c07265c2
Merge pull request #3344 from gitbutlerapp/separate-integration-tests
separate integration tests for 'changeset' crate
2024-04-04 14:07:46 +02:00
Josh Junon
e7c8d5823a
Merge pull request #3347 from gitbutlerapp/separate-integration-tests-git
separate integration tests for 'git' crate
2024-04-04 14:00:35 +02:00
Sebastian Thiel
4bd5495020
chore(changeset): don't build doc-tests
There are no doctests and it's unlikely there will be anytime soon
as this library isn't for publishing.
2024-04-04 13:53:08 +02:00
Sebastian Thiel
194f8b5235
chore(changeset): assure the crate isn't published.
The crate is only for use by GitButler.
2024-04-04 13:53:07 +02:00
Sebastian Thiel
ee88e1b9b0
chore: separate 'changeset' crate integration tests 2024-04-04 13:53:03 +02:00
Sebastian Thiel
884f8a742d
chore(git): don't build doc-tests, or unit-tests of binaries
There are no doctests and it's unlikely there will be anytime soon
as this library isn't for publishing.

The binaries did try to build unit-tests as well even though these
aren't quite feasible, so they are disabled now to reduce clutter.
2024-04-04 13:46:07 +02:00
Sebastian Thiel
2ee77704c7
chore(git): assure the crate isn't published.
The crate is only for use by `gitbutler`.
2024-04-04 13:46:00 +02:00
Sebastian Thiel
ed2daf5ffb
chore: separate 'git' crate integration tests 2024-04-04 13:45:58 +02:00
Josh Junon
28a4f841aa
Merge pull request #3429 from gitbutlerapp/fix-readme-assets
fix gitbutler-app -> gitbutler-tauri broken links
2024-04-04 12:55:52 +02:00
Josh Junon
a425c8c3b5
fix gitbutler-app -> gitbutler-tauri broken links 2024-04-04 12:55:08 +02:00
Josh Junon
22a732b21e
Merge pull request #3405 from gitbutlerapp/restructure-crates
Restructure crates
2024-04-04 12:53:03 +02:00