Skip to content

Commit cd90faa

Browse files
committed
Preps v8.4.0
1 parent 8a2bf40 commit cd90faa

File tree

9 files changed

+574
-278
lines changed

9 files changed

+574
-278
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66

7-
## [Unreleased]
7+
## [8.4.0] - 2018-06-19
88
### Added
9-
- Adds completely revamped **heatmap** annotations
9+
- Adds completely revamped heatmap annotations
10+
![cold heatmap](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-heatmap-cold.png)
1011
- The indicator's, now customizable, color will either be hot or cold based on the age of the most recent change (cold after 90 days by default) — closes [#419](https://github.com/eamodio/vscode-gitlens/issues/419)
1112
- The indicator's brightness ranges from bright (newer) to dim (older) based on the relative age, which is calculated from the median age of all the changes in the file
1213
- Adds `gitlens.heatmap.ageThreshold` setting to specify the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `gitlens.heatmap.coldColor` instead of `gitlens.heatmap.hotColor`)
1314
- Adds `gitlens.heatmap.coldColor` setting to specify the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `gitlens.heatmap.ageThreshold` setting
1415
- Adds `gitlens.heatmap.hotColor` setting to specify the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `gitlens.heatmap.ageThreshold` setting
15-
- Adds new branch history node under the **Repository Status** node in the *GitLens* explorer
16+
- Adds new branch history node under the *Repository Status* node in the *GitLens* explorer
1617
- Adds GitLab and Visual Studio Team Services icons to the remote nodes in the *GitLens* explorer — thanks to [PR #421](https://github.com/eamodio/vscode-gitlens/pull/421) by Maxim Pekurin ([@pmaxim25](https://github.com/pmaxim25))
1718

1819
### Fixed

README.md

Lines changed: 13 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -13,79 +13,19 @@
1313
<br />
1414

1515
# What's new in GitLens 8
16-
## 8.3 &mdash; May 2018
17-
- Adds the ability to control where the *GitLens*, *GitLens History*, and *GitLens Results* explorers are shown 🎉 &mdash; closes [#213](https://github.com/eamodio/vscode-gitlens/issues/213), [#377](https://github.com/eamodio/vscode-gitlens/issues/377)
18-
- Adds `gitlens.gitExplorer.location` setting to the interactive settings editor to specify where the *GitLens* explorer is shown &mdash; either in the *Explorer* or *Source Control* view
19-
- Adds `gitlens.historyExplorer.location` setting to the interactive settings editor to specify where the *GitLens History* explorer is shown &mdash; either in the *Explorer* or *Source Control* view
20-
- Adds `gitlens.resultsExplorer.location` setting to the interactive settings editor to specify where the *GitLens Results* explorer is shown &mdash; either in the *Explorer* or *Source Control* view
21-
- Adds user-defined modes for quickly toggling between sets of settings
22-
23-
![mode switch](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-mode-switch.png)
24-
25-
- Adds *Switch Mode* command (`gitlens.switchMode`) to quickly switch the active GitLens mode
26-
- Adds a built-in *Zen* mode which for a zen-like experience, disables many visual features
27-
- Adds *Toggle Zen Mode* command (`gitlens.toggleZenMode`) to toggle Zen mode
28-
- Adds a built-in *Review* mode which for reviewing code, enables many visual features
29-
- Adds *Toggle Review Mode* command (`gitlens.toggleReviewMode`) to toggle Review mode
30-
- Adds the active mode to the status bar, optional (on by default)
31-
- Adds `gitlens.mode.statusBar.enabled` setting to specify whether to provide the active GitLens mode on the status bar
32-
- Adds `gitlens.mode.statusBar.alignment` setting to specify the active GitLens mode alignment in the status bar
33-
- Adds modes settings (`gitlens.mode.*`) to the interactive settings editor
34-
35-
![modes settings](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-modes-settings.png)
36-
37-
- Adds `gitlens.mode.active` setting to specify the active GitLens mode, if any
38-
- Adds `gitlens.modes` setting to specify the user-defined GitLens modes
39-
- Adds an icon for the *Compare File with Previous Revision* command (`gitlens.diffWithPrevious`) and moves it into the editor toolbar
40-
- Adds an icon for the *Compare File with Next Revision* command (`gitlens.diffWithNext`) and moves it into the editor toolbar
41-
- Adds menu settings (`gitlens.menus.*`) to the interactive settings editor
42-
43-
![menu settings](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-menu-settings.png)
44-
45-
- Adds a display mode dropdown at the top of the interactive settings editor to reduce complexity
46-
47-
![settings mode](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-settings-mode.png)
48-
49-
- Adds `gitlens.settings.mode` setting to specify the display mode of the interactive settings editor
50-
- Adds (re-adds) support for handling single files &mdash; closes [#321](https://github.com/eamodio/vscode-gitlens/issues/321)
51-
- Adds a tree layout option to tags in the *GitLens* explorer &mdash; closes [#358](https://github.com/eamodio/vscode-gitlens/issues/358)
52-
- Adds *Show GitLens Explorer* (`gitlens.showGitExplorer`) command &mdash; shows/expands the *GitLens* explorer
53-
- Adds *Show History Explorer* (`gitlens.showHistoryExplorer`) command &mdash; shows/expands the *GitLens History* explorer
54-
- Adds *Show Results Explorer* (`gitlens.showResultsExplorer`) command &mdash; shows/expands the *GitLens Results* explorer
55-
- Adds *Close Repository* (`gitlens.explorers.closeRepository`) command to repository and repository status nodes in the *GitLens* explorer &mdash; closes (hides) the repository in the *GitLens* explorer
56-
- Adds clipboard support for Linux without requiring any external dependencies &mdash; thanks to [PR #394](https://github.com/eamodio/vscode-gitlens/pull/394) by Cédric Malard ([@cmalard](https://github.com/cmalard))
57-
- Adds a select branch quick pick menu to the *Open File in Remote* command (`gitlens.openFileInRemote`) when the current branch has no upstream tracking branch &mdash; closes [#209](https://github.com/eamodio/vscode-gitlens/issues/209)
58-
- Showing results in the *GitLens Results* explorer now properly shows the explorer first
59-
- Renames *Compare Line Revision with Previous* command (`gitlens.diffLineWithPrevious`) to *Compare Commit with Previous* for consistency with other commands
60-
- Renames *Compare Line Revision with Working File* command (`gitlens.diffLineWithWorking`) to *Compare Commit with Working File* for consistency with other commands
61-
- Renames *Show Commit File Details* command (`gitlens.showQuickCommitFileDetails`) to *Show Commit Details* for consistency with other commands
62-
- Reworks GitLens menu contributions and configuration &mdash; see menu settings above
63-
- Renames the `gitlens.advanced.menus` setting to `gitlens.menus`
64-
- Uses the new Webview API for better interactions and behavior with the interactive settings editor and welcome page
65-
- Moves the *Open Working File* command (`gitlens.openWorkingFile`) to the right of the *Compare File with * Revision* commands in the editor toolbar
66-
- Fixes [#366](https://github.com/eamodio/vscode-gitlens/issues/366) - Running a GitLens command from a keybinding fails
67-
- Fixes [#155](https://github.com/eamodio/vscode-gitlens/issues/155) - Navigating file diffs with `alt+,` gets stuck
68-
- Fixes [#359](https://github.com/eamodio/vscode-gitlens/issues/359) - Show changes of an added file in the first commit
69-
- Fixes [#372](https://github.com/eamodio/vscode-gitlens/issues/372) - Wrong URL to VSTS work item when using hash work item id in commit
70-
- Fixes [#362](https://github.com/eamodio/vscode-gitlens/issues/362) - Too many code lenses in postcss files
71-
- Fixes [#381](https://github.com/eamodio/vscode-gitlens/issues/381) - Can't stash single files with older versions of Git
72-
- Fixes [#384](https://github.com/eamodio/vscode-gitlens/issues/384) - Absolute dates not always honored in *GitLens Results* explorer
73-
- Fixes [#385](https://github.com/eamodio/vscode-gitlens/issues/385) - Wrong git command to delete remote branch
74-
- Fixes [#400](https://github.com/eamodio/vscode-gitlens/issues/400) - Reset TO commit also resets chosen one
75-
- Fixes [#399](https://github.com/eamodio/vscode-gitlens/issues/399) - "Open x in Remote" commands aren't always available
76-
- Fixes [#397](https://github.com/eamodio/vscode-gitlens/issues/397) - Error while opening the gitlens view using `Open View` command
77-
- Fixes [#391](https://github.com/eamodio/vscode-gitlens/issues/391) - GitLens adds some settings in settings.json
78-
- Fixes another case of [#343](https://github.com/eamodio/vscode-gitlens/issues/343) - Can't show blame when VSCode starts on branch without upstream &mdash; thanks to [PR #390](https://github.com/eamodio/vscode-gitlens/pull/390) by ryenus ([@ryenus](https://github.com/ryenus))
79-
- Fixes [#392](https://github.com/eamodio/vscode-gitlens/issues/392) - unable to contribute if default script shell is sh &mdash; thanks to [PR #393](https://github.com/eamodio/vscode-gitlens/pull/393) by Cédric Malard ([@cmalard](https://github.com/cmalard))
80-
- Fixes more instances of [#295](https://github.com/eamodio/vscode-gitlens/issues/295) and [#318](https://github.com/eamodio/vscode-gitlens/issues/318) - Any error encountered during the search for repositories could cause GitLens to die
81-
- Fixes issue with the `chorded` keyboard shortcut for the *Compare File with Previous Revision* command (`gitlens.diffWithPreviousInDiff`) &mdash; from [#395](https://github.com/eamodio/vscode-gitlens/issues/395)
82-
- Fixes *bronze* typo thanks to [PR #361](https://github.com/eamodio/vscode-gitlens/pull/361) by Cory Forsyth ([@bantic](https://github.com/bantic))
83-
- Fixes *individually* typo thanks to [PR #364](https://github.com/eamodio/vscode-gitlens/pull/364) by Brett Cannon ([@brettcannon](https://github.com/brettcannon))
84-
- Fixes issue where comparing previous revision during a merge/rebase conflict failed to show the correct contents
85-
- Fixes issue with the current line blame toggle not working when current line blame starts disabled
86-
- Fixes various issues when not on a branch
87-
- Fixes many issues where commands wouldn't work if the active file wasn't part of an open repository &mdash; now GitLens will try to find the best repository otherwise it will open a repository quick pick menu if there is more than one
88-
- Fixes the *Open Working File* command (`gitlens.openWorkingFile`) not always showing in the editor toolbar when appropriate
16+
## 8.4 &mdash; June 2018
17+
- Adds completely revamped heatmap annotations
18+
![cold heatmap](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-heatmap-cold.png)
19+
- The indicator's, now customizable, color will either be hot or cold based on the age of the most recent change (cold after 90 days by default) &mdash; closes [#419](https://github.com/eamodio/vscode-gitlens/issues/419)
20+
- The indicator's brightness ranges from bright (newer) to dim (older) based on the relative age, which is calculated from the median age of all the changes in the file
21+
- Adds `gitlens.heatmap.ageThreshold` setting to specify the age of the most recent change (in days) after which the gutter heatmap annotations will be cold rather than hot (i.e. will use `gitlens.heatmap.coldColor` instead of `gitlens.heatmap.hotColor`)
22+
- Adds `gitlens.heatmap.coldColor` setting to specify the base color of the gutter heatmap annotations when the most recent change is older (cold) than the `gitlens.heatmap.ageThreshold` setting
23+
- Adds `gitlens.heatmap.hotColor` setting to specify the base color of the gutter heatmap annotations when the most recent change is newer (hot) than the `gitlens.heatmap.ageThreshold` setting
24+
- Adds new branch history node under the *Repository Status* node in the *GitLens* explorer
25+
- Adds GitLab and Visual Studio Team Services icons to the remote nodes in the *GitLens* explorer &mdash; thanks to [PR #421](https://github.com/eamodio/vscode-gitlens/pull/421) by Maxim Pekurin ([@pmaxim25](https://github.com/pmaxim25))
26+
- Fixes [#400](https://github.com/eamodio/vscode-gitlens/issues/412) - GitLens logging to debug console when debugging different extension
27+
- Fixes [#409](https://github.com/eamodio/vscode-gitlens/issues/409) - Literal $(ellipsis) inserted into commit QuickPick menu entry placeholder text
28+
- Fixes [#415](https://github.com/eamodio/vscode-gitlens/issues/415) - Branch names get mangled by color escapes &mdash; thanks to [PR #416](https://github.com/eamodio/vscode-gitlens/pull/416) by Roy Ivy III ([@rivy](https://github.com/rivy))
8929

9030
See the [release notes](https://github.com/eamodio/vscode-gitlens/blob/master/CHANGELOG.md "Open Release Notes") for the full set of changes
9131

images/cl-heatmap-cold.png

14.8 KB
Loading

images/ss-heatmap.png

4 Bytes
Loading

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gitlens",
33
"displayName": "GitLens \u2014 Git supercharged",
44
"description": "Supercharge the Git capabilities built into Visual Studio Code \u2014 Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more",
5-
"version": "8.3.5",
5+
"version": "8.4.0",
66
"author": {
77
"name": "Eric Amodio",
88
"email": "[email protected]"

src/ui/images/settings/heatmap.png

3 Bytes
Loading

src/ui/scss/main.scss

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ input:not([type]) {
138138
border: 1px solid var(--color);
139139
color: var(--color);
140140
margin: 0 0.75em;
141+
max-width: 300px;
141142
padding: 4px;
142143
width: 100%;
143-
max-width: 300px;
144144

145145
&:focus {
146146
background: rgba(0, 0, 0, 0.1);
@@ -363,17 +363,18 @@ ul {
363363

364364
.changelog__date {
365365
font-size: 0.8em;
366-
font-weight: 600;
367366
font-variant: small-caps;
368-
opacity: 0.9;
367+
font-weight: 600;
369368
margin-left: -7px;
369+
opacity: 0.9;
370370
vertical-align: middle;
371371
}
372372

373373
.changelog__details {
374374
align-items: center;
375375
display: flex;
376376
justify-content: center;
377+
padding: 0 7em;
377378
position: relative;
378379

379380
&:before {
@@ -386,6 +387,18 @@ ul {
386387
}
387388
}
388389

390+
.changelog__details--list {
391+
flex-direction: column;
392+
393+
& p {
394+
margin-bottom: 0;
395+
}
396+
397+
& p:last-child {
398+
margin-bottom: 1em;
399+
}
400+
}
401+
389402
.changelog__hint {
390403
color: var(--color--75);
391404
font-weight: 200;
@@ -555,8 +568,8 @@ ul {
555568

556569
.icon__info {
557570
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125"><path fill="none" d="M0 0h100v100H0z"/><path d="M50 21a29 29 0 1 0 29 29 29 29 0 0 0-29-29zm0 55a26 26 0 1 1 26-26 26 26 0 0 1-26 26z"/><path d="M48 45l-1 1v18l1 1h4l1-1V46l-1-1zm0-10l-1 1v4l1 1h4l1-1v-4l-1-1z"/></svg>');
558-
-webkit-mask-repeat: no-repeat;
559571
mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125"><path fill="none" d="M0 0h100v100H0z"/><path d="M50 21a29 29 0 1 0 29 29 29 29 0 0 0-29-29zm0 55a26 26 0 1 1 26-26 26 26 0 0 1-26 26z"/><path d="M48 45l-1 1v18l1 1h4l1-1V46l-1-1zm0-10l-1 1v4l1 1h4l1-1v-4l-1-1z"/></svg>');
572+
-webkit-mask-repeat: no-repeat;
560573
mask-repeat: no-repeat;
561574
}
562575

@@ -740,10 +753,10 @@ ul {
740753
content: '';
741754
height: 40px;
742755
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125"><path d="M50 62a3 3 0 0 1-2-1L26 44a3 3 0 0 1 3-5l21 16 21-16a3 3 0 1 1 3 5L52 61a3 3 0 0 1-2 1z"/></svg>');
743-
-webkit-mask-repeat: no-repeat;
744-
-webkit-mask-size: 32px 40px;
745756
mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 125"><path d="M50 62a3 3 0 0 1-2-1L26 44a3 3 0 0 1 3-5l21 16 21-16a3 3 0 1 1 3 5L52 61a3 3 0 0 1-2 1z"/></svg>');
757+
-webkit-mask-repeat: no-repeat;
746758
mask-repeat: no-repeat;
759+
-webkit-mask-size: 32px 40px;
747760
mask-size: 32px 40px;
748761
position: absolute;
749762
right: 0;

0 commit comments

Comments
 (0)