WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit f8cab23

Browse files
committed
Revamps welcome UI with new feature cards and visuals
Enhances the welcome experience by updating feature card titles and descriptions for clarity and engagement, introducing Launchpad as a highlighted feature, and adding new SVG and icon assets for a more polished and informative look. Improves visual consistency and modernizes the feature showcase, making key tools like Commit Graph, Visual File History, Git Blame, and Launchpad more discoverable and appealing to users. (#4769, #4773, PLG-138)
1 parent 5e5252a commit f8cab23

File tree

6 files changed

+127
-78
lines changed

6 files changed

+127
-78
lines changed

src/webviews/apps/media/feature-graph.svg

Lines changed: 54 additions & 9 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 9 additions & 0 deletions
Loading
Lines changed: 29 additions & 0 deletions
Loading

src/webviews/apps/welcome/components/feature-narrow-card.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class GlFeatureNarrowCard extends LitElement {
2525
.image ::slotted(img) {
2626
max-height: 2.23em;
2727
border-radius: 0.6em;
28+
/* background: rgba(255, 255, 255, 0.04);*/
2829
}
2930
3031
::slotted(p:last-child) {

src/webviews/apps/welcome/welcome.ts

Lines changed: 30 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ import './components/feature-card';
1717
import './components/feature-narrow-card';
1818
import './components/scrollable-features';
1919

20+
const helpBlameUrl =
21+
'https://www.gitkraken.com/gitlens?utm_source=gitlens-extension&utm_medium=in-app-links#Visual-Repository-Intelligence';
22+
const helpLaunchpadUrl =
23+
'https://www.gitkraken.com/gitlens?utm_source=gitlens-extension&utm_medium=in-app-links#Visual-Repository-Intelligence';
24+
2025
@customElement('gl-welcome-app')
2126
export class GlWelcomeApp extends GlAppHost<State> {
2227
static override styles = [scrollableBase, welcomeStyles];
@@ -65,8 +70,8 @@ export class GlWelcomeApp extends GlAppHost<State> {
6570
<gl-feature-carousel>
6671
<gl-feature-card class="card">
6772
<img slot="image" src="${this.webroot ?? ''}/media/feature-graph.webp" alt="Commit Graph" />
68-
<h1>Commit Graph</h1>
69-
<p>Visualize your repository's history and interact with commits</p>
73+
<h1>Navigate Complex Repository Structures</h1>
74+
<p>by unlocking the full potential of the interactive Commit Graph.</p>
7075
<p><a href="command:gitlens.showGraph">Open Commit Graph</a></p>
7176
</gl-feature-card>
7277
<gl-feature-card class="card">
@@ -75,10 +80,20 @@ export class GlWelcomeApp extends GlAppHost<State> {
7580
src="${this.webroot ?? ''}/media/feature-timeline.webp"
7681
alt="Visual File History"
7782
/>
78-
<h1>Visual File History</h1>
79-
<p>Track changes to any file over time</p>
83+
<h1>Accelereate Code Reviews</h1>
84+
<p>Visual File History provides context into the most important changes.</p>
8085
<p><a href="command:gitlens.showTimelineView">Open Visual File History</a></p>
8186
</gl-feature-card>
87+
<gl-feature-card class="card">
88+
<img
89+
slot="image"
90+
src="${this.webroot ?? ''}/media/feature-launchpad.webp"
91+
alt="Launchpad"
92+
/>
93+
<h1>Streamline Pull Request Management</h1>
94+
<p>Launchpad integrates PR workflows directly into your editor.</p>
95+
<p><a href="command:gitlens.showLaunchpad">Open Launchpad</a></p>
96+
</gl-feature-card>
8297
</gl-feature-carousel>
8398
</div>
8499
@@ -95,74 +110,20 @@ export class GlWelcomeApp extends GlAppHost<State> {
95110
<gl-feature-narrow-card class="card">
96111
<img
97112
slot="image"
98-
src="${this.webroot ?? ''}/media/feature-graph.webp"
99-
alt="Commit Graph"
100-
width="100"
101-
height="100"
113+
src="${this.webroot ?? ''}/media/feature-icon-compass.webp"
114+
alt="Git Blame"
102115
/>
103-
<h1>Commit Graph</h1>
104-
<p>Visualize your repository's history and interact with commits</p>
105-
<p><a href="command:gitlens.showGraph">Open Commit Graph</a></p>
106-
</gl-feature-narrow-card>
107-
<gl-feature-narrow-card class="card">
108-
<img
109-
slot="image"
110-
src="${this.webroot ?? ''}/media/feature-timeline.webp"
111-
alt="Visual File History"
112-
width="32"
113-
height="32"
114-
/>
115-
<h1>Visual File History</h1>
116-
<p>Track changes to any file over time</p>
117-
<p><a href="command:gitlens.showTimelineView">Open Visual File History</a></p>
118-
</gl-feature-narrow-card>
119-
<gl-feature-narrow-card class="card">
120-
<img
121-
slot="image"
122-
src="${this.webroot ?? ''}/media/feature-graph.webp"
123-
alt="Commit Graph"
124-
width="100"
125-
height="100"
126-
/>
127-
<h1>Commit Graph</h1>
128-
<p>Visualize your repository's history and interact with commits</p>
129-
<p><a href="command:gitlens.showGraph">Open Commit Graph</a></p>
116+
<h1>Git Blame</h1>
117+
<p>Understand the context behind every line with inline blame annotations</p>
118+
<p>
119+
<a href="${helpBlameUrl}">Learn more</a>
120+
</p>
130121
</gl-feature-narrow-card>
131122
<gl-feature-narrow-card class="card">
132-
<img
133-
slot="image"
134-
src="${this.webroot ?? ''}/media/feature-timeline.webp"
135-
alt="Visual File History"
136-
width="32"
137-
height="32"
138-
/>
139-
<h1>Visual File History</h1>
140-
<p>Track changes to any file over time</p>
141-
<p><a href="command:gitlens.showTimelineView">Open Visual File History</a></p>
142-
</gl-feature-narrow-card>
143-
<gl-feature-narrow-card class="card">
144-
<img
145-
slot="image"
146-
src="${this.webroot ?? ''}/media/feature-graph.webp"
147-
alt="Commit Graph"
148-
width="100"
149-
height="100"
150-
/>
151-
<h1>Commit Graph</h1>
152-
<p>Visualize your repository's history and interact with commits</p>
153-
<p><a href="command:gitlens.showGraph">Open Commit Graph</a></p>
154-
</gl-feature-narrow-card>
155-
<gl-feature-narrow-card class="card">
156-
<img
157-
slot="image"
158-
src="${this.webroot ?? ''}/media/feature-timeline.webp"
159-
alt="Visual File History"
160-
width="32"
161-
height="32"
162-
/>
163-
<h1>Visual File History</h1>
164-
<p>Track changes to any file over time</p>
165-
<p><a href="command:gitlens.showTimelineView">Open Visual File History</a></p>
123+
<img slot="image" src="${this.webroot ?? ''}//media/feature-icon-pr.webp" alt="Launchpad" />
124+
<h1>Launchpad</h1>
125+
<p>Your personalized command center for managing pull requests and issues</p>
126+
<p><a href="${helpLaunchpadUrl}">Learn more</a></p>
166127
</gl-feature-narrow-card>
167128
</gl-scrollable-features>
168129
</div>

0 commit comments

Comments
 (0)