Remote sketchbook tooltips (#1088)

* rename Cloud Sketchbook in Remote Sketchbook

* add tooltips for Sync and Account buttons
This commit is contained in:
Francesco Spissu
2022-06-21 18:03:39 +02:00
committed by GitHub
parent 4611381a38
commit bd6bc135fd
3 changed files with 7 additions and 3 deletions

View File

@@ -31,8 +31,8 @@ export class CloudSketchbookCompositeWidget extends BaseWidget {
this.compositeNode.appendChild(this.cloudUserStatusNode);
this.node.appendChild(this.compositeNode);
this.title.caption = nls.localize(
'arduino/cloud/cloudSketchbook',
'Cloud Sketchbook'
'arduino/cloud/remoteSketchbook',
'Remote Sketchbook'
);
this.title.iconClass = 'cloud-sketchbook-tree-icon';
this.title.closable = false;

View File

@@ -65,6 +65,7 @@ export class UserStatus extends React.Component<
</div>
<div className="actions item flex-line">
<div
title={nls.localize('arduino/cloud/sync', 'Sync')}
className={`fa fa-reload ${
(this.state.refreshing && 'rotating') || ''
}`}
@@ -74,6 +75,7 @@ export class UserStatus extends React.Component<
</div>
<div className="account item flex-line">
<div
title={nls.localize('arduino/cloud/account', 'Account')}
className="account-icon"
style={{ cursor: 'pointer' }}
onClick={(event) => {