From a5602bcd1dbcb85057db98701f8cfabce209b130 Mon Sep 17 00:00:00 2001
From: Keith Daulton
Date: Mon, 12 Jun 2023 11:33:39 -0400
Subject: [PATCH] Adds focus and workspaces svgs
---
package.json | 3 +-
src/webviews/apps/welcome/components/svg-focus.ts | 146 +++++------
.../apps/welcome/components/svg-workspaces.ts | 187 ++++++++++++++
src/webviews/apps/welcome/welcome.html | 2 +
src/webviews/apps/welcome/welcome.ts | 1 +
walkthroughs/welcome/workspaces-focus.svg | 270 +++++++++++++++++++++
6 files changed, 536 insertions(+), 73 deletions(-)
create mode 100644 src/webviews/apps/welcome/components/svg-workspaces.ts
create mode 100644 walkthroughs/welcome/workspaces-focus.svg
diff --git a/package.json b/package.json
index e22597e..135067f 100644
--- a/package.json
+++ b/package.json
@@ -14399,7 +14399,8 @@
"title": "Workspaces and Focus ☁️",
"description": "Workspaces allow you to easily group and manage multiple repositories all in one place, streamlining your workflow.\n\n[Open Workspaces](command:gitlens.showWorkspacesView)\n\nFocus view helps you concentrate on what really matters by gathering all your GitHub pull requests and issues into one comprehensive list.\n\n[Open Focus](command:gitlens.showFocusPage)",
"media": {
- "markdown": "walkthroughs/welcome/workspaces-and-focus.md"
+ "altText": "Illustrations of Focus and Workspaces view",
+ "svg": "walkthroughs/welcome/workspaces-focus.svg"
}
},
{
diff --git a/src/webviews/apps/welcome/components/svg-focus.ts b/src/webviews/apps/welcome/components/svg-focus.ts
index ca65485..7cdf412 100644
--- a/src/webviews/apps/welcome/components/svg-focus.ts
+++ b/src/webviews/apps/welcome/components/svg-focus.ts
@@ -31,78 +31,73 @@ export class BlameSvg extends LitElement {
-
-
+
+
+ 1wkadds stylelint#2453
-
+
- 0
- +1735
+ +1735-748
-
-
+
-
-
+
+
+ 1wkWorkspaces side bar view#2650
-
+
- 5
- +3,556
+ +3,556-136
-
-
+
-
-
+
+
- 3wk
+
+ 3wkAdds experimental.OpenAIModel#2637
-
+
- 6
- +79
+ +79-12
-
-
+
-
-
+
+
- 2mo
+ 2moadds focus view#2516
-
+
- 14
- +3,327
+ +3,327-28
-
-
+
-
+ My Issues
-
+ AllOpened by meAssigned to me
@@ -110,69 +105,76 @@ export class BlameSvg extends LitElement {
-
-
+
+
- 2mo
+ 2moLabs: add AI explain panel to Commit Details#2628
-
+
- 2
- 0
-
-
-
-
-
-
-
- 1mo
- Experiment with putting the Commit Graph in the sidebar or panel
- #2602
-
-
-
- 2
- 2
-
+
`;
diff --git a/src/webviews/apps/welcome/components/svg-workspaces.ts b/src/webviews/apps/welcome/components/svg-workspaces.ts
new file mode 100644
index 0000000..ed7429a
--- /dev/null
+++ b/src/webviews/apps/welcome/components/svg-workspaces.ts
@@ -0,0 +1,187 @@
+import { css, html, LitElement } from 'lit';
+import { customElement } from 'lit/decorators.js';
+import { icons, svgBase } from './svg.css';
+
+@customElement('gk-workspaces-svg')
+export class BlameSvg extends LitElement {
+ static override styles = [
+ svgBase,
+ icons,
+ css`
+ :host {
+ }
+ `,
+ ];
+
+ override render() {
+ return html`
+
+
+
+ `;
+ }
+}
diff --git a/src/webviews/apps/welcome/welcome.html b/src/webviews/apps/welcome/welcome.html
index f5f25e9..8cf4fab 100644
--- a/src/webviews/apps/welcome/welcome.html
+++ b/src/webviews/apps/welcome/welcome.html
@@ -242,6 +242,8 @@
GitLens) them with your team for faster onboarding and better collaboration.
+
+
The Focus view helps you concentrate on what really matters by gathering all your GitHub pull
requests and issues into one comprehensive list. Helps you focus on what's important by providing
diff --git a/src/webviews/apps/welcome/welcome.ts b/src/webviews/apps/welcome/welcome.ts
index a332d28..deb33cd 100644
--- a/src/webviews/apps/welcome/welcome.ts
+++ b/src/webviews/apps/welcome/welcome.ts
@@ -20,6 +20,7 @@ import './components/svg-focus';
import './components/svg-graph';
import './components/svg-revision-navigation';
import './components/svg-timeline';
+import './components/svg-workspaces';
import './components/video-button';
export class WelcomeApp extends App {
diff --git a/walkthroughs/welcome/workspaces-focus.svg b/walkthroughs/welcome/workspaces-focus.svg
new file mode 100644
index 0000000..14e89f5
--- /dev/null
+++ b/walkthroughs/welcome/workspaces-focus.svg
@@ -0,0 +1,270 @@
+