Commit Graph

89 Commits

Author SHA1 Message Date
Ladislau Szomoru
e4e03ebce9 Git - fix data shape issue for the merge base (#242544) 2025-03-04 12:16:09 +01:00
Ladislau Szomoru
b968336efa Git - do not show origin/HEAD ref in the graph (#239842) 2025-02-06 12:00:24 -08:00
Ladislau Szomoru
42e96916ac Git - handle local tracking branches (#238503) 2025-01-22 12:51:31 -08:00
Ladislau Szomoru
959d01a2a5 Git - fix regression with commits that contain addition/deletion/rename (#238349)
* Git - fix regression with commits that contain addition/deletion/rename

* Fix compilation error
2025-01-21 11:44:21 +01:00
Ladislau Szomoru
d64829f052 Git - add avatar to graph hover (#238246) 2025-01-19 21:30:42 +01:00
Ladislau Szomoru
7610cc1d19 Git - 💄 fix history item details provider name (#238045) 2025-01-16 20:25:19 +09:00
Ladislau Szomoru
eaba97f995 Git - extract history item detail provider (#238041)
* Initial refactor of hover commands

* Delete old code for hover commands

* More refactoring
2025-01-16 11:37:27 +01:00
Ladislau Szomoru
57e8c28877 GitHub - link provider for various hovers (#237961)
* Initial implementation

* Refactor code, add link to blame decoration

* Add links to timeline hover

* Saving my work

* Update remote order for "Open on GitHub" action

* Bug fixes

* Add link provider for graph hover

* Rename method
2025-01-15 16:30:43 +01:00
Ladislau Szomoru
c8be65a66a SCM - add plumbing to support history item ref actions (#237687)
* Implement using classes (order is not working)

* A better implementation with order working as well

* Remove commands for the time being
2025-01-10 12:53:39 -08:00
Ladislau Szomoru
744eec9595 Git - update base branch revision when it changes (#237558) 2025-01-09 12:47:34 +01:00
Ladislau Szomoru
abe43ed1d5 Git - add author email to the blame/graph hover (#237360) 2025-01-06 20:31:52 +01:00
Ladislau Szomoru
3548eae0e1 Git - add git.commitShortHashLength setting (#237343) 2025-01-06 16:05:37 +00:00
Ladislau Szomoru
bdc3e5e2f4 SCM Graph - only show one badge per color/type (#229716) 2024-09-25 16:18:56 +02:00
Ladislau Szomoru
55ed7b6ebc Git - error handling while computing merge base (#229134) 2024-09-20 11:05:59 +02:00
Ladislau Szomoru
47a8de0b9f SCM Graph - add option to return only a subset of history item references (#228932) 2024-09-18 12:36:57 +02:00
Ladislau Szomoru
dfa3888fbd Git - use --stdin when running git log (#228817)
* Revert "Git - truncate commit hashes before running git log (#228643)"

This reverts commit 26ae4519ca.

* Use the --stdin flag when running git log
2024-09-17 13:36:14 +02:00
Ladislau Szomoru
26ae4519ca Git - truncate commit hashes before running git log (#228643) 2024-09-14 19:50:20 -07:00
Ladislau Szomoru
a8343f15fa Git - retrieve references as part of updating the model (#228609)
* Git - retrieve references as part of updating the model

* Remove extra import
2024-09-13 15:31:26 -07:00
Ladislau Szomoru
1d3895d045 SCM Graph - better handling of graph refresh (#228329)
* Initial implementation

* Removed refs should be also removed from the filter
2024-09-12 12:06:25 +02:00
Ladislau Szomoru
0485695683 Git - fix remote reference id (#228164)
* Git - fix remote reference id

* Remove unnecessary code
2024-09-11 00:40:22 +02:00
Ladislau Szomoru
ff86643196 Git - clean-up history provider (#228148) 2024-09-10 21:43:46 +02:00
Ladislau Szomoru
2a27ab1e48 Fix typo 2024-09-10 15:07:54 +02:00
Ladislau Szomoru
c2c032e0da SCM - 💄 remove SourceControlHistoryItemGroup from the API proposal 2024-09-10 14:46:12 +02:00
Ladislau Szomoru
fea0aa298b Git - only calculate branch merge base on checkout (#228066) 2024-09-10 08:45:20 +02:00
Ladislau Szomoru
d8af24e15d SCM - wire-up the onDidChangeHistoryItemRefs event (#228042)
Wire-up the event
2024-09-09 16:51:31 -07:00
Ladislau Szomoru
3f0893b273 SCM - cleanup history provider proposed API (#227960) 2024-09-09 14:40:56 +02:00
Ladislau Szomoru
3ab41c2f69 SCM Graph - add branch picker (#227949)
* WIP - saving my work

* Extract HistoryItemRef picker

* Extract Repository picker

* Improve history item ref picker rendering

* Refactor color map

* Refresh the graph when the filter changes

* Push minor fix
2024-09-09 12:02:31 +02: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
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
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
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
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
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
f674ef206c Git - only set base if it's different than remote (#222163) 2024-07-19 03:05:52 -07:00
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
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
fc8ade92b0 Git - add exception handling to handle edge cases (#221254) 2024-07-09 12:16:19 +02:00
Ladislau Szomoru
cf8fdae691 SCM - update history graph hover (#221039) 2024-07-08 13:21:05 +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
68ca9a7f4c SCM - improve merge-base detection (#216823) 2024-06-21 17:53:13 +02:00