Commit Graph

2441 Commits

Author SHA1 Message Date
Joyce Er
b4608c9394 fix: resolve remote source actions by remote url (#227647)
fix: resolve remote source actions by remote name
2024-09-04 16:02:13 -07:00
Ladislau Szomoru
65af7713d1 SCM - fix graph rendering when checking out a tag or detached commit (#227578) 2024-09-04 15:17:51 +02:00
Ladislau Szomoru
87f05e126a SCM - show multi-line commit message in hover (#227538)
* SCM - show multi-line commit message in hover

* Fix tests
2024-09-04 11:09:17 +02:00
Matt Bierner
8649c9c18b Allow lookbehind regexps in core
I believe safari was the last browser to add these, but they have been supported in safari since 16.4
2024-09-03 16:03:04 -07:00
Ladislau Szomoru
27b83d5060 SCM - fix tag detection (#227440) 2024-09-03 15:40:49 +02:00
Ladislau Szomoru
cd0427ad28 SCM - add color to history item labels (#227436)
* Initial implementation

* Cleanup colors

* Revert changes to define colors in the git extension

* Add colors to labels
2024-09-03 14:04:22 +02:00
Ladislau Szomoru
a3aedeae3e SCM - cleanup SourceControlHistoryProvider api (#227376)
* Remove provideHistoryItemSummary

* Remove resolveHistoryItemGroupCommonAncestor

* Remove provideHistoryItems

* Rename methods and remove unused code

* Remove duplicated code
2024-09-02 15:52:05 +02:00
Ladislau Szomoru
a546f7613c SCM - graph always scoped to one repository (#227302)
* Initial implementation of the view

* Extract things into SCMHistoryViewModel

* Add repository name in the title description

* Set the scmProvider context key
2024-09-01 07:50:16 -07:00
Ladislau Szomoru
96af81f067 SCM - introduce history item displayId (#227205)
* SCM - add `displayId` to `SourceControlHistoryItem`

* Add `displayId` into the history item hover
2024-08-30 14:51:11 +02:00
Ladislau Szomoru
72e9b7daff SCM - remove old incoming/outgoing code (#227200)
* Delete SCMViewSeparatorElement

* Deleted all renderers

* Delete SCMHistoryItemGroupTreeElement

* More clean-up

* Cleanup old menus

* Fix compilation errors after ESM merge
2024-08-30 14:10:47 +02:00
Ladislau Szomoru
88810d83f6 SCM - graph progress indicator improvements (#226482) 2024-08-23 21:50:46 +02:00
Ladislau Szomoru
00082d111f SCM - use fixed references when paging in more data (#226425) 2024-08-23 15:06:06 +02:00
Ladislau Szomoru
557228e262 SCM - Source Control Graph view (#226250)
* Added the new view

* Add support for getting N number of commits

* Added view title actions

* More work to enable view/repository actions

* Expand the view by default, and always show the last N commits

* Add context menu actions

* Improve actions

* Basic infinite scrolling implemented

* Better implementation using --skip instead of a cursor

* Do not refresh graph when pressing Refresh

* Refactor load more/caching

* Rename the view

* Add support for the find widget
2024-08-22 15:54:22 +02:00
Ladislau Szomoru
cd360e0318 SCM - remove incoming/outgoing/history graph from the Source Control view (#226241) 2024-08-22 12:42:14 +02:00
Daniel Imms
cf347edc08 Merge pull request #224744 from microsoft/tyriar/145234_2
Finalize shellIntegration API
2024-08-07 06:55:30 -07:00
Ladislau Szomoru
6b0fa93c81 Git - extension should only open repositories for resources with the file scheme (#225024) 2024-08-07 02:20:56 -07:00
Ladislau Szomoru
dad736b252 Git - handle files that contain [ in their name when adding to .gitignore (#224777) 2024-08-05 09:33:22 +02:00
Daniel Imms
929eba4808 Finalize shellIntegration API
Fixes #145234
2024-08-04 09:27:32 -07:00
Ladislau Szomoru
151e03b633 Git - add support for reftable storage format (#224395) 2024-07-31 08:49:46 -07:00
Ladislau Szomoru
887cdf05ee Git - add more git sub-commands that would result in refreshing the SCM viewlet (#224185) 2024-07-29 06:58:00 -07:00
Ladislau Szomoru
9c9ef6614b Git - improve handling of first commit (#224165) 2024-07-29 11:01:34 +02:00
Ladislau Szomoru
78d09a85c7 SCM - improve history graph filtering (#223497) 2024-07-24 16:39:57 +02:00
Ladislau Szomoru
03f4cbc915 Git - fix condition for setting the base branch (#223493) 2024-07-24 06:23:37 -07:00
Ladislau Szomoru
2293c3d73c SCM - Move "View Changes" action into core (#223485)
* Move "View Changes" action into core

* Verify that the first/last history item group are on the same branch
2024-07-24 03:59:27 -07:00
Ladislau Szomoru
9219bf5f1f Git - use first commit as common ancestor if the repository has not been published to a remote (#223476) 2024-07-24 01:38:31 -07:00
Ladislau Szomoru
b97d0a2cb5 Git - include changes from both commits in the range (#223050) 2024-07-22 14:03:38 +02:00
Ladislau Szomoru
cba3b82197 Git - get short stats for the common ancestor commit (#222937) 2024-07-22 10:47:07 +02:00
Ladislau Szomoru
08c88cee36 SCM - better handle empty commits (#222194) 2024-07-19 07:59:30 -07:00
Ladislau Szomoru
0c0837460f SCM - add support for multi-select in the history graph (#222186) 2024-07-19 07:23:01 -07:00
Ladislau Szomoru
129edfe9cd SCM - add basic context menu to history graph (#222162) 2024-07-19 03:20:53 -07:00
Ladislau Szomoru
f674ef206c Git - only set base if it's different than remote (#222163) 2024-07-19 03:05:52 -07:00
Ladislau Szomoru
466bb876a6 Git - update terminal shell integration (#222155) 2024-07-19 09:26:50 +02:00
Ladislau Szomoru
b17732f43c Git - add terminal shell execution listener (#221895) 2024-07-17 14:28:09 +05:30
Ladislau Szomoru
31f831310c SCM - 💄 history provider observables cleanup (#221474) 2024-07-11 08:21:53 -07:00
Ladislau Szomoru
3b37bcdc19 SCM - add revision to history item group (#221408)
* SCM - add revision to history item group

* 💄 Cleaned things up
2024-07-10 12:53:20 -07:00
Tyler James Leonhardt
b07596a8aa Polish QuickInputButtonLocation (#221403)
* Fix a bug where the buttons would show up when they shouldn't by clearing them on show like the other ActionBars
* Introduce Proposed API (changed the core shape to reflect)
* Adopted in Git extension

ref https://github.com/microsoft/vscode/issues/221397
2024-07-10 11:39:24 -07:00
Ladislau Szomoru
233ccb7df9 SCM - refactoring to enable filtering of history item groups (#221395) 2024-07-10 11:00:19 -07:00
Ladislau Szomoru
7ed4861b96 Git - do not use commit^.. to get the list of commits (#221287) 2024-07-09 17:15:07 +02:00
Ladislau Szomoru
c4e1a5aabc Git - fix fetchRef, pullRef, pushRef commands (#221273) 2024-07-09 15:12:19 +02:00
Ladislau Szomoru
fc8ade92b0 Git - add exception handling to handle edge cases (#221254) 2024-07-09 12:16:19 +02:00
Ladislau Szomoru
33abd96b99 Git - add actions to incoming/outgoing header (#221221) 2024-07-08 22:08:24 +02:00
Ladislau Szomoru
f3930566bd Git - 💄 fix log message format (#221218) 2024-07-08 20:51:52 +02:00
Ladislau Szomoru
cf8fdae691 SCM - update history graph hover (#221039) 2024-07-08 13:21:05 +02:00
Ladislau Szomoru
d0f0de52df Git - fix commit flow regression (#220991) 2024-07-08 09:14:50 +02:00
Benjamin Pasero
3a0cc239a9 🆙 jschardet@3.1.3 (#220089) 2024-07-05 16:30:50 +02:00
Ladislau Szomoru
c040699c44 Git - standardize logging in the git extension (#220043)
* Git - more logging

* Git - more logging changes
2024-07-05 11:26:48 +02:00
Ladislau Szomoru
83c722d9a1 Git - 💄 better error handling and clean-up logging (#219975) 2024-07-04 17:12:06 +02:00
Ladislau Szomoru
f94698b3dd Git - do not show progress while running Config and GetBranch operations (#219940) 2024-07-04 12:56:55 +02:00
Ladislau Szomoru
a238e15485 Git - fix timing issue with branch picker (#219864) 2024-07-03 16:11:57 +02:00
Ladislau Szomoru
3c7cbd264e Git - include unstaged changes when amending a commit and smart commit is enabled (#219675) 2024-07-02 14:50:50 +02:00