Commit Graph

3539 Commits

Author SHA1 Message Date
dependabot[bot]
c27735d9a0
chore(deps): bump bstr from 1.7.0 to 1.8.0
Bumps [bstr](https://github.com/BurntSushi/bstr) from 1.7.0 to 1.8.0.
- [Commits](https://github.com/BurntSushi/bstr/compare/1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: bstr
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 15:26:57 +00:00
Nikita Galaiko
26f6aee05b
Merge pull request #1643 from gitbutlerapp/add-handler-inner
Add handler inner
2023-11-20 15:31:09 +01:00
Nikita Galaiko
52d34afe3f allow only one flush handler 2023-11-20 15:18:13 +01:00
Mattias Granlund
c2e6c89819 Replace a few icons with new JSON version
Testing out icons provided in JSON format by pavel.
2023-11-20 13:42:08 +00:00
Mattias Granlund
fef8c0fce8 Align push button a bit better 2023-11-20 12:54:28 +00:00
Mattias Granlund
692e69941c Make commit card truncate commit message correctly 2023-11-20 12:54:28 +00:00
Mattias Granlund
a364fc9341 Use reactive variables for page data
We need to use reactive variables for page data, otherwise they
do not trigger recalculation on navigation.
2023-11-20 10:32:04 +00:00
Nikita Galaiko
7f633e59f5
Merge pull request #1638 from gitbutlerapp/add-log-level-environment-variable
Add log level environment variable
2023-11-20 09:40:58 +01:00
Nikita Galaiko
383d5a3bb5 feat: update logging configuration to use LOG_LEVEL environment variable instead of debug feature flag 2023-11-20 09:29:45 +01:00
Kiril Videlov
6abf22089b chore: remove unused import and simplify code in project_flush_and_push function 2023-11-17 19:10:39 +01:00
Kiril Videlov
6728116d2c feat: add event posting for session and push project to Gitbutler 2023-11-17 19:10:39 +01:00
Mattias Granlund
74a28e166a Move settings and change vbranch label 2023-11-17 14:33:38 +00:00
Mattias Granlund
bbcb5c12ca Prevent default on update and refresh 2023-11-17 14:16:29 +00:00
Nikita Galaiko
78494dd6e6
Merge pull request #1633 from gitbutlerapp/submodules
submodules
2023-11-17 15:14:10 +01:00
Mattias Granlund
6fb83315a6 Moving a bit towards Pavel's unfinished nav design 2023-11-17 14:11:47 +00:00
Nikita Galaiko
007d3783b8 ignore submodules when diffing 2023-11-17 15:09:43 +01:00
Nikita Galaiko
25fd709b9d
Merge pull request #1632 from gitbutlerapp/virtual-branch
Virtual branch
2023-11-17 14:58:40 +01:00
Nikita Galaiko
12ca8f9abd fix add project 2023-11-17 14:57:01 +01:00
Nikita Galaiko
e05c30ca60 add submodules tests 2023-11-17 14:47:08 +01:00
Nikita Galaiko
643c78270d
Merge pull request #1630 from gitbutlerapp/remove-bookmark-related-code
Remove bookmark related code
2023-11-17 12:53:39 +01:00
Mattias Granlund
11957bfc42 Fixes glitches in user login management
We can't use a behaviour subject for the reset observable, it creates a race
condition between user$ and reset$ observables.
2023-11-17 11:42:36 +00:00
Nikita Galaiko
e874d6ce6f chore: remove unused bookmark functionality and related code 2023-11-17 12:32:20 +01:00
Kiril Videlov
886669ce4d delete dead code 2023-11-17 11:26:12 +01:00
Mattias Granlund
17eae088d5 Fix css for project selection page. 2023-11-17 09:31:13 +00:00
Nikita Galaiko
615a06cd1b
Merge pull request #1627 from gitbutlerapp/minor-refactor
minor refactor
2023-11-17 10:29:36 +01:00
Nikita Galaiko
3f7cb92598 minor refactor 2023-11-17 10:24:35 +01:00
Nikita Galaiko
763d346196
Merge pull request #1611 from gitbutlerapp/sort-branches-by-order
vbranch errors
2023-11-17 10:15:16 +01:00
Nikita Galaiko
4aee982dfb refactor virtual branch errors 2023-11-17 09:55:47 +01:00
Mattias Granlund
09cce30cbe Remove the flicker of base branch select 2023-11-16 16:01:10 +00:00
Mattias Granlund
176372758d Upgrade prettier and use common path + config 2023-11-16 15:53:17 +00:00
Kiril Videlov
964b8c361c refactor: simplify rate limiter initialization in Handler struct 2023-11-16 16:19:28 +01:00
Kiril Videlov
42652d9655 chore: refactor Handler struct initialization and add unnecessary_wraps lint allow 2023-11-16 16:19:28 +01:00
Kiril Videlov
14841d9848 feat: add rate limiting to throttle events in the Handler's handle method 2023-11-16 16:19:28 +01:00
Kiril Videlov
9a4f5cb3ab chore: update file change listener to use the session handler instead of the project file change handler 2023-11-16 16:19:28 +01:00
Kiril Videlov
606fbf8384 chore: refactor project file change handler to simplify code and remove unnecessary dependencies 2023-11-16 16:19:28 +01:00
Mattias Granlund
3bd4f26f09 Fix accidental logouts
This was introduced in the big observable refactor.
2023-11-16 15:14:10 +00:00
Mattias Granlund
92893d4b14 Remove console.log and fix lint error 2023-11-16 15:00:00 +00:00
Mattias Granlund
d37daed784 Subscribe to branches using new API
This completely removes the need for the delta service, and simplifies the vbranch service.
2023-11-16 14:54:31 +00:00
Kiril Videlov
d12d647ba9 refactor: simplify payload assignment in Event struct 2023-11-16 15:51:29 +01:00
Kiril Videlov
b23169fc92 chore: update emit_vbranches function signature to accept a reference to AppHandle instead of value 2023-11-16 12:30:28 +01:00
Kiril Videlov
d7306d4cd9 feat: add event emission for virtual branches after certain actions to keep UI in sync 2023-11-16 12:30:28 +01:00
Mattias Granlund
eda172ac19 Fixes broken project settings page 2023-11-16 11:27:02 +00:00
Mattias Granlund
d5f9216956 Fixes github login 2023-11-16 10:58:16 +00:00
Mattias Granlund
3e76504ded A few more fixes to the observable streams 2023-11-16 10:49:08 +00:00
Mattias Granlund
52a028440f Fix reactive variables to make project navigation work 2023-11-16 10:22:37 +00:00
dependabot[bot]
61eb145215 chore(deps-dev): bump eslint-plugin-import from 2.28.1 to 2.29.0
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.1 to 2.29.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 10:21:58 +00:00
dependabot[bot]
d74607321c chore(deps-dev): bump eslint-plugin-svelte from 2.33.1 to 2.35.0
Bumps [eslint-plugin-svelte](https://github.com/sveltejs/eslint-plugin-svelte) from 2.33.1 to 2.35.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.33.1...v2.35.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 10:21:51 +00:00
dependabot[bot]
35017d4233 chore(deps-dev): bump @types/diff-match-patch from 1.0.34 to 1.0.36
Bumps [@types/diff-match-patch](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/diff-match-patch) from 1.0.34 to 1.0.36.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/diff-match-patch)

---
updated-dependencies:
- dependency-name: "@types/diff-match-patch"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 10:21:43 +00:00
dependabot[bot]
01884b2541 chore(deps-dev): bump @sveltejs/kit from 1.27.3 to 1.27.5
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.27.3 to 1.27.5.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@1.27.5/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 10:21:33 +00:00
Mattias Granlund
a8c2fb6884 Fixes user login that broke in previous commit 2023-11-16 10:06:01 +00:00