Commit Graph

53 Commits

Author SHA1 Message Date
Ladislau Szomoru
2ae3d5ae35 Git - fix bug with opening the first commit from the timeline view (#239111) 2025-01-29 17:03:52 +01:00
Ladislau Szomoru
0bccf5608b Git - add avatar to timeline hover (#238248) 2025-01-19 21:53:03 +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
496eb294d6 Git/SCM - update "view" to "open" in the command titles (#237645) 2025-01-10 14:45:09 +01:00
Ladislau Szomoru
c6954727db Git - fix timeline item hover rendering (#237641) 2025-01-10 05:33:10 -08:00
Ladislau Szomoru
a26fe3e466 Git - do not show "Open on GitHub" action for commits that have not been pushed to the remote (#237605) 2025-01-09 15:20:57 -08:00
Ladislau Szomoru
e03d4a0ea2 Git - Add "Open on GitHub" command to timeline hover (#237523) 2025-01-08 22:05:04 +01:00
Ladislau Szomoru
fc4e78cbfe Git - remove commands that are not used (#237368)
Git -  remove commands that are not used
2025-01-06 22:17:09 +01:00
Ladislau Szomoru
e22e3e7293 Git - improve timeline hover (#237365) 2025-01-06 21:47:43 +01:00
Francis Chartrand
bef295a70b timeline: use follow option so timeline follow file beyond renames (#187174)
feat(git): use follow option so timeline follow file beyond renames

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-12-08 13:03:59 +00:00
Ladislau Szomoru
629d643eff Git - remove gitlens-git from timeline provider (#172844) 2023-01-30 12:25:19 -08:00
Ladislau Szomoru
2d4f8aeb53 Git - more conservative approach to refreshing the timeline (#172765) 2023-01-30 11:33:48 -08:00
Ladislau Szomoru
f09c4124a2 Engineering - adopt l10n for git-base/git/github extesions (#164566)
Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
2022-10-28 11:27:08 +02:00
Benjamin Pasero
fbdc6d0352 git - use different icon for uncomitted changes (#145781) 2022-04-23 09:44:45 +02:00
Benjamin Pasero
44b6695d4e timeline - add setting to bring back "Uncommitted Changes" (#147372) 2022-04-13 17:10:28 +02:00
Benjamin Pasero
7de40ebc0b remove uncommited changes (#145853) 2022-03-23 09:26:17 +01:00
Jackson Kearl
2626c7f17c Fix #145135 2022-03-15 12:25:31 -07:00
Benjamin Pasero
c0b8e90b2e Merge branch 'main' into ben/history 2022-03-14 20:02:35 +01:00
Ladislau Szomoru
43ebce7ce2 Use markdown for the timeline hover (#145038) 2022-03-14 19:53:24 +01:00
Benjamin Pasero
eda6a6090e history - implement interop between git and local history 2022-03-11 13:44:43 +01:00
Quan Zhuo
f57c9e5bf5 #144671, fix some non localized strings in git extension (#144712)
Signed-off-by: Quan Zhuo <quanzhuo@kylinos.cn>
2022-03-09 11:50:55 +01:00
Alex Dima
cae6e662ce Reduce usage of allow-any-unicode-next-line 2021-11-20 21:01:29 +01:00
Alex Dima
a704a69394 Enforce that source code uses a small subset of Unicode 2021-11-03 23:34:41 +01:00
Eric Amodio
4fc8dc82f3 Fixes #110496 - use builtin gestures for open/diff 2021-02-05 15:00:47 -05:00
Alexandru Dima
e461782061 Fix compilation problem 2020-12-17 22:00:45 +01:00
Seth Fitzsimmons
217ad5ac66 Typo: Uncommited → Uncommitted 2020-11-12 15:31:30 -05:00
Eric Amodio
0ac9d25b81 Closes #91695 - adds emoji support 2020-10-12 14:38:07 -04:00
Eric Amodio
d8b1776ccb Closes #97407, #93405 2020-10-09 02:31:48 -04:00
Eric Amodio
937b30edf2 Fixes #100610 2020-10-07 16:00:07 -04:00
Ladislau Szomoru
bbb9784d8b PoliCheck 💄 2020-08-26 14:42:39 +02:00
Eric Amodio
8d51d4a419 Hides timeline view if no providers registered
Helps first-run experience, see here:
https://github.com/microsoft/vscode/issues/98614#issuecomment-665693078
2020-07-31 18:37:15 -04:00
Eric Amodio
4ccf3e4ef3 Fixes #94163 2020-04-06 23:58:04 -04:00
Eric Amodio
28dbe0755e Fixes #94090 - adds remote scheme for git timeline 2020-04-03 17:28:09 -04:00
Eric Amodio
e62c4302b0 Removes day.js dependency; uses Intl instead 2020-03-26 00:10:41 -04:00
Eric Amodio
9c1e26890c Fixes #91377 - save previous ref 2020-03-23 17:15:41 -04:00
Eric Amodio
5391a481bc Simplifies timeline paging options 2020-03-23 13:49:44 -04:00
Eric Amodio
3f6843956a Refactors timeline to work better w/ multi sources
Separates the tree rendering from the data model cache
Fixes many issues and simplifies the code
2020-03-20 04:00:52 -04:00
Eric Amodio
d1c1e27028 Changes limit to take a cursor object — #91722 2020-03-02 04:35:43 -05:00
Eric Amodio
a5225d02a8 Limits schemes for Git timeline provider 2020-03-01 11:32:59 -05:00
Eric Amodio
634522a6ed Fixes #91381 2020-03-01 11:32:18 -05:00
Eric Amodio
89cafb24e5 Localizes timeline strings 2020-02-24 22:56:45 -05:00
Eric Amodio
d46c8a8c3c Lots of timeline related changes, below
UI:
Adds Refresh icon to view title
Adds "Load more" entry at the end of the list for paging

API:
Restructures api around cursors
Renames TimelineCursor to generic TimelineOptions for more flexibility
Adds paging object to Timeline for clearer paging usage
Changes cursors to be strings, and explicit before and after cursors
Allows limit to take a cursor, so we can reload current data set
Clarifies id and fallback to timestamp
Adds reset flag to TimelineChangeEvent for providers to reset caching

Git provider:
Orders and returns commit date as the timestamp
Supports limit of a cursor (using rev-list --count)
Stops returning working/index changes when paging
Forcably resets cached data when changes are detected (naive for now)
2020-02-24 15:48:37 -05:00
Eric Amodio
9ae0fd36c9 Enhances timeline - commands, timestamp, etc
Adds contributable commands to timeline items
Adds right-aligned timestamp to timeline items
Adds Open Changes to Git timeline items
Adds Copy Commit ID to Git timeline items
Adds Copy Commit Message to Git timeline items
2020-02-14 15:22:45 -05:00
Eric Amodio
69b30f6ba7 Adds paging support (wip) 2020-02-14 15:22:45 -05:00
Eric Amodio
eaf632c42a Adds uncommitted changes to timeline 2020-02-06 00:04:54 -05:00
Eric Amodio
4cc5b776dc Overhauls timeline display to stream in results
Implements many API review changes
Fixes #89558
2020-02-05 18:16:37 -05:00
Joao Moreno
a2defb0625 fix build 2020-02-04 12:49:59 +01:00
Eric Amodio
44edf3c197 Polishes the timeline UI/UX
Cleans up API and removes some unused features (e.g. paging)
Adds date formatting
Adds loading progress and message
Removes lots of console.logs 😁
Adds titles to diffs
2020-01-27 15:28:33 -05:00