Skip to content

Commit

Permalink
[UI] Reload button text & tooltip (#148)
Browse files Browse the repository at this point in the history
* [UI] Reload button text & tooltip

* "version": "0.0.39"

* Update Header.vue <v-tooltip bottom>
  • Loading branch information
tomer-epstein authored Feb 16, 2020
1 parent 4506d42 commit 2a0e550
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache 2.0",
"description": "Provide rich user experience for Yeoman generators using VSCode extension or the browser",
"repository": "https://github.com/SAP/yeoman-ui",
"version": "0.0.38",
"version": "0.0.39",
"engines": {
"vscode": "^1.39.2"
},
Expand Down
20 changes: 15 additions & 5 deletions frontend/src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,22 @@
<v-app-bar class="elevation-0">
<v-toolbar-title>{{headerTitle}}</v-toolbar-title>
<v-spacer></v-spacer>
<v-btn v-if="!isInVsCode" @click="collapseOutput" icon>
<v-icon>mdi-console</v-icon>
</v-btn>
<v-btn @click="reload" icon>
<v-icon>mdi-reload</v-icon>
<v-btn v-if="!isInVsCode" class="ma-2" @click="collapseOutput" icon>
<v-card-text>
<v-icon left>mdi-console</v-icon>
</v-card-text>
</v-btn>
<v-tooltip bottom>
<template v-slot:activator="{ on }">
<v-btn class="ma-2" @click="reload" icon v-on="on">
<v-card-text>
<v-icon left>mdi-reload</v-icon>
Start Over
</v-card-text>
</v-btn>
</template>
<span>Starting over will clear all the values you have entered and start the process from scratch</span>
</v-tooltip>
</v-app-bar>
</div>
</template>
Expand Down

0 comments on commit 2a0e550

Please sign in to comment.