onboarding: Link git clone button with action (#35999)
Release Notes: - N/A
This commit is contained in:
parent
dc87f4b32e
commit
96093aa465
5 changed files with 5 additions and 8 deletions
|
@ -26,6 +26,7 @@ editor.workspace = true
|
|||
feature_flags.workspace = true
|
||||
fs.workspace = true
|
||||
fuzzy.workspace = true
|
||||
git.workspace = true
|
||||
gpui.workspace = true
|
||||
itertools.workspace = true
|
||||
language.workspace = true
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use gpui::{
|
||||
Action, App, Context, Entity, EventEmitter, FocusHandle, Focusable, InteractiveElement,
|
||||
NoAction, ParentElement, Render, Styled, Window, actions,
|
||||
ParentElement, Render, Styled, Window, actions,
|
||||
};
|
||||
use menu::{SelectNext, SelectPrevious};
|
||||
use ui::{ButtonLike, Divider, DividerColor, KeyBinding, Vector, VectorName, prelude::*};
|
||||
|
@ -38,8 +38,7 @@ const CONTENT: (Section<4>, Section<3>) = (
|
|||
SectionEntry {
|
||||
icon: IconName::CloudDownload,
|
||||
title: "Clone a Repo",
|
||||
// TODO: use proper action
|
||||
action: &NoAction,
|
||||
action: &git::Clone,
|
||||
},
|
||||
SectionEntry {
|
||||
icon: IconName::ListCollapse,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue