Commit Graph

195 Commits

Author SHA1 Message Date
Qix
40cdc3a990
Merge pull request #2192 from gitbutlerapp/dependabot/npm_and_yarn/codemirror/state-6.4.0
chore(deps-dev): bump @codemirror/state from 6.3.1 to 6.4.0
2024-01-18 17:31:18 +01:00
Qix
aac17f7ddd
Merge pull request #2150 from gitbutlerapp/dependabot/npm_and_yarn/nanoid-5.0.4
chore(deps-dev): bump nanoid from 5.0.3 to 5.0.4
2024-01-18 17:30:46 +01:00
Mattias Granlund
cc44e2c8ff Add initial value for branches observable 2024-01-18 16:01:36 +01:00
Mattias Granlund
dd73f2397f Fix board reactivity when switching projects
- you would see old branch data until list_virtual_branches returned
2024-01-18 15:57:05 +01:00
Kiril Videlov
7b36315149 use the new change type to determine add/del/modified instead of hunk header 2024-01-18 15:31:53 +01:00
Kiril Videlov
27347f66fb serialize enum with lowercase 2024-01-18 15:31:53 +01:00
Kiril Videlov
8d564a6b45 skip types that we dont need for frontend 2024-01-18 15:31:53 +01:00
Kiril Videlov
b9b72fe7e2 🔨 chore: refactor diff printing to include change type information 2024-01-18 15:31:53 +01:00
Mattias Granlund
9e79bebb67 Show js error on problem loading repo page 2024-01-18 14:26:11 +01:00
Mattias Granlund
b5f3bb3609 feat: add tooltip to ahead/behind 2024-01-18 14:01:52 +01:00
Mattias Granlund
104a02c4ec feat: add locked indicator to file diff section
The changes in this commit add a locked indicator to the file diff section in the Svelte component. This indicator will be displayed if the section's hunk is locked.
2024-01-18 12:23:47 +01:00
Pavel Laptev
d8556e7b74 input width calculation fixed 2024-01-18 12:04:03 +01:00
Mattias Granlund
be55e6b487 Update ahead/behind again
- changed the style again to be more subtle
2024-01-18 11:50:51 +01:00
Pavel Laptev
736bee1706 new text class 2024-01-18 11:32:27 +01:00
Mattias Granlund
68b23c20f3 Update ahead/behind styles 2024-01-18 11:11:09 +01:00
Pavel Laptev
414f0ddde7 format updated 2024-01-18 02:13:45 +01:00
Pavel Laptev
5aa57b9189 Prettier formatted 2024-01-18 02:10:38 +01:00
Pavel Laptev
281c5e8c4c udated font spelling 2024-01-18 02:09:50 +01:00
Pavel Laptev
b78c46d999 Updated ahead/behind 2024-01-18 02:07:29 +01:00
Pavel Laptev
e567f29c21 Mono font updated 2024-01-18 02:01:17 +01:00
Kiril Videlov
a26a87f655 improve sentry perfm metrics fr pr service 2024-01-17 22:56:12 +01:00
Mattias Granlund
7ad3be8350 Fix even more UI bugs
- show delete confirmation dialog from problem loading repo page
- prevent error signal race condition when deleting project
- move app window from decorated view
- fix selected item in select list
2024-01-17 18:05:23 +01:00
Mattias Granlund
d26bb05027 Pnpm format files 2024-01-17 17:52:54 +01:00
Qix
163acf7d89
tell prettier to ignore .editorconfig (#2293)
* tell prettier to ignore .editorconfig

* tell prettier to ignore .editorconfig
2024-01-17 16:45:43 +00:00
Mattias Granlund
845855dc81 fix: update context menu labels for creating branches to the left and right 2024-01-17 16:47:18 +01:00
Mattias Granlund
da5fd9cc7a Add ahead/behind to navigation panel 2024-01-17 16:23:22 +01:00
Mattias Granlund
1dbba1f9db Fix sync & delete button UI bugs 2024-01-17 15:59:21 +01:00
Mattias Granlund
942316861a Fixes a few bugs
- project setup back button
- delete repo from problem page
- go to home screen after deleting repo from settings page
2024-01-17 14:18:51 +01:00
Mattias Granlund
52887a96bd Fix occasional back button issue 2024-01-17 12:42:16 +01:00
Mattias Granlund
47012bfe2f Hook up new app uodater 2024-01-17 00:08:17 +01:00
Pavel Laptev
50dfc8a967 - color replaced to a variable 2024-01-17 00:08:17 +01:00
Pavel Laptev
08cf0a658a update component updated 2024-01-17 00:08:17 +01:00
Pavel Laptev
5c30a71b3b Returned back for attr to the selector 2024-01-17 00:03:47 +01:00
Pavel Laptev
ad2ce2f83f Added new “error” state image, a few minor CSS fixes 2024-01-16 23:57:51 +01:00
Kiril Videlov
32a65ae110 feat: add instrumentation for creating pull requests in GitHub service 2024-01-16 22:49:33 +02:00
Pavel Laptev
f72f9b15b0 updated icons, “disabled” state for the Tag component 2024-01-16 16:56:49 +01:00
Mattias Granlund
3fb9dacbee More "problem state" improvements
- show project name on problem pages
- improve project switcher
2024-01-16 16:33:30 +01:00
Pavel Laptev
c316d9f4f1 tokens updates 2024-01-16 01:07:17 +01:00
Pavel Laptev
ee4552e8ee new icons and tokens 2024-01-15 22:25:15 +01:00
Kiril Videlov
45352e1a6a sanitize branch url 2024-01-15 22:34:45 +02:00
Mattias Granlund
01da5bee3e Refactor error pages
- new switched away from page
- new problem loading repo page
2024-01-15 20:35:40 +01:00
Pavel Laptev
90ff0c970b Added Iosevka font 2024-01-15 12:51:18 +01:00
Pavel Laptev
91eef7cb73 new text style added, tokens updated 2024-01-15 12:36:26 +01:00
Nikita Galaiko
1fd6b81c0f remove console.log 2024-01-15 10:31:10 +01:00
Nikita Galaiko
c75cf09bcf send local key update on change 2024-01-15 09:43:31 +01:00
Pavel Laptev
9f89cfcb65 removed test variable 2024-01-14 23:25:27 +01:00
Pavel Laptev
cd27581c45 updated welcome screen + tokens 2024-01-14 23:23:01 +01:00
Pavel Laptev
b79128a382 images updated 2024-01-14 15:51:37 +01:00
Pavel Laptev
410e54f512 iocns updated 2024-01-14 15:21:09 +01:00
Pavel Laptev
7c5e4a7360 Branch header updates 2024-01-14 14:50:46 +01:00
Mattias Granlund
456906d2e7 Make welcome screen responsive
- missed in earlier commit
2024-01-14 14:13:10 +01:00
Mattias Granlund
bec89c61fa New design for first experience and errors
- new welcome screen
- default to last opened project
- show decorated view when branch changed
- show decorated error view when repo can't be loaded

This commit became a bit too big, with many interdependent changes. Keep an eye out for regressions.
2024-01-14 13:59:28 +01:00
Pavel Laptev
ce9750bacc Project setup illustration update 2024-01-13 23:40:37 +01:00
Kiril Videlov
3419240e19 fix a bug where dragover and drop events dont fire
this happens when the webview is chromium (widnows, linux)
2024-01-14 00:30:00 +02:00
Pavel Laptev
945157c8c5 - styles updated 2024-01-12 01:58:26 +01:00
Pavel Laptev
1523d5f8cf - added imgThemed — for images that have dark and light themes
- styles updated
2024-01-12 01:24:59 +01:00
Mattias Granlund
77dd15f7d2 Add PP Editorial New serif font 2024-01-11 17:21:41 +01:00
Mattias Granlund
1579728fde Add IconLink component 2024-01-11 17:21:33 +01:00
Pavel Laptev
9b58c53636 new icons 2024-01-11 16:02:19 +01:00
Pavel Laptev
c2c5d7e9d0 new icons 2024-01-11 14:44:47 +01:00
Mattias Granlund
b3664cb462 Refactor project setup page 2024-01-11 00:30:32 +01:00
Kiril Videlov
e8259a54d0 🎨 style: update resizer styles for better user experience 2024-01-11 00:25:06 +01:00
Pavel Laptev
50ede9188c Updated tokens 2024-01-10 22:07:07 +01:00
Kiril Videlov
a5fca009a1 🔥 refactor: remove unused summarizeHunk function and its usage 2024-01-10 19:42:06 +01:00
Kiril Videlov
548a5b8f56 💄 style: add hover effect to resizer in CSS 2024-01-10 18:22:08 +01:00
Mattias Granlund
fb339aa8a8 fix: handle case when no files are selected for branch creation 2024-01-10 16:15:32 +01:00
Mattias Granlund
85fbbf428f fix: properly handle commit completion and reset commit message 2024-01-10 14:38:12 +01:00
dependabot[bot]
e082b3006b
chore(deps-dev): bump @codemirror/state from 6.3.1 to 6.4.0
Bumps [@codemirror/state](https://github.com/codemirror/state) from 6.3.1 to 6.4.0.
- [Changelog](https://github.com/codemirror/state/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/state/compare/6.3.1...6.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 10:49:01 +00:00
Kiril Videlov
4247d71294 Revert "chore(deps-dev): bump @codemirror/lang-vue from 0.1.2 to 0.1.3"
This reverts commit 8eeadb1da0.
2024-01-10 11:46:07 +01:00
Kiril Videlov
df63e15017 Revert "chore(deps-dev): bump @codemirror/lang-html from 6.4.6 to 6.4.7"
This reverts commit 8d4a41892b.
2024-01-10 11:46:07 +01:00
Kiril Videlov
2f2f2b5eba Revert "Revert "remove sentry api key from source code""
This reverts commit 72e6df813f.
2024-01-10 10:48:19 +01:00
Kiril Videlov
500af57829 Revert "Revert "Fix branch change detection""
This reverts commit 151d2df4f6.
2024-01-10 02:04:32 +01:00
Kiril Videlov
72e6df813f Revert "remove sentry api key from source code"
This reverts commit 4417510d55.
Seems broken
2024-01-10 02:03:24 +01:00
Kiril Videlov
151d2df4f6 Revert "Fix branch change detection"
This reverts commit 527ccddba6.
Breaks nightly
2024-01-10 01:14:48 +01:00
Mattias Granlund
527ccddba6 Fix branch change detection
- used to detect error response to listing
- now just observes wether or not branch is gitbutler/integration
2024-01-09 23:33:52 +01:00
Mattias Granlund
412b7c738b Fix file list text clipping
- line height often needs to be 120% to prevent clipping
2024-01-09 23:33:10 +01:00
dependabot[bot]
1c7a203444
chore(deps-dev): bump nanoid from 5.0.3 to 5.0.4
Bumps [nanoid](https://github.com/ai/nanoid) from 5.0.3 to 5.0.4.
- [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.3...5.0.4)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 22:31:56 +00:00
dependabot[bot]
8eeadb1da0 chore(deps-dev): bump @codemirror/lang-vue from 0.1.2 to 0.1.3
Bumps [@codemirror/lang-vue](https://github.com/codemirror/lang-vue) from 0.1.2 to 0.1.3.
- [Changelog](https://github.com/codemirror/lang-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-vue/compare/0.1.2...0.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 23:31:12 +01:00
dependabot[bot]
8d4a41892b chore(deps-dev): bump @codemirror/lang-html from 6.4.6 to 6.4.7
Bumps [@codemirror/lang-html](https://github.com/codemirror/lang-html) from 6.4.6 to 6.4.7.
- [Changelog](https://github.com/codemirror/lang-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/lang-html/compare/6.4.6...6.4.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 23:31:01 +01:00
dependabot[bot]
2dbb52128d chore(deps-dev): bump posthog-js from 1.95.1 to 1.96.1
Bumps [posthog-js](https://github.com/PostHog/posthog-js) from 1.95.1 to 1.96.1.
- [Release notes](https://github.com/PostHog/posthog-js/releases)
- [Changelog](https://github.com/PostHog/posthog-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PostHog/posthog-js/compare/v1.95.1...v1.96.1)

---
updated-dependencies:
- dependency-name: posthog-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 23:30:43 +01:00
Pavel Laptev
19f32249ee removed unused code 2024-01-09 21:47:04 +01:00
Pavel Laptev
451d9da8ed update info message styles 2024-01-09 21:44:26 +01:00
Mattias Granlund
f5042ceada Rename DropDown -> DropDownButton 2024-01-09 15:29:05 +01:00
Pavel Laptev
6e35a9fa71 tag non existing color removed 2024-01-09 15:14:29 +01:00
Pavel Laptev
273f189709 - removed unused tokens
- some tokens renamed
2024-01-09 15:14:29 +01:00
Nikita Galaiko
ffa40422d9
Merge pull request #2203 from gitbutlerapp/fix-draggable-file-function
Fix draggable file function
2024-01-09 15:12:04 +01:00
Nikita Galaiko
8ab6b09a32 fix: amend file ownership calculation 2024-01-09 15:02:33 +01:00
Nikita Galaiko
f2514ef4c2 Merged origin/master into refactor-reader-writer 2024-01-09 10:17:19 +01:00
Nikita Galaiko
4417510d55 remove sentry api key from source code 2024-01-09 09:59:19 +01:00
Mattias Granlund
392bc45383 Fix UI recovery when switching back to gitbutler branch 2024-01-08 17:17:48 +01:00
Mattias Granlund
f481ba5311 Increase line-height of new/empty branch message 2024-01-08 17:16:45 +01:00
Nikita Galaiko
4a92abdd9e
Merge pull request #2191 from gitbutlerapp/unapply-ownership-hunks
GB-776: Unapply ownership hunks
2024-01-08 16:02:20 +01:00
Nikita Galaiko
a68064723d allow unapplying locked ownerships 2024-01-08 15:39:31 +01:00
Mattias Granlund
2fcc03e939 Fix branch change copy
- shoud say you've switched _away_ from gitbutler/integration
2024-01-08 14:19:56 +01:00
Mattias Granlund
a19939ea39 Fix zoom shortcuts on Linux 2024-01-08 10:24:45 +01:00
Mattias Granlund
f3a84e42dd Show button spinner while committing 2024-01-07 21:47:22 +01:00
Mattias Granlund
29bacad3d9 Bugfix for context menu item disabled state 2024-01-07 15:02:57 +01:00
Mattias Granlund
f7c062eb7d Disable branch rename when it has integrated commits 2024-01-07 14:03:33 +01:00
Mattias Granlund
4381bdc196 Show gap between selected files in tree view 2024-01-06 13:28:08 +01:00
Mattias Granlund
f1a8617c92 Enabme shift + click for multiple drag & drop
- utilises .selected css class for knowing what elements are being dragged
- deselects list if dragging not selected item
2024-01-06 12:57:34 +01:00