mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
add hover text to icon buttons in sql projects extension (#22453)
This commit is contained in:
@@ -215,6 +215,7 @@ export class NewProjectDialog extends DialogBase {
|
|||||||
|
|
||||||
const browseFolderButton = view.modelBuilder.button().withProps({
|
const browseFolderButton = view.modelBuilder.button().withProps({
|
||||||
ariaLabel: constants.BrowseButtonText,
|
ariaLabel: constants.BrowseButtonText,
|
||||||
|
title: constants.BrowseButtonText,
|
||||||
iconPath: IconPathHelper.folder,
|
iconPath: IconPathHelper.folder,
|
||||||
height: '16px',
|
height: '16px',
|
||||||
width: '18px'
|
width: '18px'
|
||||||
|
|||||||
@@ -163,6 +163,7 @@ export class OpenExistingDialog extends DialogBase {
|
|||||||
|
|
||||||
const localClonePathBrowseFolderButton = view.modelBuilder.button().withProps({
|
const localClonePathBrowseFolderButton = view.modelBuilder.button().withProps({
|
||||||
ariaLabel: constants.BrowseButtonText,
|
ariaLabel: constants.BrowseButtonText,
|
||||||
|
title: constants.BrowseButtonText,
|
||||||
iconPath: IconPathHelper.folder,
|
iconPath: IconPathHelper.folder,
|
||||||
width: '18px',
|
width: '18px',
|
||||||
height: '16px',
|
height: '16px',
|
||||||
@@ -203,6 +204,7 @@ export class OpenExistingDialog extends DialogBase {
|
|||||||
|
|
||||||
const localProjectBrowseFolderButton = view.modelBuilder.button().withProps({
|
const localProjectBrowseFolderButton = view.modelBuilder.button().withProps({
|
||||||
ariaLabel: constants.BrowseButtonText,
|
ariaLabel: constants.BrowseButtonText,
|
||||||
|
title: constants.BrowseButtonText,
|
||||||
iconPath: IconPathHelper.folder,
|
iconPath: IconPathHelper.folder,
|
||||||
width: '18px',
|
width: '18px',
|
||||||
height: '16px'
|
height: '16px'
|
||||||
|
|||||||
@@ -239,6 +239,7 @@ export class CreateProjectFromDatabaseDialog {
|
|||||||
private createSelectConnectionButton(view: azdataType.ModelView): azdataType.Component {
|
private createSelectConnectionButton(view: azdataType.ModelView): azdataType.Component {
|
||||||
this.selectConnectionButton = view.modelBuilder.button().withProps({
|
this.selectConnectionButton = view.modelBuilder.button().withProps({
|
||||||
ariaLabel: constants.selectConnection,
|
ariaLabel: constants.selectConnection,
|
||||||
|
title: constants.selectConnection,
|
||||||
iconPath: IconPathHelper.selectConnection,
|
iconPath: IconPathHelper.selectConnection,
|
||||||
height: '16px',
|
height: '16px',
|
||||||
width: '16px'
|
width: '16px'
|
||||||
@@ -354,6 +355,7 @@ export class CreateProjectFromDatabaseDialog {
|
|||||||
private createBrowseFolderButton(view: azdataType.ModelView): azdataType.ButtonComponent {
|
private createBrowseFolderButton(view: azdataType.ModelView): azdataType.ButtonComponent {
|
||||||
const browseFolderButton = view.modelBuilder.button().withProps({
|
const browseFolderButton = view.modelBuilder.button().withProps({
|
||||||
ariaLabel: constants.browseButtonText,
|
ariaLabel: constants.browseButtonText,
|
||||||
|
title: constants.browseButtonText,
|
||||||
iconPath: IconPathHelper.folder_blue,
|
iconPath: IconPathHelper.folder_blue,
|
||||||
height: '18px',
|
height: '18px',
|
||||||
width: '18px'
|
width: '18px'
|
||||||
|
|||||||
@@ -807,6 +807,7 @@ export class PublishDatabaseDialog {
|
|||||||
private createSelectConnectionButton(view: azdataType.ModelView): azdataType.Component {
|
private createSelectConnectionButton(view: azdataType.ModelView): azdataType.Component {
|
||||||
this.selectConnectionButton = view.modelBuilder.button().withProps({
|
this.selectConnectionButton = view.modelBuilder.button().withProps({
|
||||||
ariaLabel: constants.selectConnection,
|
ariaLabel: constants.selectConnection,
|
||||||
|
title: constants.selectConnection,
|
||||||
iconPath: IconPathHelper.selectConnection,
|
iconPath: IconPathHelper.selectConnection,
|
||||||
height: '16px',
|
height: '16px',
|
||||||
width: '16px'
|
width: '16px'
|
||||||
@@ -849,6 +850,7 @@ export class PublishDatabaseDialog {
|
|||||||
private createLoadProfileButton(view: azdataType.ModelView): azdataType.ButtonComponent {
|
private createLoadProfileButton(view: azdataType.ModelView): azdataType.ButtonComponent {
|
||||||
let loadProfileButton: azdataType.ButtonComponent = view.modelBuilder.button().withProps({
|
let loadProfileButton: azdataType.ButtonComponent = view.modelBuilder.button().withProps({
|
||||||
ariaLabel: constants.loadProfilePlaceholderText,
|
ariaLabel: constants.loadProfilePlaceholderText,
|
||||||
|
title: constants.loadProfilePlaceholderText,
|
||||||
iconPath: IconPathHelper.folder_blue,
|
iconPath: IconPathHelper.folder_blue,
|
||||||
height: '18px',
|
height: '18px',
|
||||||
width: '18px'
|
width: '18px'
|
||||||
|
|||||||
@@ -352,6 +352,7 @@ export class UpdateProjectFromDatabaseDialog {
|
|||||||
private createConnectionButton(view: azdata.ModelView) {
|
private createConnectionButton(view: azdata.ModelView) {
|
||||||
this.connectionButton = view.modelBuilder.button().withProps({
|
this.connectionButton = view.modelBuilder.button().withProps({
|
||||||
ariaLabel: constants.selectConnection,
|
ariaLabel: constants.selectConnection,
|
||||||
|
title: constants.selectConnection,
|
||||||
iconPath: IconPathHelper.selectConnection,
|
iconPath: IconPathHelper.selectConnection,
|
||||||
height: '20px',
|
height: '20px',
|
||||||
width: '20px'
|
width: '20px'
|
||||||
@@ -412,6 +413,7 @@ export class UpdateProjectFromDatabaseDialog {
|
|||||||
private createBrowseFileButton(view: azdata.ModelView): azdata.ButtonComponent {
|
private createBrowseFileButton(view: azdata.ModelView): azdata.ButtonComponent {
|
||||||
const browseFolderButton = view.modelBuilder.button().withProps({
|
const browseFolderButton = view.modelBuilder.button().withProps({
|
||||||
ariaLabel: constants.browseButtonText,
|
ariaLabel: constants.browseButtonText,
|
||||||
|
title: constants.browseButtonText,
|
||||||
iconPath: IconPathHelper.folder_blue,
|
iconPath: IconPathHelper.folder_blue,
|
||||||
height: '18px',
|
height: '18px',
|
||||||
width: '18px'
|
width: '18px'
|
||||||
|
|||||||
Reference in New Issue
Block a user