Przeglądaj źródła

Preps v8.1.0

main
Eric Amodio 6 lat temu
rodzic
commit
6995b16f32
16 zmienionych plików z 1027 dodań i 483 usunięć
  1. +1
    -1
      .vscodeignore
  2. +12
    -9
      CHANGELOG.md
  3. +29
    -10
      README.md
  4. BIN
      images/cl-annotations-toggle.png
  5. BIN
      images/cl-issue-linking.png
  6. BIN
      images/cl-settings.png
  7. BIN
      images/cl-welcome.png
  8. BIN
      images/ss-cl-issue-linking.png
  9. BIN
      images/teaser-settings.png
  10. BIN
      images/teaser-welcome.png
  11. +26
    -37
      package-lock.json
  12. +2
    -2
      package.json
  13. +734
    -355
      src/ui/package-lock.json
  14. +115
    -15
      src/ui/scss/main.scss
  15. +9
    -7
      src/ui/settings/index.html
  16. +99
    -47
      src/ui/welcome/index.html

+ 1
- 1
.vscodeignore Wyświetl plik

@ -2,7 +2,7 @@
!images/light/**
!images/settings/**
!images/gitlens-icon.png
!images/teaser-settings.png
!images/cl-*.png
images/**
.vscode/**
.vscode-test/**

+ 12
- 9
CHANGELOG.md Wyświetl plik

@ -4,28 +4,31 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
## [8.1.0] - 2018-03-07
### Added
- Adds issue linking for commit messages in hovers
- Adds automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services for commit messages in hovers
![Issue linking](./images/ss-cl-issue-linking.png)
![Issue linking in commit messages](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-issue-linking.png)
- Adds icons to remotes in the *GitLens* explorer based on the remote service provider
- Adds multi-cursor support to current line annotations — closes [#291](https://github.com/eamodio/vscode-gitlens/issues/291)
- Adds support to toggle annotations for each file individually or for all files at once — closes [#289](https://github.com/eamodio/vscode-gitlens/issues/289)
![Annotations toggle setting](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-annotations-toggle.png)
- Adds new controls the interactive settings editor (*Open Settings* from the Command Palette) to configure this new behavior
- Adds `gitlens.blame.toggleMode` setting to specify how the gutter blame annotations will be toggled, per file or window
- Adds `gitlens.heatmap.toggleMode` setting to specify how the gutter heatmap annotations will be toggled, per file or window
- Adds `gitlens.recentChanges.toggleMode` setting to specify how the recently changed lines annotations will be toggled, per file or window
- Adds icons to remotes in the *GitLens* explorer based on the remote service provider
- Adds multi-cursor support to current line annotations — closes [#291](https://github.com/eamodio/vscode-gitlens/issues/291)
### Changed
- Renames *Compare Selected Ancestor with Working Tree* command to *Compare Ancestry with Working Tree* and removes the need to select a branch first, since all compares are done to the working tree — closes [#279](https://github.com/eamodio/vscode-gitlens/issues/279)
- Renames *Compare Selected Ancestor with Working Tree* command to *Compare Ancestry with Working Tree* and removes the need to select a branch first, since all compares are performed with the working tree — closes [#279](https://github.com/eamodio/vscode-gitlens/issues/279)
### Removed
- Removes tag icons from the *GitLens* explorer
### Fixed
- Fixes [#294](https://github.com/eamodio/vscode-gitlens/issues/294) - Keyboard shortcuts will now default to *chorded* to avoid conflicts. FYI, only affects new installs or if you remove the `gitlens.keymap` setting)
- Fixes [#294](https://github.com/eamodio/vscode-gitlens/issues/294) - Keyboard shortcuts will now default to *chorded* to avoid conflicts. Only affects new installs or if you remove the `gitlens.keymap` setting
- Fixes issue where Recent Changes annotations weren't restored properly on tab switch
- Fixes quick pick menu issue with commits with newlines in the message
@ -56,11 +59,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Added
- Adds an all-new GitLens welcome page via the *Welcome* (`gitlens.showWelcomePage`) command — provides a welcome / onboarding experience — closes [#51](https://github.com/eamodio/vscode-gitlens/issues/51)
![GitLens Welcome](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/teaser-welcome.png)
![GitLens Welcome](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-welcome.png)
- Adds an all-new GitLens Settings editor via the *Open Settings* (`gitlens.showSettingsPage`) command — provides an easy-to-use interactive settings editor for many of GitLens' features — closes [#167](https://github.com/eamodio/vscode-gitlens/issues/167)
![GitLens Settings](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/teaser-settings.png)
![GitLens Settings](https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-settings.png)
- Adds a tree layout option to branches in the *GitLens* explorer — closes [#258](https://github.com/eamodio/vscode-gitlens/issues/258) thanks to [PR #260](https://github.com/eamodio/vscode-gitlens/pull/260) by Yukai Huang ([@Yukaii](https://github.com/Yukaii))!
- Adds *Follow Renames* command (`gitlens.gitExplorer.setRenameFollowingOn`) to the **GitLens** explorer *History* view to follow file renames in the history

+ 29
- 10
README.md Wyświetl plik

@ -13,6 +13,15 @@
<br />
# What's new in GitLens 8
## 8.1 &mdash; March 2018
- Adds automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services for commit messages in hovers
- Adds support to toggle annotations for each file individually or for all files at once &mdash; closes [#289](https://github.com/eamodio/vscode-gitlens/issues/289)
- Adds icons to remotes in the *GitLens* explorer based on the remote service provider
- Adds multi-cursor support to current line annotations &mdash; closes [#291](https://github.com/eamodio/vscode-gitlens/issues/291)
- Renames *Compare Selected Ancestor with Working Tree* command to *Compare Ancestry with Working Tree* and removes the need to select a branch first, since all compares are performed with the working tree &mdash; closes [#279](https://github.com/eamodio/vscode-gitlens/issues/279)
- Fixes [#294](https://github.com/eamodio/vscode-gitlens/issues/294) - Keyboard shortcuts will now default to *chorded* to avoid conflicts. Only affects new installs or if you remove the `gitlens.keymap` setting
## 8.0 &mdash; February 2018
- Brand new welcome experience
- Brand new interactive [settings editor](#configuration) &mdash; GitLens is easier than ever to customize to suit your needs
- Adds a tree layout option to branches in the <i>GitLens</i> explorer &mdash; thanks to Yukai Huang ([@Yukaii](https://github.com/Yukaii))!
@ -22,7 +31,8 @@ See the [release notes](https://github.com/eamodio/vscode-gitlens/blob/master/CH
# GitLens
[GitLens](http://gitlens.amod.io "Learn more about GitLens") is a free, [open-source](https://github.com/eamodio/vscode-gitlens "Open GitLens on GitHub") extension for [Visual Studio Code](https://code.visualstudio.com) created by [Eric Amodio](http://www.amod.io "Learn more about Eric").
[GitLens](http://gitlens.amod.io "Learn more about GitLens") is an [open-source](https://github.com/eamodio/vscode-gitlens "Open GitLens on GitHub") extension for [Visual Studio Code](https://code.visualstudio.com) created by [Eric Amodio](http://www.amod.io "Learn more about Eric").
While GitLens is generously offered to everyone free of charge, if you find it useful please consider [supporting](#support-gitlens "Support GitLens") it.
GitLens simply helps you understand code better. Quickly glimpse into whom, why, and when a line or code block was changed. Jump back through history to gain further insights as to how and why the code evolved. Explore the history and evolution of a codebase.
@ -47,21 +57,28 @@ GitLens is powerful, feature rich, and also [highly customizable](#gitlens-setti
<br />
</p>
## Show Your Support &#x2764;
## Support GitLens
While GitLens is generously offered to everyone free of charge, if you find it useful please consider supporting it.
I've been building GitLens in my spare time<sup><a title="nights and weekends, i.e. trading sleep for time">1</a></sup> for almost 2 years now.
From its very humble beginnings, GitLens has grown wildly beyond my expectations &mdash; in both its reach as well as its demands on my time and attention.
While I enjoy giving my free time and attention to GitLens' development and growth, I would like to do even more.
### Show Your Support &#x2764;
To my incredible backers &mdash; thank you so much for your contributions. I am truly humbled by your generosity and support. Please know that your support plays a important role in helping me realize GitLens' potential in making developer's lives easier.
If you'd like to join them in supporting GitLens, please consider the following &mdash; feel free to choose more than one. &#x1F609;
- [Become a Patron](https://www.patreon.com/eamodio "Become a Patron") &mdash; join the growing group of generous [backers](https://github.com/eamodio/vscode-gitlens/blob/master/BACKERS.md)
- [Donate via PayPal](https://www.paypal.me/eamodio)
- [Write a Review](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens#review-details "Write a Review")
- [Star or Fork me on GitHub](https://github.com/eamodio/vscode-gitlens "Star or Fork me on GitHub")
- [Become a Sponsor](https://www.patreon.com/eamodio "Become a sponsor on Patreon") &mdash; join the growing group of generous [backers](https://github.com/eamodio/vscode-gitlens/blob/master/BACKERS.md)
- [One-time Donations](https://www.paypal.me/eamodio "One-time donations via PayPal")
- [Write a Review](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens#review-details "Write a review")
- [Star or Fork me on GitHub](https://github.com/eamodio/vscode-gitlens "Star or fork me on GitHub")
- [Follow me on Twitter](https://twitter.com/eamodio "Follow me on Twitter")
- [Hire me](http://www.amod.io/?utm_source=gitlens "Hire me")
## Configuration
<p align="center">
<img src="https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/teaser-settings.png" alt="GitLens Explorer Repository view" />
<img src="https://raw.githubusercontent.com/eamodio/vscode-gitlens/master/images/cl-settings.png" alt="GitLens Explorer Repository view" />
</p>
GitLens has a built-in interactive settings editor which provides an easy-to-use interface to configure many of GitLens' powerful features. It can be accessed via the *Open Settings* (`gitlens.showSettingsPage`) command from the [*Command Palette*](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette).
@ -271,6 +288,7 @@ An on-demand, [customizable](#gitlens-results-view-settings "Jump to the GitLens
</p>
- Adds a **details hover** annotation to the current line to show more commit details ([optional](#hover-settings "Jump to the Hover settings"), on by default)
- Provides automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services in commit messages
- Provides a **quick-access command bar** with *Open Changes*, *Blame Previous Revision*, *Open in Remote*, and *Show More Actions* command buttons
- Click the commit id to execute the *Show Commit Details* command (`gitlens.showQuickCommitDetails`)
@ -296,6 +314,7 @@ An on-demand, [customizable](#gitlens-results-view-settings "Jump to the GitLens
</p>
- Adds a **details hover** annotation to each line while annotating to show more commit details ([optional](#hover-settings "Jump to the Hover settings"), on by default)
- Provides automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services in commit messages
- Provides a **quick-access command bar** with *Open Changes*, *Blame Previous Revision*, *Open in Remote*, and *Show More Actions* command buttons
- Click the commit id to execute the *Show Commit Details* command (`gitlens.showQuickCommitDetails`)
@ -355,8 +374,8 @@ An on-demand, [customizable](#gitlens-results-view-settings "Jump to the GitLens
- Adds a *Show Last Opened Quick Pick* command (`gitlens.showLastQuickPick`) with a shortcut of `alt+-` to quickly get back to where you were when the last GitLens quick pick menu closed
- Adds commands to open files, commits, branches, and the repository in the supported remote services, **BitBucket, GitHub, GitLab, and Visual Studio Team Services** or a [**user-defined** remote services](#custom-remotes-settings "Jump to Custom Remotes settings") &mdash; only available if a Git upstream service is configured in the repository
- Also supports [remote services with custom domains](#custom-remotes-settings "Jump to Custom Remotes settings"), such as **BitBucket, Bitbucket Server (previously called Stash), GitHub, GitHub Enterprise, GitLab**
- Adds commands to open files, commits, branches, and the repository in the supported remote services, **Bitbucket, GitHub, GitLab, and Visual Studio Team Services** or a [**user-defined** remote services](#custom-remotes-settings "Jump to Custom Remotes settings") &mdash; only available if a Git upstream service is configured in the repository
- Also supports [remote services with custom domains](#custom-remotes-settings "Jump to Custom Remotes settings"), such as **Bitbucket, Bitbucket Server (previously called Stash), GitHub, GitHub Enterprise, GitLab**
- *Open Branches in Remote* command (`gitlens.openBranchesInRemote`) &mdash; opens the branches in the supported remote service
- *Open Branch in Remote* command (`gitlens.openBranchInRemote`) &mdash; opens the current branch commits in the supported remote service
- *Open Commit in Remote* command (`gitlens.openCommitInRemote`) &mdash; opens the commit revision of the active line in the supported remote service

BIN
images/cl-annotations-toggle.png Wyświetl plik

Przed Po
Szerokość: 477  |  Wysokość: 176  |  Rozmiar: 4.8 KiB

BIN
images/cl-issue-linking.png Wyświetl plik

Przed Po
Szerokość: 477  |  Wysokość: 104  |  Rozmiar: 9.3 KiB

BIN
images/cl-settings.png Wyświetl plik

Przed Po
Szerokość: 1143  |  Wysokość: 871  |  Rozmiar: 85 KiB

BIN
images/cl-welcome.png Wyświetl plik

Przed Po
Szerokość: 988  |  Wysokość: 716  |  Rozmiar: 63 KiB

BIN
images/ss-cl-issue-linking.png Wyświetl plik

Przed Po
Szerokość: 477  |  Wysokość: 104  |  Rozmiar: 10 KiB

BIN
images/teaser-settings.png Wyświetl plik

Przed Po
Szerokość: 1143  |  Wysokość: 871  |  Rozmiar: 332 KiB

BIN
images/teaser-welcome.png Wyświetl plik

Przed Po
Szerokość: 988  |  Wysokość: 716  |  Rozmiar: 256 KiB

+ 26
- 37
package-lock.json Wyświetl plik

@ -1,6 +1,6 @@
{
"name": "gitlens",
"version": "8.0.2",
"version": "8.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -976,9 +976,9 @@
"dev": true
},
"combined-stream": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz",
"integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=",
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz",
"integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=",
"dev": true,
"requires": {
"delayed-stream": "1.0.0"
@ -1857,8 +1857,8 @@
"dev": true,
"requires": {
"asynckit": "0.4.0",
"combined-stream": "1.0.5",
"mime-types": "2.1.17"
"combined-stream": "1.0.6",
"mime-types": "2.1.18"
}
},
"fragment-cache": {
@ -3216,7 +3216,7 @@
"aws-sign2": "0.6.0",
"aws4": "1.6.0",
"caseless": "0.11.0",
"combined-stream": "1.0.5",
"combined-stream": "1.0.6",
"extend": "3.0.1",
"forever-agent": "0.6.1",
"form-data": "2.1.4",
@ -3226,11 +3226,11 @@
"is-typedarray": "1.0.0",
"isstream": "0.1.2",
"json-stringify-safe": "5.0.1",
"mime-types": "2.1.17",
"mime-types": "2.1.18",
"oauth-sign": "0.8.2",
"qs": "6.3.2",
"stringstream": "0.0.5",
"tough-cookie": "2.3.3",
"tough-cookie": "2.3.4",
"tunnel-agent": "0.4.3",
"uuid": "3.2.1"
}
@ -4400,18 +4400,18 @@
}
},
"mime-db": {
"version": "1.30.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz",
"integrity": "sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE=",
"version": "1.33.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz",
"integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==",
"dev": true
},
"mime-types": {
"version": "2.1.17",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz",
"integrity": "sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=",
"version": "2.1.18",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz",
"integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==",
"dev": true,
"requires": {
"mime-db": "1.30.0"
"mime-db": "1.33.0"
}
},
"mimic-fn": {
@ -5363,7 +5363,7 @@
"aws-sign2": "0.7.0",
"aws4": "1.6.0",
"caseless": "0.12.0",
"combined-stream": "1.0.5",
"combined-stream": "1.0.6",
"extend": "3.0.1",
"forever-agent": "0.6.1",
"form-data": "2.3.2",
@ -5373,13 +5373,13 @@
"is-typedarray": "1.0.0",
"isstream": "0.1.2",
"json-stringify-safe": "5.0.1",
"mime-types": "2.1.17",
"mime-types": "2.1.18",
"oauth-sign": "0.8.2",
"performance-now": "2.1.0",
"qs": "6.5.1",
"safe-buffer": "5.1.1",
"stringstream": "0.0.5",
"tough-cookie": "2.3.3",
"tough-cookie": "2.3.4",
"tunnel-agent": "0.6.0",
"uuid": "3.2.1"
},
@ -5451,18 +5451,7 @@
"requires": {
"asynckit": "0.4.0",
"combined-stream": "1.0.6",
"mime-types": "2.1.17"
},
"dependencies": {
"combined-stream": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz",
"integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=",
"dev": true,
"requires": {
"delayed-stream": "1.0.0"
}
}
"mime-types": "2.1.18"
}
},
"har-validator": {
@ -6416,9 +6405,9 @@
}
},
"tough-cookie": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz",
"integrity": "sha1-C2GKVWW23qkL80JdBNVe3EdadWE=",
"version": "2.3.4",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz",
"integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==",
"dev": true,
"requires": {
"punycode": "1.4.1"
@ -6902,9 +6891,9 @@
}
},
"vscode": {
"version": "1.1.10",
"resolved": "https://registry.npmjs.org/vscode/-/vscode-1.1.10.tgz",
"integrity": "sha512-MvFXXSGuhw0Q6GC6dQrnRc0ES+63wpttGIoYGBMQnoS9JFCCNC/rWfX0lBCHJyuKL2Q8CYg0ROsMEHbHVwEtVw==",
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/vscode/-/vscode-1.1.11.tgz",
"integrity": "sha512-JSngwwfDSZ+MMtNPXiPI5jM0tHiqaL5oXIP9+nuIJ7AcJjsIIPAU118IswukvGWRllOLRA1ORfDNYTEMh8rtng==",
"dev": true,
"requires": {
"glob": "7.1.2",

+ 2
- 2
package.json Wyświetl plik

@ -1,6 +1,6 @@
{
"name": "gitlens",
"version": "8.0.2",
"version": "8.1.0",
"author": {
"name": "Eric Amodio",
"email": "eamodio@gmail.com"
@ -2929,7 +2929,7 @@
"typescript": "2.7.2",
"uglify-es": "3.3.9",
"uglifyjs-webpack-plugin": "1.2.2",
"vscode": "1.1.10",
"vscode": "1.1.11",
"webpack": "3.11.0",
"webpack-node-externals": "1.6.0"
}

+ 734
- 355
src/ui/package-lock.json
Plik diff jest za duży
Wyświetl plik


+ 115
- 15
src/ui/scss/main.scss Wyświetl plik

@ -40,11 +40,37 @@ b {
code,
.shortcut-key {
background-color: var(--background-color--lighten-15);
border-bottom: 2px solid var(--background-color--lighten-15);
border-radius: 3px;
padding: 1px 5px;
vertical-align: bottom;
.vscode-dark & {
background-color: var(--background-color--lighten-15);
border-bottom: 2px solid var(--background-color--lighten-15);
}
.vscode-light & {
background-color: var(--background-color--darken-15);
border-bottom: 2px solid var(--background-color--darken-15);
}
}
.setting-key {
border-radius: 3px;
font-family: monospace;
font-size: 0.9em;
padding: 1px 5px;
vertical-align: text-top;
.vscode-dark & {
background-color: var(--background-color--lighten-15);
border-bottom: 2px solid var(--background-color--lighten-15);
}
.vscode-light & {
background-color: var(--background-color--darken-15);
border-bottom: 2px solid var(--background-color--darken-15);
}
}
h1 {
@ -64,6 +90,14 @@ h2 {
white-space: nowrap;
}
h3 {
font-size: 1.17em;
font-weight: 200;
line-height: normal;
margin: 1em 0 0.3em 0;
white-space: nowrap;
}
header {
align-items: center;
display: flex;
@ -176,6 +210,21 @@ ul {
font-size: 1.25em;
}
.button--flat {
border: 1px solid rgba(255, 255, 255, 0.6);
color: white !important;
transition: background-color 250ms, border-color 250ms, color 250ms;
&:hover {
background-color: white;
color: black !important;
}
.preload & {
transition-duration: 0s !important;
}
}
.button--flat-inverse {
background-color: white;
border: 1px solid white;
@ -221,7 +270,7 @@ ul {
}
}
.button-group--donate {
.button-group--support-gitlens {
justify-content: center;
margin: 1.5em 0 1em 0;
@ -232,7 +281,7 @@ ul {
}
}
.button-group--donate-sidebar {
.button-group--support-gitlens-sidebar {
font-size: 0.8em;
& .button {
@ -281,17 +330,40 @@ ul {
background-color: #0366d6;
}
.changelog__badge--version {
background-color: #914db3;
font-size: 15px;
}
.changelog__date {
font-size: 0.8em;
font-weight: 600;
font-variant: small-caps;
opacity: 0.9;
margin-left: -7px;
vertical-align: middle;
}
.changelog__details {
align-items: center;
display: flex;
justify-content: center;
position: relative;
&:before {
border-left: 1px solid rgba(122, 122, 122, 0.15);
content: " ";
height: calc(100% + 7px);
left: 37px;
position: absolute;
top: 1px;
}
}
.changelog__hint {
color: var(--color--75);
font-weight: 200;
margin: 0 1em 2em 1em;
margin: 1em;
}
.changelog__image {
@ -312,14 +384,33 @@ ul {
}
}
.changelog__list-item--version {
margin: 2em 0 0.5em 0;
}
.changelog__scroller {
flex: 100% 0 0;
margin: 1.5em 0 0 0;
max-height: 400px;
overflow-y: auto;
.vscode-dark & {
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.vscode-light & {
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
}
.changelog__title {
flex: 100% 0 0;
text-align: center;
}
.changelog__version {
background-color: var(--link-color--darken-20);
border-bottom: 2px solid var(--link-color--darken-20);
background-color: #914db3;
border-bottom: 2px solid #914db3;
border-radius: 3px;
color: #f2f2f2;
margin: 0 0.25em;
@ -348,7 +439,10 @@ ul {
width: 90%;
}
.cta-container {
.cta__container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-bottom: 3em;
& p {
@ -357,6 +451,14 @@ ul {
}
}
.cta__primary {
margin: 0 1em;
}
.cta__secondary {
margin: 0 1em;
}
.section-list {
font-weight: 200;
list-style: disc;
@ -415,9 +517,8 @@ ul {
.icon__info {
-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>');
-webkit-mask-repeat: no-repeat;
// TODO: Uncomment once vscode v1.21 ships
// 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>');
// mask-repeat: no-repeat;
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>');
mask-repeat: no-repeat;
}
.icon--lg {
@ -557,11 +658,10 @@ ul {
height: 40px;
-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>');
-webkit-mask-repeat: no-repeat;
// TODO: Uncomment once vscode v1.21 ships
// 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>');
// mask-repeat: no-repeat;
// mask-size: 32px 40px;
-webkit-mask-size: 32px 40px;
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>');
mask-repeat: no-repeat;
mask-size: 32px 40px;
position: absolute;
right: 0;
top: 0;

+ 9
- 7
src/ui/settings/index.html Wyświetl plik

@ -670,15 +670,14 @@
</div>
<div class="sidebar-group">
<h2>Show Your Support</h2>
<div class="button-group button-group--donate-sidebar">
<a class="button button--flat-primary" title="Become a patron on Patreon" href="https://www.patreon.com/eamodio" target="_blank">Become a Patron</a>
<a class="button button--flat-primary" title="Donate via PayPal" href="https://www.paypal.me/eamodio" target="_blank">Donate via PayPal</a>
<div class="button-group button-group--support-gitlens-sidebar">
<a class="button button--flat-primary" title="Become a sponsor on Patreon" href="https://www.patreon.com/eamodio" target="_blank">Become a Sponsor</a>
<a class="button button--flat-primary" title="One-time donations via PayPal" href="https://www.paypal.me/eamodio" target="_blank">One-time Donations</a>
</div>
<ul>
<li><a href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens#review-details">Write a Review</a></li>
<li><a href="https://github.com/eamodio/vscode-gitlens">Star or Fork me on GitHub</a></li>
<li><a href="https://twitter.com/eamodio">Follow me on Twitter</a></li>
<li><a href="http://www.amod.io/?utm_source=gitlens">Hire me</a></li>
<li><a title="Write a review" href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens#review-details">Write a Review</a></li>
<li><a title="Star or fork me on GitHub" href="https://github.com/eamodio/vscode-gitlens">Star or Fork me on GitHub</a></li>
<li><a title="Follow me on Twitter" href="https://twitter.com/eamodio">Follow me on Twitter</a></li>
</ul>
</div>
<div class="sidebar-group">
@ -704,6 +703,9 @@
<h2>Resources</h2>
<ul>
<li>
<a href="http://gitlens.amod.io">Website</a>
</li>
<li>
<a href="https://marketplace.visualstudio.com/items/eamodio.gitlens/changelog">Changelog</a>
</li>
<li>

+ 99
- 47
src/ui/welcome/index.html Wyświetl plik

@ -3,7 +3,6 @@
<head>
<meta charset="utf-8">
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src *; style-src 'self'; script-src 'nonce-gitlens'"> -->
</head>
<body class="preload">
@ -28,37 +27,82 @@
</p>
</header>
<div class="cta-container center">
<a class="button button--flat-primary button--big" title="Open GitLens Settings" href="command:gitlens.showSettingsPage">Configure GitLens</a>
<p>Don't miss how easy it is to configure GitLens!</p>
<div class="cta__container center">
<div class="cta__primary">
<a class="button button--flat-primary button--big" title="Open GitLens Settings" href="command:gitlens.showSettingsPage">Configure GitLens</a>
<p>Don't miss how easy it is to configure GitLens!</p>
</div>
<div class="cta__secondary">
<a class="button button--flat button--big" title="Support GitLens" href="#support-gitlens">Support GitLens &#x2764;</a>
</div>
</div>
<section id="whats-new" class="changelog">
<h2 class="changelog__title">What's New in <span class="changelog__version">GitLens 8</span> &#x1F389;&#x1F388;</h2>
<ul class="changelog__list">
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Brand new welcome experience &mdash; you're looking at it
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Brand new interactive <a class="command" title="Open GitLens Settings" href="command:gitlens.showSettingsPage">settings editor</a> &mdash; GitLens is easier than ever to customize to suit your needs
<div class="changelog__details">
<img class="changelog__image" src="{{root}}/images/teaser-settings.png"/>
</div>
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Brand new <a title="Learn more about GitLens" href="http://gitlens.amod.io">website</a> &mdash; check it out!
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Adds a tree layout option to branches in the <i>GitLens</i> explorer &mdash; thanks to Yukai Huang (<a href="https://github.com/Yukaii">@Yukaii</a>)!
</li>
<li><span class="changelog__badge changelog__badge--changed">IMPROVED</span>
Reworked settings &mdash; clearer, simpler settings
</li>
<li><span class="changelog__badge changelog__badge--fixed">FIXED</span>
Previous settings will now be migrated properly &mdash; sorry everyone &#x1F622;
</li>
</ul>
<div class="changelog__scroller">
<ul class="changelog__list">
<li><span class="changelog__badge changelog__badge--version">8.1</span>
<span class="changelog__date">MARCH &nbsp;2018</span>
<div class="changelog__details"></div>
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Adds automatic issue linking to Bitbucket, GitHub, GitLab, and Visual Studio Team Services for commit messages in hovers
<div class="changelog__details">
<img class="changelog__image" src="{{root}}/images/cl-issue-linking.png" alt="Issue linking in commit messages"/>
</div>
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Adds support to toggle annotations for each file individually or for all files at once &mdash; closes <a title="Open Issue #289" href="https://github.com/eamodio/vscode-gitlens/issues/289">#289</a>
<div class="changelog__details">
<img class="changelog__image" src="{{root}}/images/cl-annotations-toggle.png" alt="Annotations toggle"/>
</div>
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Adds icons to remotes in the <i>GitLens</i> explorer based on the remote service provider
<div class="changelog__details"></div>
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Adds multi-cursor support to current line annotations &mdash; closes <a title="Open Issue #291" href="https://github.com/eamodio/vscode-gitlens/issues/291">#291</a>
</li>
<li><span class="changelog__badge changelog__badge--changed">IMPROVED</span>
Renames <i>Compare Selected Ancestor with Working Tree</i> command to <i>Compare Ancestry with Working Tree</i> and removes the need to select a branch first, since all compares are performed with the working tree &mdash; closes <a title="Open Issue #279" href="https://github.com/eamodio/vscode-gitlens/issues/279">#279</a>
<div class="changelog__details"></div>
</li>
<li><span class="changelog__badge changelog__badge--fixed">FIXED</span>
Fixes <a title="Open Issue #294" href="https://github.com/eamodio/vscode-gitlens/issues/294">#294</a> &mdash; Keyboard shortcuts will now default to <i>chorded</i> to avoid conflicts. Only affects new installs or if you remove the <span class="setting-key">gitlens.keymap</span> setting
</li>
<li class="changelog__list-item--version"><span class="changelog__badge changelog__badge--version">8.0</span>
<span class="changelog__date">FEBRUARY &nbsp;2018</span>
<div class="changelog__details"></div>
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Brand new welcome experience &mdash; you're looking at it
<div class="changelog__details"></div>
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Brand new interactive <a class="command" title="Open GitLens Settings" href="command:gitlens.showSettingsPage">settings editor</a> &mdash; GitLens is easier than ever to customize to suit your needs
<div class="changelog__details">
<img class="changelog__image" src="{{root}}/images/cl-settings.png"/>
</div>
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Brand new <a title="Learn more about GitLens" href="http://gitlens.amod.io">website</a> &mdash; check it out!
<div class="changelog__details"></div>
</li>
<li><span class="changelog__badge changelog__badge--added">NEW</span>
Adds a tree layout option to branches in the <i>GitLens</i> explorer &mdash; thanks to Yukai Huang (<a href="https://github.com/Yukaii">@Yukaii</a>)!
<div class="changelog__details"></div>
</li>
<li><span class="changelog__badge changelog__badge--changed">IMPROVED</span>
Reworked settings &mdash; clearer, simpler settings
<div class="changelog__details"></div>
</li>
<li><span class="changelog__badge changelog__badge--fixed">FIXED</span>
Previous settings will now be migrated properly &mdash; sorry everyone &#x1F622;
</li>
</ul>
</div>
<p class="changelog__hint">
See the <a title="Open Release Notes" href="https://github.com/eamodio/vscode-gitlens/blob/master/CHANGELOG.md">release notes</a> for the full set of changes
</p>
@ -76,14 +120,12 @@
<div class="section-groups">
<div class="section-group__content">
<!-- <div class="section-group-section center">
<a class="button button--flat-primary button--big" href="command:gitlens.showSettingsPage">Configure GitLens</a>
</div> -->
<div class="section-group-section">
<p>
<a class="bold" title="Learn more about GitLens" href="http://gitlens.amod.io">GitLens</a> is a free,
<a class="bold" title="Learn more about GitLens" href="http://gitlens.amod.io">GitLens</a> is an
<a class="bold" title="Open GitLens on GitHub" href="https://github.com/eamodio/vscode-gitlens">open-source</a> extension for Visual Studio Code created by
<a class="bold" title="Learn more about Eric" href="http://www.amod.io/?utm_source=gitlens">Eric Amodio</a>.
While GitLens is generously offered to everyone free of charge, if you find it useful please consider <a class="bold" title="Support GitLens" href="#support-gitlens">supporting</a> it.
</p>
<p>
GitLens simply helps you understand code better. Quickly glimpse into whom, why, and when a line or code block was changed.
@ -113,8 +155,17 @@
and edit your <a class="command" title="Open User Settings" href="command:workbench.action.openGlobalSettings">User Settings</a>.
</p>
</div>
<div class="section-group-section">
<h2>Show Your Support &#x2764;</h2>
<div id="support-gitlens" class="section-group-section">
<h2>Support GitLens</h2>
<p>
While GitLens is generously offered to everyone free of charge, if you find it useful please consider supporting it.
</p>
<p>
I've been building GitLens in my spare time<sup><a title="nights and weekends, i.e. trading sleep for time">1</a></sup> for almost 2 years now.
From its very humble beginnings, GitLens has grown wildly beyond my expectations &mdash; in both its reach as well as its demands on my time and attention.
While I enjoy giving my free time and attention to GitLens' development and growth, I would like to do even more.
</p>
<h3>Show Your Support &#x2764;</h3>
<p>
To my incredible backers &mdash; thank you so much for your contributions.
I am truly humbled by your generosity and support.
@ -123,15 +174,14 @@
<p>
If you'd like to join them in supporting GitLens, please consider the following &mdash; feel free to choose more than one. &#x1F609;
</p>
<div class="button-group button-group--donate">
<a class="button button--flat-primary" title="Become a patron on Patreon" href="https://www.patreon.com/eamodio" target="_blank">Become a Patron</a>
<a class="button button--flat-primary" title="Donate via PayPal" href="https://www.paypal.me/eamodio" target="_blank">Donate via PayPal</a>
<div class="button-group button-group--support-gitlens">
<a class="button button--flat-primary" title="Become a sponsor on Patreon" href="https://www.patreon.com/eamodio" target="_blank">Become a Sponsor</a>
<a class="button button--flat-primary" title="One-time donations via PayPal" href="https://www.paypal.me/eamodio" target="_blank">One-time Donations</a>
</div>
<ul class="section-list">
<li><a href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens#review-details">Write a Review</a></li>
<li><a href="https://github.com/eamodio/vscode-gitlens">Star or Fork me on GitHub</a></li>
<li><a href="https://twitter.com/eamodio">Follow me on Twitter</a></li>
<li><a href="http://www.amod.io/?utm_source=gitlens">Hire me</a></li>
<li><a title="Write a review" href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens#review-details">Write a Review</a></li>
<li><a title="Star or fork me on GitHub" href="https://github.com/eamodio/vscode-gitlens">Star or Fork me on GitHub</a></li>
<li><a title="Follow me on Twitter" href="https://twitter.com/eamodio">Follow me on Twitter</a></li>
</ul>
</div>
<div class="section-group-section">
@ -164,15 +214,14 @@
<div class="section-group__sidebar section-group__sidebar--welcome">
<div class="sidebar-group">
<h2>Show Your Support</h2>
<div class="button-group button-group--donate-sidebar">
<a class="button button--flat-primary" title="Become a patron on Patreon" href="https://www.patreon.com/eamodio" target="_blank">Become a Patron</a>
<a class="button button--flat-primary" title="Donate via PayPal" href="https://www.paypal.me/eamodio" target="_blank">Donate via PayPal</a>
<div class="button-group button-group--support-gitlens-sidebar">
<a class="button button--flat-primary" title="Become a sponsor on Patreon" href="https://www.patreon.com/eamodio" target="_blank">Become a Sponsor</a>
<a class="button button--flat-primary" title="One-time donations via PayPal" href="https://www.paypal.me/eamodio" target="_blank">One-time Donations</a>
</div>
<ul>
<li><a href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens#review-details">Write a Review</a></li>
<li><a href="https://github.com/eamodio/vscode-gitlens">Star or Fork me on GitHub</a></li>
<li><a href="https://twitter.com/eamodio">Follow me on Twitter</a></li>
<li><a href="http://www.amod.io/?utm_source=gitlens">Hire me</a></li>
<li><a title="Write a review" href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens#review-details">Write a Review</a></li>
<li><a title="Star or fork me on GitHub" href="https://github.com/eamodio/vscode-gitlens">Star or Fork me on GitHub</a></li>
<li><a title="Follow me on Twitter" href="https://twitter.com/eamodio">Follow me on Twitter</a></li>
</ul>
</div>
<div class="sidebar-group">
@ -198,6 +247,9 @@
<h2>Resources</h2>
<ul>
<li>
<a href="http://gitlens.amod.io">Website</a>
</li>
<li>
<a href="https://marketplace.visualstudio.com/items/eamodio.gitlens/changelog">Changelog</a>
</li>
<li>

Ładowanie…
Anuluj
Zapisz