Commit Graph

36 Commits

Author SHA1 Message Date
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
Eric Amodio
2dc90b8140 Adds index (staged changes) to timeline 2020-01-27 15:28:33 -05:00
Eric Amodio
d7b5fe4cc7 Adds refresh for when timeline changes 2020-01-27 15:28:33 -05:00
Eric Amodio
87c2332fed Adds timeline diff on click and icon support 2020-01-27 15:28:33 -05:00