Commit Graph

1266 Commits

Author SHA1 Message Date
Pavel Laptev
83726040c1 chore: remove unused code for info-message 2023-12-20 11:22:14 +01:00
Kiril Videlov
e055bd9d25 🔨 chore: update file title in header to be reactive 2023-12-19 21:38:04 +01:00
Kiril Videlov
31ffb73270 🔨 chore: update handling in fetch project function to emit git_fetch event 2023-12-19 16:22:35 +01:00
Mattias Granlund
6eebffabd2 Fix tree list partial commit checkboxes 2023-12-19 15:49:05 +01:00
Mattias Granlund
8e2f2d331f refactor: rename subscribe function to subscribeToFetches for clarity and consistency 2023-12-19 15:36:22 +01:00
Mattias Granlund
b73ccf8251 Style indeterminate checkboxes 2023-12-19 15:28:53 +01:00
Nikita Galaiko
037f04fca5 fix applying remote stale branches 2023-12-19 14:05:56 +01:00
Nikita Galaiko
4da16e1bac
Merge pull request #2101 from gitbutlerapp/fix-session-exists-check
GB-614: disconnect upstream for fully integrated branches
2023-12-19 12:20:07 +01:00
Nikita Galaiko
ea73322fff detach upstream based on trees, not commit ids 2023-12-19 12:11:33 +01:00
Nikita Galaiko
ac51651568 disconnect upstream when fully integrated 2023-12-19 12:11:33 +01:00
Nikita Galaiko
184aed0b61 branch writer to handle update to None 2023-12-19 12:11:33 +01:00
josh@gitbutler.com
e4bcab90a7 truncate instead of i32::try_from() when building index entry 2023-12-19 12:05:38 +01:00
Mattias Granlund
c0b56655ee feat: add overflow-x hidden and text-overflow ellipsis to name in btn class to prevent text overflow 2023-12-19 12:00:08 +01:00
Mattias Granlund
ca0689557c Bring back partial commits
- functional but needs refactor and design
2023-12-19 11:18:55 +01:00
josh@gitbutler.com
9c4f7a2d32 fix builds on windows 2023-12-19 11:11:23 +01:00
josh@gitbutler.com
d7aebc509d add windows metadata shim 2023-12-19 10:43:26 +01:00
josh@gitbutler.com
81d0eca50f remove osstring usage in favor of utf-8 standardization 2023-12-19 10:17:39 +01:00
Qix
1af90c8449
Merge pull request #2096 from gitbutlerapp/switch-from-rustix-to-fslock-1
Switch from rustix to fslock for file locking
2023-12-19 10:04:05 +01:00
josh@gitbutler.com
a7c58fd716 Switch from rustix to fslock for file locking 2023-12-19 09:53:51 +01:00
Mattias Granlund
2cb56b97bb fix observable mistake that leads to mutiple loads 2023-12-18 20:41:58 +01:00
Mattias Granlund
03362851d7 Fix more text clipping problems
- in some places we need to use e.g. text-base-body-11 instead of text-base-11
2023-12-18 20:29:18 +01:00
dependabot[bot]
cc42b4f0bd Bump @typescript-eslint/parser from 6.9.0 to 6.14.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.9.0 to 6.14.0.
- [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.14.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 20:13:34 +01:00
dependabot[bot]
f20729a8c2 chore(deps-dev): bump @codemirror/lang-markdown from 6.2.1 to 6.2.3
Bumps [@codemirror/lang-markdown](https://github.com/codemirror/lang-markdown) from 6.2.1 to 6.2.3.
- [Changelog](https://github.com/codemirror/lang-markdown/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-markdown/compare/6.2.1...6.2.3)

---
updated-dependencies:
- dependency-name: "@codemirror/lang-markdown"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 20:13:20 +01:00
dependabot[bot]
5f8ad2c1c5 chore(deps-dev): bump @lezer/highlight from 1.1.6 to 1.2.0
Bumps [@lezer/highlight](https://github.com/lezer-parser/highlight) from 1.1.6 to 1.2.0.
- [Changelog](https://github.com/lezer-parser/highlight/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lezer-parser/highlight/compare/1.1.6...1.2.0)

---
updated-dependencies:
- dependency-name: "@lezer/highlight"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 20:13:11 +01:00
Mattias Granlund
2dad3f2593 chore: update interval for checking updates to every 6 hours instead of every 12 hours 2023-12-18 20:11:11 +01:00
Mattias Granlund
a3c3141782 fix: set explicit branches sidebar height when none found in storage
- to prevent content shifting when filters are applied/unapplied
2023-12-18 17:26:59 +01:00
Nikita Galaiko
6bb4842cfe
Merge pull request #2082 from gitbutlerapp/fix-session-exists-check
Fix session exists check
2023-12-18 13:45:03 +01:00
Nikita Galaiko
15c090a114 infer session existance from reading required files 2023-12-18 13:41:00 +01:00
Nikita Galaiko
3fce307a4d
Merge pull request #2081 from gitbutlerapp/gb-684-allow-stashing-conflicts
GB-684 allow stashing conflicts
2023-12-18 13:28:17 +01:00
Nikita Galaiko
56dae673cc allow to stash conflicting branches 2023-12-18 12:59:51 +01:00
Pavel Laptev
f8a8a2f262 feat: improve commit message generation and focus textarea on mount and on focus 2023-12-18 12:38:05 +01:00
Pavel Laptev
c36033feb8 removed unused import 2023-12-17 11:46:23 +01:00
Pavel Laptev
7cf61d7cf4 updated commit box css and animation 2023-12-17 11:44:17 +01:00
Pavel Laptev
5f4b47182e Updated event type 2023-12-17 02:44:38 +01:00
Pavel Laptev
b547bbf4ef UX updates
- removed full label select on double click
- text area styling changes
- text area auto height hook added
2023-12-17 02:39:22 +01:00
Pavel Laptev
17eb806354 updated commit box animation speed 2023-12-17 01:03:01 +01:00
Pavel Laptev
33f9e54b74 Commit box animation updated 2023-12-17 00:23:16 +01:00
Mattias Granlund
8f0c393ceb Fix variable declaration mistake in github service 2023-12-16 21:00:35 +00:00
Mattias Granlund
8b4d3c9791 Add busy indicator while waiting for addProject
- the plus icon turns into a spinner
2023-12-16 20:59:53 +00:00
Mattias Granlund
55a3bd1951 Refactor and remove use of GitHubIntegrationContext 2023-12-16 19:48:51 +00:00
Mattias Granlund
a99694e670 Rename PrService -> GitHubService 2023-12-16 19:48:51 +00:00
Mattias Granlund
6d9b8828d0 Integrate github context object into PrService 2023-12-16 19:48:51 +00:00
Mattias Granlund
5d404c937b Rename pullrequests.ts -> service.ts 2023-12-16 19:48:51 +00:00
Pavel Laptev
403c255dde minor css updates 2023-12-16 16:40:58 +01:00
Pavel Laptev
dbb6154a76 Titles styles updated. Badge style updated 2023-12-16 16:27:50 +01:00
Pavel Laptev
76b26a27bb branch remote name styles 2023-12-16 15:56:06 +01:00
Mattias Granlund
34239d7097 Fix background color of commit box in dark mode 2023-12-16 12:46:37 +00:00
Mattias Granlund
ac46104ca0 Implement new commit box design 2023-12-16 12:37:14 +00:00
Mattias Granlund
eada859f6f Bundle css into js for posthog
- should fix rendering of navbar in session recordings
- tested using Dev build, let's see what happens
2023-12-16 10:43:39 +00:00
Kiril Videlov
884420e618 🔧 fix: refactor commit function to allow running hooks conditionally 2023-12-15 16:11:08 +01:00