Mattias Granlund
2f24c3eca6
Fix commit card drag image
...
- removes white container that was present during drag
2023-12-02 23:48:30 +00:00
Mattias Granlund
d8b8d2c558
Make pr and branch preview into cards
2023-12-02 23:48:09 +00:00
Mattias Granlund
de86920eb4
Use shared css classes for cards
...
Going with bem notation since simple names for nested objects are impossible to grep for.
2023-12-02 23:47:57 +00:00
Mattias Granlund
611bd60078
Fix commit list expand / collapse
2023-12-02 23:47:33 +00:00
Mattias Granlund
84179133bc
Fix scrolling of files and enable scrolling of commits
2023-12-02 16:51:00 +00:00
Mattias Granlund
65d9b3ba7a
Add window dragging by pulling on the board background.
...
- does not work over the new branch dropzone.
2023-12-02 13:14:11 +00:00
Mattias Granlund
703472368a
Show clear home button if repo fails to load
2023-12-02 13:11:53 +00:00
dependabot[bot]
cfc0cd1c49
Bump posthog-js from 1.84.2 to 1.93.2
...
Bumps [posthog-js](https://github.com/PostHog/posthog-js ) from 1.84.2 to 1.93.2.
- [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.84.2...v1.93.2 )
---
updated-dependencies:
- dependency-name: posthog-js
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 16:28:41 +00:00
Scott Chacon
936cb20892
🔨 chore: update project sync status handling and UI
...
- Refactored the `onSyncChange` function to handle the project sync status update.
- Added a checkbox to allow users to enable or disable project sync.
- Added conditional rendering for the project sync section based on the user's role.
- Updated the `User` struct in both Rust and TypeScript to include the `role` field.
2023-12-01 15:06:50 +00:00
Mattias Granlund
e286c528b8
chore: drop unused resizer
2023-12-01 13:41:31 +00:00
Mattias Granlund
3c7e098da1
chore: update (force push button to have a wide layout
2023-12-01 13:36:34 +00:00
extrawurst
78a8ef489a
pushing all remotes ( #1867 )
...
* split up massive function to make it easier to follow
* push remotes to gb-server plus test
2023-12-01 10:17:34 +01:00
Mattias Granlund
c153e2f457
Make resizing and scrolling great
...
- resizers should now be absolutely positioned within the thing they are resizing
- scrollbar now works for horizontal mode as well (board)
2023-11-30 23:36:52 +00:00
Kiril Videlov
0703a8cc82
fix: update user name display logic in button component to prioritize given_name and email if name is not available
2023-11-30 22:26:23 +01:00
Nikita Galaiko
0bed078a09
Merge pull request #1866 from gitbutlerapp/handle-fetch-errors
...
Handle fetch errors
2023-11-30 18:42:32 +01:00
Kiril Videlov
7b95d2097b
Merge pull request #1874 from gitbutlerapp/update-summary-generation-label
...
Update summary generation label
2023-11-30 18:26:10 +01:00
Kiril Videlov
a6dd5fcde2
chore: update label and description for AI integration option in UI
2023-11-30 18:22:53 +01:00
Kiril Videlov
41c4139555
Merge pull request #1873 from gitbutlerapp/filter-out-default-target-branch
...
Filter out default target branch
2023-11-30 18:16:20 +01:00
Kiril Videlov
04afdc47e0
fix: exclude default target branch from the list of remote branches
2023-11-30 18:12:05 +01:00
Kiril Videlov
7faebcd9ec
Merge pull request #1871 from gitbutlerapp/add-annotate-warning-back
...
Add annotate warning back
2023-11-30 18:04:31 +01:00
Kiril Videlov
c8c29fbc37
Merge pull request #1872 from gitbutlerapp/add-cloud-enabled-flag-to-sync-button
...
Add cloud enabled flag to sync button
2023-11-30 18:04:00 +01:00
Kiril Videlov
56a0d652fc
feat: add cloudEnabled prop to SyncButton component to conditionally call syncToCloud based on project's API sync status
2023-11-30 17:58:49 +01:00
Mattias Granlund
0a426013da
Merge pull request #1870 from gitbutlerapp/remove-resizer-1
...
Remove resizer 1
2023-11-30 16:55:15 +00:00
Scott Chacon
71adb5e435
add back the annotate commits warning
2023-11-30 17:54:47 +01:00
Mattias Granlund
c3ed0c57b5
Merge pull request #1869 from gitbutlerapp/refactor-project-setup-page
...
Refactor project setup page
2023-11-30 16:54:18 +00:00
Mattias Granlund
e3b30fa3df
Remove resizer from BranchFiles.svelte
2023-11-30 17:52:43 +01:00
Mattias Granlund
eb7f2674a5
Merge branch 'master' into refactor-project-setup-page
2023-11-30 16:48:48 +00:00
Mattias Granlund
f9415c937b
Make the project setup page great again 🤘
2023-11-30 17:47:12 +01:00
Nikita Galaiko
66e4d6ddfd
fix: handle different types of remote errors in fetch calls
2023-11-30 16:01:43 +01:00
Kiril Videlov
225de46e6f
fix lint
2023-11-30 15:41:37 +01:00
Kiril Videlov
2046df3a43
fix: prevent default behavior only when drag handle id is not 'drag-handle'
2023-11-30 15:41:37 +01:00
Kiril Videlov
e9828a605e
fix: adjust drop position calculation in drag and drop functionality
2023-11-30 15:41:37 +01:00
Nikita Galaiko
f8ab949e08
Merge pull request #1864 from gitbutlerapp/handle-file-content-1
...
Handle file content 1
2023-11-30 15:32:58 +01:00
Nikita Galaiko
dbe84e117f
do not fail vbranch calculations on wrong branch
2023-11-30 15:23:12 +01:00
Nikita Galaiko
a56de709a1
Merge pull request #1863 from gitbutlerapp/remove-ignored-files-from-wd-tree
...
Remove ignored files from wd tree
2023-11-30 14:20:17 +01:00
Nikita Galaiko
0f29b62b79
when calculating files to remove, use session data only
2023-11-30 14:15:42 +01:00
Kiril Videlov
5008de035e
refactor: remove filtering of branches based on default target branch
2023-11-30 13:41:57 +01:00
Kiril Videlov
ef6c6afa8a
refactor: simplify code for getting user name in configure_scope
function
2023-11-30 13:40:23 +01:00
Kiril Videlov
f7945a5294
refactor: simplify code for configuring user scope and creating git signature
2023-11-30 13:40:23 +01:00
Kiril Videlov
41d0494b73
feat: update user name field to be optional in User struct and User type to handle cases where name or given_name is not available
2023-11-30 13:40:23 +01:00
Nikita Galaiko
0976cd294a
Merge pull request #1857 from gitbutlerapp/try-to-rebase-when-applying-branch
...
optimize wd flushing
2023-11-30 13:32:35 +01:00
Nikita Galaiko
65f7bbbbd1
test with sub directories
2023-11-30 13:18:04 +01:00
Nikita Galaiko
10b325732f
bring back build_wd_tree optimization
2023-11-30 12:54:01 +01:00
Mattias Granlund
6e64d3fbcc
Wait for prs to reload after creating pr
2023-11-30 10:07:48 +00:00
Nikita Galaiko
e25cd28c9f
list files can filter by prefix
2023-11-30 10:41:47 +01:00
Mattias Granlund
7e6e26d4e1
🔨 chore: fix scrollable check in client script
2023-11-30 09:41:37 +00:00
Mattias Granlund
08f23df1b9
Make pr creation even more reliable
...
- do both pushing and pr creation in pr service
- no discontinuity in "loading"
- wait for branch to have upstream (10s timeout)
2023-11-30 08:42:12 +00:00
Mattias Granlund
8726e27e39
Make PR creation more reliable
...
- can't be exact atm as we can't "wait" for upstream data to be sent to front end
- will talk to Kiril about this
2023-11-29 23:23:43 +00:00
Mattias Granlund
593eb9e717
Split out commit list header and footer
2023-11-29 22:33:22 +00:00
Mattias Granlund
74aac963f7
Renaming a vairable to test push
2023-11-29 21:56:52 +00:00