Commit Graph

451 Commits

Author SHA1 Message Date
Pavel Laptev
b93b335dfe
Sidebar branches UI update (#4631)
* update "added/removed" and "commits" tags

* Update: search transition duration

* gap between tags update
2024-08-06 16:52:59 +02:00
Pavel Laptev
440a4f7b80 unused code removed 2024-08-06 16:46:13 +02:00
Pavel Laptev
67165c7cff
Merge pull request #4627 from gitbutlerapp/Sidebar-branches--search
feat(navigation): improve search UX/UI
2024-08-06 16:18:47 +02:00
Pavel Laptev
6de1215c56 remove unused imports 2024-08-06 16:04:01 +02:00
Pavel Laptev
530727b2b8 feat(navigation): improve search UX/UI 2024-08-06 16:01:41 +02:00
Mattias Granlund
1eeebc3c28 Fix: remember last opened project again 2024-08-06 13:15:00 +01:00
Caleb Owens
91c2e9fec7
Merge pull request #4625 from gitbutlerapp/make-branch-listing-more-reactive
feat: Integrate BranchListingService for better branch management
2024-08-06 13:39:12 +02:00
Caleb Owens
b466619ec3 feat: Integrate BranchListingService for better branch management
Adds BranchListingService to VirtualBranchService and RemoteBranchService
to improve branch synchronization and refresh mechanisms. Updates layout
files to provide the service through context. This change enhances the
overall branch management system and ensures consistent branch listing
across different components.
2024-08-06 13:37:35 +02:00
Caleb Owens
2902721367 Don't error when clicking a virtual branch and going to workspace 2024-08-06 13:33:10 +02:00
Pavel Laptev
1bba118b9b
Sidebar branches UI (#4622)
* update illustration

* update tooltip show delay

* remove `showBorderWhenScrolled`

* sticky headers added
2024-08-06 13:11:56 +02:00
Caleb Owens
3412ed3194
Merge pull request #4615 from gitbutlerapp/selected-state-for-sidebar-entries
fix: Add selected state for sidebar entries
2024-08-05 22:32:36 +02:00
Caleb Owens
5a488b6dd7 fix: Add selected state for sidebar entries
Refactors sidebar entries for branches and pull requests to show
selected state based on the current URL. This improves the visual
indication of the current active view. Introduces helper methods
for formatting URLs to prevent duplication.
2024-08-05 22:20:57 +02:00
Nico Domino
e57792639d
fix(eslint): missed file rename (#4613) 2024-08-05 20:14:34 +00:00
Nico Domino
fc70ef2ce7
fix(web): minor cleanup on downloads page (#4610) 2024-08-05 19:49:04 +00:00
Nico Domino
9d5eded33d
fix(web): initial services cleanup (#4607) 2024-08-05 19:27:24 +00:00
Caleb Owens
d03a94eb02 Don't group by day when searching 2024-08-05 20:43:15 +02:00
Caleb Owens
553ce474e7 Fix wrong authors when listing 2024-08-05 20:29:15 +02:00
Caleb Owens
a57238a371
Merge pull request #4605 from gitbutlerapp/Vidluther-ai
Vidluther ai
2024-08-05 17:17:49 +02:00
Caleb Owens
3285ba6e90 Don't refer to claude 2024-08-05 17:14:46 +02:00
Caleb Owens
8e424b2405 Correct sonnet key 2024-08-05 17:12:55 +02:00
Caleb Owens
c751ab2922 Merged origin/master into gitbutler/master 2024-08-05 17:08:41 +02:00
Caleb Owens
e5a9c4687f
Merge pull request #4593 from patelka2211/improvements-in-drag-regions-of-welcome-page
Improvements in drag regions of welcome page.
2024-08-05 17:07:51 +02:00
Caleb Owens
f5f80baa61 Add in searching with Fuse 2024-08-05 16:41:12 +02:00
Nico Domino
cec6ed6fbf
fix: add two additional tsconfig options (#4592) 2024-08-05 14:21:38 +00:00
Nico Domino
a21d1bcfae
fix: ssh clone posthog event (#4603) 2024-08-05 14:06:50 +00:00
Nico Domino
91808b94b3
fix: add additional 'open' boolean to AppUpdater.svelte (#4602) 2024-08-05 13:55:12 +00:00
Caleb Owens
e0bdfc425a Eagerly redirect to workspace 2024-08-05 15:47:54 +02:00
Caleb Owens
9593904fa7
Merge pull request #4600 from gitbutlerapp/restore-sidebar-filters
Restore filters
2024-08-05 15:22:42 +02:00
Caleb Owens
7903c73ae4 Restore filters 2024-08-05 15:16:56 +02:00
Kartavya Patel
49f9d67b81
Merge branch 'master' into improvements-in-drag-regions-of-welcome-page 2024-08-05 18:32:00 +05:30
Nico Domino
5c0b87a353
fix: remove CloneForm clone type segment select (#4599) 2024-08-05 12:56:47 +00:00
Caleb Owens
e4c3557255 Merged origin/master into sidebar-branches 2024-08-05 14:02:01 +02:00
Caleb Owens
8eb5371b0a Fix the worst conflicts I've ever delt with 2024-08-05 14:01:49 +02:00
Nico Domino
43341c4d0b
fix: cleanup dependencies in JS packages (#4591) 2024-08-05 13:45:31 +02:00
Pavel Laptev
aaf933f42d
UI package update (#4598)
* add `Button` and `Icon` to UI library

* Update Button.stories.ts

* button stories added

* remove unused dependencies

* update button stories

* Update DemoButton.stories.ts

* update tokens

* dark theme toggle fix

* replace buttons with buttons from the package UI

* Update FileCardHeader.svelte

* Update BranchLaneContextMenu.svelte

* replace the app `Icon` component with the `UI` component

* fix `Icon` import in the `package UI`

* update imports for `icons.json`

* fix wrong type on Storybook

* update imports for `types`

* fix import order

* storybook grouping update
2024-08-05 13:20:03 +02:00
Caleb Owens
0b31743a2e mergey merge 2024-08-05 11:43:10 +02:00
Caleb Owens
aec1bda197 stuff 2024-08-05 11:37:39 +02:00
Nico Domino
7a33fc8ffe
fix: commit message component behaviour (#4597) 2024-08-05 11:06:02 +02:00
Vid Luther
ff6c9f4c7d fix lint check
lint test was failing due to extra comma
2024-08-04 11:14:03 -05:00
Vid Luther
1dfe4ed4e7 feat: Rename 'Claud35Sonnet' to 'Claude35Sonnet'
The 'Claud35Sonnet' enum value has been renamed to 'Claude35Sonnet' to
correctly reflect the model name. This change ensures consistency in
the codebase and improves readability.
2024-08-04 11:05:13 -05:00
Vid Luther
2b9da0d6d8 feat(desktop): add new OpenAI and Anthropic model options
The changes introduced in this commit add new OpenAI and Anthropic model options to the AI settings page in the desktop application. Specifically, the following changes were made:

- Added 'GPT 4o mini' as a new OpenAI model option
- Added 'Claude 3.5 Sonnet' as a new Anthropic model option
- Updated the labels for existing model options to improve clarity and readability

These changes provide users with more choices when selecting the AI model they want to use, allowing them to better tailor the application to their specific needs and preferences.
2024-08-04 11:01:05 -05:00
Pavel Laptev
48d2e8baea
Package UI update (#4594)
* bump SB version

* fix Segmented control import

* formatting fix

* fix formatting on build

* migrate to Terrazzo + utility classes WIP

* copy update

* Update c-colors.mdx

* fix hex color

* move diff variables into tokens

* Update c-colors.mdx

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* update terrazzo

* Update pnpm-lock.yaml
2024-08-04 14:53:45 +02:00
Kartavya Patel
d62ac9b003
Merge branch 'master' into improvements-in-drag-regions-of-welcome-page 2024-08-04 17:36:10 +05:30
Nico Domino
d559cffe6a
feat: add @gitbutler/ui, userService, authService and some minor cleanup (#4595) 2024-08-04 11:39:41 +00:00
Kartavya Patel
201a626315 Improvements in drag regions of welcome page. 2024-08-03 23:00:11 +05:30
Nico Domino
549dff6205
fix: remove playwright (#4588) 2024-08-02 14:17:32 +02:00
Nico Domino
e5498665b4
feat: add WebdriverIO based E2E test setup (#4561) 2024-08-02 10:46:56 +00:00
Caleb Owens
691c5b3700 linty linty fixy fixy 2024-08-01 18:24:34 +02:00
Caleb Owens
00b778638a Demoing conflict resolution 2024-08-01 18:09:23 +02:00
Caleb Owens
91b939563c asdf 2024-08-01 18:05:03 +02:00
Nico Domino
cda04e9b5b
feat: clone repo onboarding step (#4542)
Co-authored-by: Pavel Laptev <pawellaptew@gmail.com>
2024-08-01 16:54:49 +02:00
Caleb Owens
bbcfbbd72b Redid branch page 2024-08-01 16:28:37 +02:00
Caleb Owens
e9d1192b6d correct orderign and PR duplication 2024-08-01 14:47:22 +02:00
Caleb Owens
32b9b523ca stuff and things 2024-08-01 14:11:54 +02:00
Caleb Owens
70422439d7 integrated the thign 2024-07-31 19:41:08 +02:00
Caleb Owens
09de80f6f0 Mergy merge 2024-07-31 13:11:02 +02:00
Caleb Owens
43600c0a13 Moved some stuff into the UI package 2024-07-31 13:08:48 +02:00
Pavel Laptev
626ae0e390
Merge pull request #4556 from gitbutlerapp/Style-updates
Style updates
2024-07-31 13:05:05 +02:00
Caleb Owens
970a14930c Make the service reactive 2024-07-31 11:55:55 +02:00
Nico Domino
ad92566cb3
fix: AppUpdater popover not able to be closed (#4555) 2024-07-31 11:51:04 +02:00
Pavel Laptev
3a93599e5c styles fix: board links 2024-07-31 11:45:27 +02:00
Mattias Granlund
0c7b2bd881 Prevent including background in text selection #2
- seems this line was lost in some UI package refactor
2024-07-31 08:18:55 +01:00
Pavel Laptev
6fe1f25959
Diff-hunk-style-fixes (#4551)
* remove styles duplication

* Add hunk background color

* fix: gap between commits when dragging

* update hunk line colors

* fix: number columns cliping

* fix: number column border clipping

* diff styles update

* update "large diff" message style
2024-07-31 00:31:26 +02:00
Kiril Videlov
9ac21d39b5
fix one more callsite 2024-07-30 22:31:43 +02:00
Kiril Videlov
9fd02c41c0
update the UI for sync-ing (feature flagged) 2024-07-30 22:08:39 +02:00
Mattias Granlund
235a6a5d83 Fix a few problems in hunk/commit drag operations 2024-07-30 18:16:15 +01:00
Mattias Granlund
e1eea3c5ab Relax the amend restriction
We currently don't have accurate lock data. Also, we should allow amending to any commit _later_ than the lock subject.
2024-07-30 16:29:04 +01:00
Caleb Owens
142798383f Merged origin/master into sidebar-branches 2024-07-30 17:11:00 +02:00
Pavel Laptev
ab0c70b673
Package UI updates (#4539)
* documentation update + design tokens generation

* ts config update

* formatting fix

* update tokens config format

* ignore JS files check

* Storybook version bump

* formatting fix

* dark theme toggle added
2024-07-30 16:45:19 +02:00
Caleb Owens
445bd6a66f Use our svelte based explosion handling 2024-07-30 16:44:27 +02:00
Caleb Owens
e53c11a477 introduce last commiter field, use jsdoc, add type transforms 2024-07-30 16:42:20 +02:00
Nico Domino
aca95b196d
fix: use SvelteKit auto-generated types for load fns (#4541) 2024-07-30 13:19:13 +00:00
Nico Domino
7175d28304
fix: tweak pii onboarding copy (#4540) 2024-07-30 15:16:16 +02:00
Caleb Owens
32868092ed Merged origin/master into sidebar-branches 2024-07-30 13:45:00 +02:00
Nico Domino
9646684f92
feat: refactor diff rendering (#4497)
Co-authored-by: Pavel Laptev <pawellaptew@gmail.com>
2024-07-30 13:27:19 +02:00
Pavel Laptev
2e3e733ac5 Merged origin/master into sidebar-branches 2024-07-29 14:24:48 +02:00
Pavel Laptev
1c6b03eb6b
UI Package: refactor (#4529)
* Separate styles responsibilities

* Add misssing dependencies

* Intro page added

* formatting fix
2024-07-29 13:52:14 +02:00
Pavel Laptev
88b8f4b1bb
Update the use and structure of styles (#4524)
* update the structure in the UI package

* remove styles from the app

* tokens update

* fix serif font style

* style: reduce margin-bottom in NotOnGitButlerBranch component. remove unused css

* style: Update background color on hover in Board component.

* fix fonts duplication

* styles restructuring

* GitButler WIP Commit

* watch command changed

---------

Co-authored-by: GitButler <gitbutler@gitbutler.com>
2024-07-29 11:29:54 +02:00
Nico Domino
45d340ef37
fix: nightly build (#4522) 2024-07-29 08:49:22 +00:00
Mattias Granlund
974e60aefc Fix branch reordering
- move branches into their own div
- make only one update request
2024-07-29 01:07:06 +01:00
Mattias Granlund
dc87e5fd64 Fix azure devops urls
- manually tested
2024-07-28 22:57:47 +01:00
Kiril Videlov
9d04c08528
add branch listing details api
this allows us to paginate the expensive bit of the API, like getting the lines added / removed
2024-07-28 22:19:30 +02:00
Mattias Granlund
e1f9c8b59e Add gitlab/bitbucket/azure GitHost implementations 2024-07-28 20:01:10 +01:00
Kiril Videlov
3033c7e7f5
order branch listing by last modified
also fixes an error in last modified computation
2024-07-28 19:35:54 +02:00
Pavel Laptev
701bcc2719
tokens update (#4512) 2024-07-27 23:26:37 +02:00
Pavel Laptev
c70d837e02
update dark more illustration token (#4511) 2024-07-27 22:48:50 +02:00
Kiril Videlov
a7579915f7
rename Trunk to Target in the UI
As it is more descriptive what it is. Added a tooltip for a good measure
2024-07-27 19:26:45 +02:00
Nico Domino
1ced81fd06
fix: cleanup repo organisation (#4503) 2024-07-27 13:29:32 +02:00
Kiril Videlov
19cf35698a
fix lint 2024-07-27 11:32:55 +02:00
Kiril Videlov
c7a8ef99c8
branch listing - allow filtering
fix matching
2024-07-26 15:00:08 +02:00
Mattias Granlund
3629c45997 Add file count to metrics collection 2024-07-27 10:28:40 +02:00
Mattias Granlund
7897e5703b Prevent including background in text selection 2024-07-27 10:18:54 +02:00
Pavel Laptev
b29229f3b6
commits-section-buttons (#4498)
* Added push button

* `integrate commits` wip

* CSS for sticky buttons

* update interaction observer + revert line group changes

* fix border bottom if there are no remote commits

* fix interaction observer

* remove unused components

* Fix line drawing with the new push buttons

---------

Co-authored-by: Caleb Owens <caleb@gitbutler.com>
2024-07-27 00:47:02 +02:00
Pavel Laptev
7a3a9148cb merge conflict resolve 2024-07-26 12:29:27 +02:00
Nico Domino
8ccdb8f578
fix: cleanup gitbutler/web package name (#4496) 2024-07-26 10:23:31 +00:00
Scott Chacon
7969e4bc93 has isnt a thing 2024-07-26 09:45:18 +02:00
Kiril Videlov
bccf17da89
fix camel casing in typescript 2024-07-25 21:05:35 +02:00
Kiril Videlov
7e660782ad
update docs 2024-07-25 21:03:28 +02:00
Kiril Videlov
abde2a03b6
fix merge conflict oopsie 2024-07-25 20:27:03 +02:00
Nico Domino
5f7a67f271
fix: update web env file (#4495) 2024-07-25 15:58:56 +00:00
Nico Domino
bce53ba383
feat: move @gitbutler/cloud into monorepo (#4494) 2024-07-25 15:53:28 +00:00