Commit Graph

6456 Commits

Author SHA1 Message Date
Mattias Granlund
f84b853aae Make NoBaseBranch a component
- solves navigation race condition that can land you on the wrong page
- some users have reported seeing "up-to-date" without navigation sidebar
2024-04-10 11:23:49 +02:00
Pavel Laptev
87cfadffaf
replaced wrong button prop iconAlign (#3481) 2024-04-10 02:20:09 +02:00
Pavel Laptev
11c28cf1ef
CSS glitches fix + AI page typo fixed (#3480) 2024-04-10 01:03:26 +02:00
Josh Junon
1b1bb57cc7
Merge pull request #3479 from gitbutlerapp/github-actions-outputs-dont-work-and-have-never-worked
use artifacts to transfer version number
2024-04-09 14:42:16 -07:00
Josh Junon
d3fd4ed69f
use artifacts to transfer version number 2024-04-09 23:40:49 +02:00
Josh Junon
9a8b74bc5b
Merge pull request #3478 from gitbutlerapp/runs-onnnnnnn
add runs-on to publish step and also pull the source with the PAT
2024-04-09 14:13:27 -07:00
Josh Junon
53d2dd6691
add runs-on to publish step and also pull the source with the PAT 2024-04-09 23:12:59 +02:00
Josh Junon
47d5d0a8e0
Merge pull request #3477 from gitbutlerapp/reintroduce-publish
re-introduce publishing step after signing
2024-04-09 14:09:19 -07:00
Josh Junon
5d1ed2db38
re-introduce publishing step after signing 2024-04-09 23:07:50 +02:00
Josh Junon
11ed28a5f1
Merge pull request #3475 from gitbutlerapp/copy-matrix-because-actions-is-frustratingly-bad
copy over the matrix from the first step into each of the steps
2024-04-09 13:40:12 -07:00
Josh Junon
27be3c92aa
remove if statement for signing step entirely 2024-04-09 22:39:41 +02:00
Josh Junon
9262cf973e
copy over the matrix from the first step into each of the steps 2024-04-09 22:38:05 +02:00
Josh Junon
462d8c946e
Merge pull request #3473 from gitbutlerapp/find-msi-for-signing
use `find` to get paths to MSIs to sign
2024-04-09 13:11:55 -07:00
Josh Junon
bf8ee4fb63
use find to get paths to MSIs to sign 2024-04-09 22:11:20 +02:00
Josh Junon
3130cb8c5c
Merge pull request #3472 from gitbutlerapp/channel-based-artifacts
name artifacts by name of channel and platform
2024-04-09 12:46:45 -07:00
Josh Junon
b95ad73ac6
name artifacts by name of channel and platform 2024-04-09 21:45:59 +02:00
Josh Junon
d5dfa7553e
Merge pull request #3470 from gitbutlerapp/signing-script
removed bail on release windows ci builds
2024-04-09 12:20:57 -07:00
Josh Junon
4b25af0a54
error if no files are available for upload, and overwrite after signing 2024-04-09 21:20:16 +02:00
Josh Junon
d72e76efda
use upload/download artifacts v4 2024-04-09 21:18:45 +02:00
Josh Junon
67dd25a6d7
removed bail on release windows ci builds 2024-04-09 21:14:56 +02:00
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